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
Comments are closed.
Archive
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
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 2010
I do I.T. Ltd.
Sign In
Statistics
Total Posts: 23
This Year: 2
This Month: 0
This Week: 0
Comments: 1
All Content © 2010, I do I.T. Ltd.