且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将Web.config从.NET 2.0转换为3.5

更新时间:2023-02-11 11:45:03

有一个很好的描述3.5 web.config可用这里:
http: //www.4guysfromrolla.com/articles/121207-1.aspx

There is a good description of the 3.5 web.config available here: http://www.4guysfromrolla.com/articles/121207-1.aspx

程序集和配置节很重要,因为它们告诉运行时使用新的3.5 dlls而不是2.0 dlls

The assemblies and config sections are important because they tell the runtime to use the new 3.5 dlls instead of the 2.0 dlls

编码的部分告诉编译器使用3.5。

The codedom section tells the compiler to use 3.5.

如果你不使用ASP.Net Ajax,你可以跳过其余的。我从来没有测试过。

If you're not using ASP.Net Ajax you can probably skip the rest. I've never tested that though.