伪静态后如何设置静态可用

在Web.config配置

第一步

<compilation debug="true">
      <buildProviders>
        <add extension=".html" type="System.Web.Compilation.PageBuildProvider" />
      </buildProviders>

第二步

<httpHandlers>
 
      <add path="*.html" verb="*" type="System.Web.UI.PageHandlerFactory" validate="true"/>

 

posted @ 2011-11-02 14:42  .NET技术  阅读(177)  评论(0)    收藏  举报
网站:化妆品批发排行榜http://www.cosmetic-top.com/