Global.asax is located where?

  • Thread starter Thread starter somoza.albert
  • Start date Start date
S

somoza.albert

Hello,

I have a Web App written in C#. I was told that I could use
global.asax to add some functionality to the Session and Application
event handlers. I can't seem to find this global.asax file in my
solution explorer. Where is it located?

Thanks
Sam
Q2
 
Hello.

The global.asax is located at the web site's root directory level (in
the same repository as the web.config).

However, this file is not present by default if I remember correctly.
You have to add it explicitely into your solution
Click right button on your solution, from your VS2005 solution
explorer, then click on add new element.
You may find the file global.asax to add.

HTH
Jordan
 
Hello.

The global.asax is located at the web site's root directory level (in
the same repository as the web.config).

However, this file is not present by default if I remember correctly.
You have to add it explicitely into your solution
Click right button on your solution, from your VS2005 solution
explorer, then click on add new element.
You may find the file global.asax to add.

HTH
Jordan

That's it Jordan, thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top