You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
7.1 KiB
115 lines
7.1 KiB
3 years ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<configuration>
|
||
|
<configSections>
|
||
|
<section name="redisconfig" type="EC.Cache.Redis.RedisConfigInfo,EC.Cache.Redis" />
|
||
|
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Microsoft.Practices.Unity.Configuration" />
|
||
|
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
||
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||
|
</configSections>
|
||
|
<redisconfig configSource="XmlConfig\redis.config" />
|
||
|
<unity configSource="XmlConfig\ioc.config" />
|
||
|
<dataConfiguration defaultDatabase="BaseDb" />
|
||
|
<connectionStrings>
|
||
|
<add name="BaseDb152" connectionString="Data Source=120.79.46.152;port=3308;pooling=true;max pool size=50; min pool size=5;Initial Catalog=seal_db;user id=root;password=123456;charset=utf8" providerName="MySql.Data.MySqlClient" />
|
||
|
<add name="BaseDb_mysql" connectionString="Data Source=127.0.0.1;port=3306;pooling=true;max pool size=50; min pool size=5;Initial Catalog=seal_db;user id=root;password=123456;charset=utf8" providerName="MySql.Data.MySqlClient" />
|
||
|
<add name="BaseDb1" connectionString="Data Source=127.0.0.1;Initial Catalog=EC_DB;Persist Security Info=True;User ID=sa;Password=qwe123$$" providerName="System.Data.SqlClient" />
|
||
|
<!--<add name="BaseDb" connectionString="Data Source=127.0.0.1;Initial Catalog=PlanMESDB;Persist Security Info=True;User ID=sa;Password=qwe123$$" providerName="System.Data.SqlClient" />-->
|
||
|
<add name="BaseDb" connectionString="Data Source=39.105.6.170;port=3306;pooling=true;max pool size=50; min pool size=5;Initial Catalog=crmdb;user id=root;password=qwe123$$;charset=utf8" providerName="MySql.Data.MySqlClient" />
|
||
|
<add name="OracleBaseDb" connectionString="User Id=cuxoa;Password=cuxoa;PERSIST SECURITY INFO=True;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.126.91)(PORT=1531))(CONNECT_DATA=(SID=CLA)))" providerName="Oracle.ManagedDataAccess.Client" />
|
||
|
</connectionStrings>
|
||
|
<appSettings configSource="XmlConfig\system.config" />
|
||
|
<system.web>
|
||
|
<httpRuntime maxQueryStringLength="2097151" />
|
||
|
|
||
|
<sessionState mode="InProc" timeout="180" />
|
||
|
<compilation debug="true" targetFramework="4.5" />
|
||
|
<customErrors mode="Off" defaultRedirect="\Error\ErrorPath404" />
|
||
|
<pages controlRenderingCompatibilityVersion="4.0">
|
||
|
<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.Routing" />
|
||
|
<add namespace="System.Web.WebPages" />
|
||
|
</namespaces>
|
||
|
</pages>
|
||
|
</system.web>
|
||
|
<system.webServer>
|
||
|
<validation validateIntegratedModeConfiguration="false" />
|
||
|
<modules runAllManagedModulesForAllRequests="true" />
|
||
|
<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>
|
||
|
<defaultDocument>
|
||
|
<files>
|
||
|
<clear />
|
||
|
<add value="index.htm" />
|
||
|
<add value="Default.htm" />
|
||
|
<add value="Default.asp" />
|
||
|
<add value="index.html" />
|
||
|
<add value="iisstart.htm" />
|
||
|
<add value="default.aspx" />
|
||
|
</files>
|
||
|
</defaultDocument>
|
||
|
</system.webServer>
|
||
|
<runtime>
|
||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
||
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
||
|
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="NPOI" publicKeyToken="0df73ec7942b34e1" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-2.3.0.0" newVersion="2.3.0.0" />
|
||
|
</dependentAssembly>
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="NPOI.OOXML" publicKeyToken="0df73ec7942b34e1" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-2.3.0.0" newVersion="2.3.0.0" />
|
||
|
</dependentAssembly>
|
||
|
</assemblyBinding>
|
||
|
</runtime>
|
||
|
|
||
|
<entityFramework>
|
||
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
|
||
|
<providers>
|
||
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||
|
</providers>
|
||
|
</entityFramework>
|
||
|
</configuration>
|
||
|
|
||
|
|