123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- 有关如何配置 ASP.NET 应用程序的详细信息,请访问
- http://go.microsoft.com/fwlink/?LinkId=169433
- -->
- <configuration>
- <configSections>
- <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
- <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
- </configSections>
- <connectionStrings>
- <add name="EMISOnlineContextContainer" providerName="System.Data.SqlClient" connectionString="Data Source=.;Initial Catalog=Gzzy.EmisOnline;Persist Security Info=True;User ID=sa;Password=1;Pooling=True;" />
- </connectionStrings>
- <appSettings>
- <!--MVC组件配置begin-->
- <add key="webpages:Version" value="2.0.0.0" />
- <add key="webpages:Enabled" value="false" />
- <add key="PreserveLoginUrl" value="true" />
- <add key="ClientValidationEnabled" value="true" />
- <add key="UnobtrusiveJavaScriptEnabled" value="true" />
- <!--MVC组件配置end-->
- <!--登录信息cookies名配置begin-->
- <add key="logincookieName" value="EMISOnline_Login" />
- <!--登录信息cookies名配置end-->
- <!--登录信息容器配置begin-->
- <add key="CustomPrincipanAssembly" value="EMISOnline.Utility" />
- <add key="CustomPrincipanClass" value="EMISOnline.Utility.FormValidate.CustomPrincipal" />
- <!--登录信息容器配置end-->
- <!--工作流接口账号密码配置begin-->
- <add key="sys_InsertingID" value="79972b0d414d44bd86d816d90114e79f" />
- <add key="sys_InsertingPwd" value="53BF01E20E464120B2A94543312C0F34" />
- <!--工作流接口账号密码配置end-->
- <!--上传文件路径配置begin-->
- <add key="FileUploadPath" value="~/Content/DownFile" />
- <!--上传文件路径配置begin-->
- <!--系统发件邮箱配置begin-->
- <add key="Mail_SMTPServer" value="smtp.126.com" />
- <add key="Mail_SMTPPort" value="25" />
- <add key="Mail_SMTPIsSSL" value="false" />
- <add key="Mail_Pop3Server" value="pop.126.com" />
- <add key="Mail_Pop3Port" value="110" />
- <add key="Mail_Pop3IsSSL" value="false" />
- <add key="Mail_UserName" value="jwcksk" />
- <add key="Mail_Password" value="jwc6502303" />
- <!--系统发件邮箱配置end-->
- <!--7Zip压缩/解压缩工具位置配置begin-->
- <add key="PathOf7Zip" value="bin\7z.exe" />
- <!--7Zip压缩/解压缩工具位置配置end-->
-
- <!--导入文件的储存地址、虚拟目录配置begin-->
- <add key="ImportFileVirtualFolder" value="/Content/DownFile/" />
- <!--导入文件的储存地址、虚拟目录配置end-->
-
- <!--单点登录配置,各高校有所不同(0表示关闭,1表示打开)begin-->
- <add key="IsSSOLogin" value="0"/>
- <add key="SSOHost" value="http://localhost:8045"/>
- <!--单点登录配置end-->
- </appSettings>
- <system.web>
- <httpRuntime maxRequestLength="999999999" requestPathInvalidCharacters="" />
- <httpModules>
- <add name="VerificationCodeModule" type="Bowin.Common.VerificationCodeModule,Bowin.Common" />
- </httpModules>
- <customErrors mode="Off" defaultRedirect="Error" />
- <compilation debug="true" targetFramework="4.0" />
- <authentication mode="Forms">
- <forms loginUrl="~/Account/Login" cookieless="UseUri" timeout="2880" enableCrossAppRedirects="true" />
- </authentication>
- <pages>
- <namespaces>
- <add namespace="System.Web.Helpers" />
- <add namespace="System.Web.Mvc" />
- <add namespace="System.Web.Mvc.Ajax" />
- <add namespace="System.Web.Mvc.Html" />
- <add namespace="System.Web.Optimization" />
- <add namespace="System.Web.Routing" />
- <add namespace="System.Web.WebPages" />
- </namespaces>
- </pages>
- <trust level="Full" originUrl="" />
- <!--<caching>
- <outputCacheSettings>
- <outputCacheProfiles>
- <add name="PublicOnly" duration="3600" location="Client"/>
- </outputCacheProfiles>
- </outputCacheSettings>
- </caching>-->
- </system.web>
- <location path="Content">
- <system.webServer>
- <staticContent>
- <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.02:00:00" />
- <remove fileExtension=".zip" />
- <remove fileExtension=".rar" />
- <mimeMap fileExtension=".zip" mimeType="application/zip" />
- <mimeMap fileExtension=".rar" mimeType="application/octet-stream" />
- </staticContent>
- </system.webServer>
- </location>
- <location path="Scripts">
- <system.webServer>
- <staticContent>
- <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.02:00:00" />
- </staticContent>
- </system.webServer>
- </location>
- <location path="FtpFile">
- <system.webServer>
- <staticContent>
- <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.02:00:00" />
- </staticContent>
- </system.webServer>
- </location>
-
- <system.webServer>
- <validation validateIntegratedModeConfiguration="false" />
- <modules runAllManagedModulesForAllRequests="true">
- <remove name="VerificationCodeModule"/>
- <add name="VerificationCodeModule" type="Bowin.Common.VerificationCodeModule,Bowin.Common" />
- </modules>
-
- <handlers>
- <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
- <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
- <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
- <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
- <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
- <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
- </handlers>
- <httpProtocol>
- <customHeaders>
- <clear />
- </customHeaders>
- </httpProtocol>
- </system.webServer>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="0.0.0.0-4.0.0.1" newVersion="4.0.0.1" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- <entityFramework>
- <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
- <parameters>
- <parameter value="v11.0" />
- </parameters>
- </defaultConnectionFactory>
- <providers>
- <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
- </providers>
- </entityFramework>
- <system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="entreeSoap" textEncoding="utf-8" maxReceivedMessageSize="16384000">
- <readerQuotas maxStringContentLength="16384000" />
- </binding>
- </basicHttpBinding>
- </bindings>
- <client>
- <!--工作流地址接入地址配置begin-->
- <endpoint address="http://192.168.0.66:8912/entree.asmx" binding="basicHttpBinding" bindingConfiguration="entreeSoap" contract="PlugworkflowServices.entreeSoap" name="entreeSoap" />
- <!--工作流地址接入地址配置end-->
- </client>
- </system.serviceModel>
- </configuration>
|