From Visual Studio.net 2003 to 2010

I shall start the journey by using Visual Studio.net 2003 before looking at migrating to VS.net 2005, Vs.net 2008 and Vs.net 2010.

My environment is Windows Professional XP installed on a XP Virtual Machine on a Dell Inspiron 14R powered by Windows 7-64 bits.

Microsoft SQL Express 2008/R2 serves as the database server

Thursday, February 9, 2012

What happens when you create a new project in VS.net

Have you ever wondered what happens behind the scene when you click the New Project Button in Vs.net ? Let's try it out...

1. Click New Project
2. Select Visual C# Project
3. Select ASP.net Web Application
4. Name Web Application as MyWebApplication
5. Click OK and the MyWebApplication will be created at
http://localhost/MyWebApplication

Automatically, a new folder will be created at c:\inetpub\wwwroot\MyWebApplication and the following files are automatically created :-

a) global.asax - ASAX file
b) global.resx - RESX file
c) global.asax.cs  - C# source file
d) MyWebApplication.csproj - C# web project
e) MyWebApplication.csproj.webinfo
f) web.config  - Web Configuration file
g) webform1.aspx - ASP.net server page
h) webform1.aspx.resx  - RESX file
i) webform1.aspx.cs - C# source file
j) assemblyinfo.cs
k) bin folder (empty)

Also automatically created is MyWebApplication Solution object at C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\MyWebApplication .sln

On Building MyWebApplication Solution, 2 new files (MyWebApplication.dll and MyWebApplication.pdb) were created in
c:\inetpub\wwwroot\MyWebApplication\bin

No comments:

Post a Comment