|
-
Apr 21st, 2005, 04:05 AM
#1
Thread Starter
Fanatic Member
Changes to Global.asax.vb
I have developed a VB.NET/ASP.NET application and am using the Global.asax.vb file to store some constants which are written to Application variables in the Application_Start event.
In development mode, I can make changes to the values of the constants, and when I build and run the application, these changes take effect as expected.
However, when I access my ASP application by simply navigating to my LocalHost (outside of the Visual Studio environment), any changes I make to the Global.asax.vb file are ignored.
Why is this?
Last edited by simonm; Apr 21st, 2005 at 06:14 AM.
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Apr 21st, 2005, 04:38 AM
#2
Re: Changes to Global.asax.vb
Any changes you make to any of the .vb files in the app will be ignored unless you Ctrl+Shift+B
-
Apr 21st, 2005, 04:49 AM
#3
Thread Starter
Fanatic Member
Re: Changes to Global.asax.vb
Where abouts do I hit ctrl+shift+B? What does it do?
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Apr 21st, 2005, 04:52 AM
#4
Re: Changes to Global.asax.vb
I meant "Build Solution." Every time you change something in the .vb files, build the solution again so that it gets compiled into your DLL. Ctrl+Shift+B is a keyboard shortcut many of us use to build the solution.
-
Apr 21st, 2005, 04:54 AM
#5
Thread Starter
Fanatic Member
Re: Changes to Global.asax.vb
So the .vb files are not necessary to be deployed on the web server? It just uses the compiled DLL?
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Apr 21st, 2005, 05:11 AM
#6
Re: Changes to Global.asax.vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|