asp.net mvc mobile 部署小结

1.程序池设置为经典模式.

2.web.config添加以下代码

<system.webServer>
   <handlers>    

      <add name="StaticFile1"
      path="*.*" verb="*"
      modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule"
      resourceType="Either" requireAccess="Read" />
     <add name="wildcard map" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32" />

   </handlers>

posted @ 2013-04-16 18:36  黎东海  阅读(234)  评论(0编辑  收藏  举报