<?xml version="1.0" encoding="utf-8"?>
|
<!--
|
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
http://go.microsoft.com/fwlink/?LinkId=152368
|
-->
|
<configuration>
|
<configSections>
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
</configSections>
|
<connectionStrings>
|
<add name="FreseniusDBContext" connectionString="Data Source=old.icoldchain.cn; Database=sbcLabSystem; User ID=sa; Password=PalGain2007;" providerName="System.Data.SqlClient" />
|
<!--<add name="FreseniusDBContext" connectionString="Data Source=127.0.0.1; Database=sbcLabSystem; User ID=sa; Password=123;" providerName="System.Data.SqlClient" />-->
|
<!--<add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-sbcLabSystem-20181016133711;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-sbcLabSystem-20181016133711.mdf" />
|
<add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=aspnet-sbcLabSystem-20240904093010;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-sbcLabSystem-20240904093010.mdf" />-->
|
<add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-sbcLabSystem-20240904095009;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-sbcLabSystem-20240904095009.mdf" />
|
</connectionStrings>
|
<appSettings>
|
<add key="PrintWidth" value="1000" />
|
<add key="PrintHeight" value="900" />
|
<!--EMF单位为厘米-->
|
<add key="EMFWidth" value="15" />
|
<add key="EMFHeight" value="14" />
|
<add key="EMFTop" value="0" />
|
<add key="EMFLeft" value="0" />
|
<add key="EMFBottom" value="0" />
|
<add key="EMFRight" value="0" />
|
<add key="HomePageUrl" value="http://wiki.leon056.com" />
|
<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" />
|
<add key="aspnet:MaxJsonDeserializerMembers" value="150000" />
|
</appSettings>
|
<system.web.extensions>
|
<scripting>
|
<webServices>
|
<jsonSerialization maxJsonLength="2147483644" />
|
</webServices>
|
</scripting>
|
</system.web.extensions>
|
<!--
|
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
|
可在 <httpRuntime> 标记上设置以下特性。
|
<system.Web>
|
<httpRuntime targetFramework="4.8" />
|
</system.Web>
|
-->
|
<system.web>
|
<compilation debug="true" targetFramework="4.8" />
|
<authentication mode="Forms">
|
<forms loginUrl="~/Account/Login" timeout="2880" />
|
</authentication>
|
<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.Optimization" />
|
<add namespace="System.Web.Routing" />
|
<add namespace="System.Web.WebPages" />
|
</namespaces>
|
</pages>
|
<!--
|
If you are deploying to a cloud environment that has multiple web server instances,
|
you should change session state mode from "InProc" to "Custom". In addition,
|
change the connection string named "DefaultConnection" to connect to an instance
|
of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
|
-->
|
<sessionState timeout="60" mode="InProc" customProvider="DefaultSessionProvider">
|
<providers>
|
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
|
</providers>
|
</sessionState>
|
<profile defaultProvider="DefaultProfileProvider">
|
<providers>
|
<add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
|
</providers>
|
</profile>
|
<membership defaultProvider="DefaultMembershipProvider">
|
<providers>
|
<add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
|
</providers>
|
</membership>
|
<roleManager defaultProvider="DefaultRoleProvider">
|
<providers>
|
<add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
|
</providers>
|
</roleManager>
|
</system.web>
|
<system.webServer>
|
<validation validateIntegratedModeConfiguration="false" />
|
<modules runAllManagedModulesForAllRequests="true" />
|
<httpProtocol>
|
<customHeaders>
|
<add name="Cache-Conteol" value="no-cache" />
|
</customHeaders>
|
</httpProtocol>
|
</system.webServer>
|
<runtime>
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<dependentAssembly>
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
<bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
|
</dependentAssembly>
|
<dependentAssembly>
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
</dependentAssembly>
|
<dependentAssembly>
|
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.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.Core" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
|
</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>
|
</configuration>
|