Results 1 to 5 of 5

Thread: [RESOLVED] Global.asax VS 2005

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,794

    Resolved [RESOLVED] Global.asax VS 2005

    I now have have VS 2002 and VS 2005 becasue after I installed VS 2005, and made a web-application, I did not see the Global.asax, and did not know where to put the database initialization... and session inisialization.
    So I'm still using VS2002 for web-applications because of that.

    Where is Global.asax in VS 2005 ??

  2. #2
    Fanatic Member space_monkey's Avatar
    Join Date
    Apr 2005
    Location
    神と歩くこと
    Posts
    573

    Re: Global.asax VS 2005

    You might have to add your own. I know i had to do that with the css file as well. If you go to add new item it has the global asax listed as a page you can add.
    Using VB6 or VB.net 2008 with .net 3.5
    "Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad

  3. #3
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: Global.asax VS 2005

    Right click on your project, and select add new item, and then select Global Application File I believe it is called.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,794

    Re: Global.asax VS 2005

    Quote Originally Posted by SeanGrebey
    Right click on your project, and select add new item, and then select Global Application File I believe it is called.
    Thanks, that solved it...

    I don't understand why it is not there by default...
    I mean, what web-application does NOT need it ??? it totally does not make any sence to remove it from the project...

    Anyways... problem solved...

  5. #5
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: Global.asax VS 2005

    Quote Originally Posted by CVMichael
    Thanks, that solved it...

    I don't understand why it is not there by default...
    I mean, what web-application does NOT need it ??? it totally does not make any sence to remove it from the project...

    Anyways... problem solved...
    I Think in ASP.NET 2005 they've added alot more functionality, so they've kind of left it up to the developer on which parts to use.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width