Asp Dot Net Notes for Web Masters RSS 2.0

# Saturday, November 28, 2009
Here is the code needed to run HTML pages with asp.net. Add it to the Web.Config.

The code comes from this post:
http://forums.iis.net/p/1158398/1907100.aspx


<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <handlers> <add name="ASPX-HTML-Integrated" path="*.html" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode" /> <add name="ASPX-HTML-2.0-Classic-32bit" path="*.html" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> </handlers> </system.webServer> <system.web> <compilation> <buildProviders> <add extension=".html" type="System.Web.Compilation.PageBuildProvider" /> </buildProviders> </compilation> <httpHandlers> <add path="*.html" type="System.Web.UI.PageHandlerFactory" verb="*" /> </httpHandlers> </system.web> </configuration>

Saturday, November 28, 2009 11:18:26 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
Asp.Net Configuration
Archive
<November 2009>
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
I do I.T. Ltd.
Sign In
Statistics
Total Posts: 27
This Year: 0
This Month: 0
This Week: 0
Comments: 22
All Content © 2012, I do I.T. Ltd.