1
zrg
2025-04-08 a3648d7ed723c74b7da81b81448c93d3edd5f84a
WebTM/Web.config
@@ -1,14 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
  有关如何配置 ASP.NET 应用程序的详细信息,请访问
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
  </system.web>
  <appSettings>
    <add key="Name" value="61.130.49.162:9090/WMSAPI///"/>
  </appSettings>
</configuration>
   <system.web>
      <compilation debug="true" targetFramework="4.5" />
      <httpRuntime targetFramework="4.5" maxQueryStringLength="102400" />
   </system.web>
   <appSettings>
      <add key="Name" value="61.130.49.162:9090/WMSAPI///" />
   </appSettings>
   <system.webServer>
      <staticContent>
         <remove fileExtension=".grf" />
         <mimeMap fileExtension=".grf" mimeType="text/xml" />
      </staticContent>
        <handlers>
            <remove name="StaticFile" />
            <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule" resourceType="Either" requireAccess="Read" />
        </handlers>
      <security>
         <requestFiltering>
            <requestLimits maxAllowedContentLength="10485760" maxQueryString="10485760" /> <!--设置参数内容的最大长度为10MB,默认是4MB,最大支持2GB-->
         </requestFiltering>
       </security>
   </system.webServer>
</configuration>