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