ASP.NET2.0配置,详解如下:
1.ASP.NET IIS映射(IIS->默认网站->属性->主文档->配置->映射->添加):
扩展名.do ----> C:"WINDOWS"Microsoft.NET"Framework"v2.0.50727"aspnet_isapi.dll
限于:GET,HEAD,POST,DEBUG
2.修改web.config
- <configuration>
- <system.web>
- <httpHandlers>
- <add path="*.do" verb="*" type="System.Web.UI.PageHandlerFactory" />
- httpHandlers>
- <compilation>
- <buildProviders>
- <add extension=".do" type="System.Web.Compilation.PageBuildProvider" />
- buildProviders>
- compilation>
- system.web>
- <configuration>
欢迎光临我的小店:http://shop36465575.taobao.com/