一、VS2008中可以创建两种方式的website
Projectless Website
Web Projects
二、Projectless Website其实也是创建了项目文件 (.sln and .suo)
C:\Documents and Settings\[UserName]\My Documents\Visual Studio 2008\Projects\[WebSiteFolderName]
suo保存了断点信息已经IDE中打开的文档视图信息
三、可以另存为指定位置
选择项目,然后 File ➤ Save [SolutionName]As.
这对于 Projectless Website 和 类库一起工作的项目很有用
四、Projectless Website新开始有三个文件:
the main web page (Default.aspx), its source code (Default.aspx.cs), and the web.config configuration file.
和VS2005不同,自动创建了配置文件
五、VS2008支持多版本 .NET 2.0, .NET 3.0, or .NET 3.5,他们都是基于ASP.NET 2.0 engine (and version 2.0 of the CLR).只是功能上增加了很多功能。
六、可以配置IIS不通的虚拟目录运行在不同的版本下,但是最好使用3.5,因为3.5中修改了许多bug,提高了性能等等。
七可以随时改变website的.net版本号
1. Choose Website ➤ Start Options.
2. In the list on the left, choose the Build category.
3. In the Target Framework list, choose the version of .NET you want to target.
VS2008会自动修改配置文件,2.0和3.0几乎是空文档,但3.5中增加了很多针对Ajax and C# 3.5的配置信息。
Projectless Website
Web Projects
二、Projectless Website其实也是创建了项目文件 (.sln and .suo)
C:\Documents and Settings\[UserName]\My Documents\Visual Studio 2008\Projects\[WebSiteFolderName]
suo保存了断点信息已经IDE中打开的文档视图信息
三、可以另存为指定位置
选择项目,然后 File ➤ Save [SolutionName]As.
这对于 Projectless Website 和 类库一起工作的项目很有用
四、Projectless Website新开始有三个文件:
the main web page (Default.aspx), its source code (Default.aspx.cs), and the web.config configuration file.
和VS2005不同,自动创建了配置文件
五、VS2008支持多版本 .NET 2.0, .NET 3.0, or .NET 3.5,他们都是基于ASP.NET 2.0 engine (and version 2.0 of the CLR).只是功能上增加了很多功能。
六、可以配置IIS不通的虚拟目录运行在不同的版本下,但是最好使用3.5,因为3.5中修改了许多bug,提高了性能等等。
七可以随时改变website的.net版本号
1. Choose Website ➤ Start Options.
2. In the list on the left, choose the Build category.
3. In the Target Framework list, choose the version of .NET you want to target.
VS2008会自动修改配置文件,2.0和3.0几乎是空文档,但3.5中增加了很多针对Ajax and C# 3.5的配置信息。
浙公网安备 33010602011771号