Web.config
上传用户:whjkdz
上传日期:2013-05-19
资源大小:79k
文件大小:1k
源码类别:

.net编程

开发平台:

C#

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <system.web>
  4. <compilation defaultLanguage="c#" debug="true" />
  5. <customErrors mode="RemoteOnly" />
  6. <authentication mode="Windows" />
  7. <authorization>
  8. <allow users="*" />
  9. </authorization>
  10. <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
  11. <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
  12. cookieless="false" timeout="20" />
  13. <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
  14. <!-- Settings of SunriseUpload -->
  15. <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="100819200" executionTimeout="900" />
  16. <httpModules>
  17. <add name="HttpUploadModule" type="Sunrise.Web.Upload.HttpUploadModule, Sunrise.Web.Upload" />
  18. </httpModules>
  19. <httpHandlers>
  20. <add verb="*" path="progress.ashx" type="Sunrise.Web.Upload.HttpUploadHandler, Sunrise.Web.Upload" />
  21. </httpHandlers>
  22. <!-- ========================= -->
  23. </system.web>
  24. </configuration>