126 lines
7.0 KiB
XML
126 lines
7.0 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
如需如何設定 ASP.NET 應用程式的詳細資訊,請瀏覽
|
|
https://go.microsoft.com/fwlink/?LinkId=301880
|
|
-->
|
|
<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="DefaultConnection" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-Chruch.Net-20180515093522.mdf;Initial Catalog=aspnet-Chruch.Net-20180515093522;Integrated Security=True" providerName="System.Data.SqlClient" />-->
|
|
<add name="entityFramework" connectionString="Server=tcp:nlcc.database.windows.net,1433;Initial Catalog=NLCC;Persist Security Info=False;User ID=yuanson;Password=8ik,9ol.;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" providerName="System.Data.SqlClient"/>
|
|
<!--<add name="entityFramework" connectionString="Data Source=(local)\;Initial Catalog=LifeSpring;User ID=sa;Password=9999;" providerName="System.Data.SqlClient" />-->
|
|
</connectionStrings>
|
|
<appSettings>
|
|
<add key="webpages:Version" value="3.0.0.0"/>
|
|
<add key="webpages:Enabled" value="false"/>
|
|
<add key="ClientValidationEnabled" value="true"/>
|
|
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
|
|
</appSettings>
|
|
<!--
|
|
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
|
|
|
The following attributes can be set on the <httpRuntime> tag.
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.8" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<authentication mode="None"/>
|
|
<compilation debug="true" targetFramework="4.8"/>
|
|
<httpRuntime targetFramework="4.6.1" maxRequestLength="1048576" executionTimeout="3600"/>
|
|
<httpModules>
|
|
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web"/>
|
|
</httpModules>
|
|
<customErrors mode="Off"/>
|
|
<sessionState mode="InProc" timeout="90"/>
|
|
</system.web>
|
|
<system.webServer>
|
|
<modules>
|
|
<remove name="FormsAuthentication"/>
|
|
<remove name="ApplicationInsightsWebTracking"/>
|
|
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler"/>
|
|
</modules>
|
|
<handlers>
|
|
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
|
|
<remove name="OPTIONSVerbHandler"/>
|
|
<remove name="TRACEVerbHandler"/>
|
|
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
|
|
</handlers>
|
|
<validation validateIntegratedModeConfiguration="false"/>
|
|
<security>
|
|
<requestFiltering>
|
|
<requestLimits maxAllowedContentLength="1073741824"/>
|
|
</requestFiltering>
|
|
</security>
|
|
<staticContent>
|
|
<mimeMap fileExtension="woff" mimeType="application/font-woff"/>
|
|
<mimeMap fileExtension="woff2" mimeType="application/font-woff"/>
|
|
<remove fileExtension=".mp4"/>
|
|
<mimeMap fileExtension=".mp4" mimeType="video/mp4"/>
|
|
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00"/>
|
|
</staticContent>
|
|
</system.webServer>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
|
|
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/>
|
|
</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.Mvc" publicKeyToken="31bf3856ad364e35"/>
|
|
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<entityFramework>
|
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
|
<parameters>
|
|
<parameter value="mssqllocaldb"/>
|
|
</parameters>
|
|
</defaultConnectionFactory>
|
|
<providers>
|
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
|
|
</providers>
|
|
</entityFramework>
|
|
<system.codedom>
|
|
<compilers>
|
|
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
|
|
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/>
|
|
</compilers>
|
|
</system.codedom>
|
|
</configuration> |