I installed VS05 RC , created a new Web Site , but I do not see Global.asax
, and I do not see Global.asax.cs in the App_Code dir ...... 4 7601
A global.asax is not created by default.
Select "File", "New", "File", and select "Global Application Class"
from the templates.
Or, right-click the website's name in the Solution Explorer and select
"Add new item" and select "Global Application Class" from the templates.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:eL**************@TK2MSFTNGP14.phx.gbl... I installed VS05 RC , created a new Web Site , but I do not see Global.asax , and I do not see Global.asax.cs in the App_Code dir ......
Ok. I was able to do that. But apparently Global.asax.cs no longer exists
.... the various methods ( Application_Start , etc. ) instead show inline in
Global.asax ...
Why did they do this ?
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl... A global.asax is not created by default.
Select "File", "New", "File", and select "Global Application Class" from the templates.
Or, right-click the website's name in the Solution Explorer and select "Add new item" and select "Global Application Class" from the templates. Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ Foros de ASP.NET en Español : http://asp.net.do/foros/ ====================================== "John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message news:eL**************@TK2MSFTNGP14.phx.gbl...I installed VS05 RC , created a new Web Site , but I do not see Global.asax , and I do not see Global.asax.cs in the App_Code dir ......
I guess they figure that, since global.asax doesn't have a UI,
writing the code inline in global.asax saves the extra step involved
in writing code into a codebehind file.
The purpose of codebehind is to separate code from UI.
Since global.asax has no UI, it doesn't need to have codebehind.
You can do anything you want inline in global.asax
that you could do in previous incarnations of codebehind global.asax.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:O%****************@TK2MSFTNGP10.phx.gbl... Ok. I was able to do that. But apparently Global.asax.cs no longer exists ... the various methods ( Application_Start , etc. ) instead show inline in Global.asax ...
Why did they do this ?
"Juan T. Llibre" <no***********@nowhere.com> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl...A global.asax is not created by default.
Select "File", "New", "File", and select "Global Application Class" from the templates.
Or, right-click the website's name in the Solution Explorer and select "Add new item" and select "Global Application Class" from the templates. Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ Foros de ASP.NET en Español : http://asp.net.do/foros/ ====================================== "John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message news:eL**************@TK2MSFTNGP14.phx.gbl...I installed VS05 RC , created a new Web Site , but I do not see Global.asax , and I do not see Global.asax.cs in the App_Code dir ......
because asp.net compiles all the source code now, not VS, so the extra file
is not required.
-- bruce (sqlwork.com)
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:O%****************@TK2MSFTNGP10.phx.gbl... Ok. I was able to do that. But apparently Global.asax.cs no longer exists ... the various methods ( Application_Start , etc. ) instead show inline in Global.asax ...
Why did they do this ?
"Juan T. Llibre" <no***********@nowhere.com> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl...A global.asax is not created by default.
Select "File", "New", "File", and select "Global Application Class" from the templates.
Or, right-click the website's name in the Solution Explorer and select "Add new item" and select "Global Application Class" from the templates. Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ Foros de ASP.NET en Español : http://asp.net.do/foros/ ====================================== "John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message news:eL**************@TK2MSFTNGP14.phx.gbl...I installed VS05 RC , created a new Web Site , but I do not see Global.asax , and I do not see Global.asax.cs in the App_Code dir ......
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mike Owen |
last post by:
Hi,
I have just used the import Wizard to import a VS 2003 app to VS 2005.
I have a lot of work to do to enable it to compile successfully with all the
errors and warnings it gave me, but as a...
|
by: Chris |
last post by:
Hi,
When creating an ASP.NET project in VisualStudio 2005 : where have
web.config, global.asax, ... gone ?
as well the declaration of the datamembers in the WebForm1-class ?
where is the...
|
by: Blasting Cap |
last post by:
I had a copy of a project that was working in Visual Studio 2003 and
Framework 1.1.
After a computer crash, I was given VS 2005 and am having more than a
little difficulty getting things to open...
|
by: Nathan Sokalski |
last post by:
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005.
Visual Studio .NET 2005 does not create the Global.asax files that Visual
Studio .NET 2003 did, which I used for...
|
by: Mark Rae |
last post by:
http://msdn.microsoft.com:80/vstudio/support/vs2005sp1/default.aspx
1) This is big - nearly 500Mb
2) If you have WAP installed, you must uninstall it first - WDP doesn't need
to be uninstalled...
|
by: Al Santino |
last post by:
Hello,
I've created a simple C# web services project using Visual Studio 2005. My
service compiles and runs correctly when called by remote clients.
I'm able to step through the service in the...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |