1 Asp.net创建时,默认文件的作用:
(1) AssemblyInfo.cs 项目创建时,应用程序的基本信息;
(2) Web.config 利用xml文件,对应用程序的配置;
(3) Global.asax 应用程序集和会话集的事件;
(4) WebForm1.aspx 用户界面的操作;
2 Asp.Net的页面文件和代码是分离的:页面文件为.aspx 对应的源代码文件为:.aspx.cs(代码分离有利于代码的重用和维护)
3 Asp.net中设置文件首页:选中文件点右键——设为起始页;
4 asp.net下做web 重新编译后的 .dll文件和.pdb文件:
.dll文件时编译后生成的,就是把类用个铁盒子锁起来(封装性)。
.pdb文件时用来调试,打断点的。 这个发布前一定要删除。
1 开始——所有程序——Microsoft Visual Studio 2005——Microsoft Visual Studio 2005——文件——新建——新建网站——ASP.NET网站(语言选择Visual C#)