mirror of https://github.com/SixLabors/ImageSharp
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.
77 lines
3.7 KiB
77 lines
3.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
For more information on how to configure your ASP.NET application, please visit
|
|
http://go.microsoft.com/fwlink/?LinkId=169433
|
|
-->
|
|
|
|
<configuration>
|
|
<configSections>
|
|
<sectionGroup name="imageProcessor">
|
|
<section name="security" requirePermission="false" type="ImageProcessor.Web.Configuration.ImageSecuritySection, ImageProcessor.Web" />
|
|
<section name="processing" requirePermission="false" type="ImageProcessor.Web.Configuration.ImageProcessingSection, ImageProcessor.Web" />
|
|
<section name="caching" requirePermission="false" type="ImageProcessor.Web.Configuration.ImageCacheSection, ImageProcessor.Web" />
|
|
</sectionGroup>
|
|
</configSections>
|
|
<imageProcessor>
|
|
<security configSource="config\imageprocessor\security.config" />
|
|
<caching configSource="config\imageprocessor\cache.config" />
|
|
<processing configSource="config\imageprocessor\processing.config" />
|
|
</imageProcessor>
|
|
<appSettings>
|
|
<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" />
|
|
</appSettings>
|
|
|
|
<system.web>
|
|
|
|
<httpRuntime targetFramework="4.5" requestPathInvalidCharacters="<,>,*,%,&,\,?" />
|
|
<!--<customErrors mode="Off"/>-->
|
|
<compilation debug="true" targetFramework="4.5" />
|
|
|
|
<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.Routing" />
|
|
<add namespace="System.Web.WebPages" />
|
|
</namespaces>
|
|
</pages>
|
|
<httpModules>
|
|
<add name="ImageProcessorModule" type="ImageProcessor.Web.HttpModules.ImageProcessingModule, ImageProcessor.Web" />
|
|
</httpModules>
|
|
|
|
</system.web>
|
|
|
|
<system.webServer>
|
|
<validation validateIntegratedModeConfiguration="false" />
|
|
<staticContent>
|
|
<remove fileExtension=".webp" />
|
|
<mimeMap fileExtension=".webp" mimeType="image/webp" />
|
|
</staticContent>
|
|
<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>
|
|
<modules>
|
|
<add name="ImageProcessorModule" type="ImageProcessor.Web.HttpModules.ImageProcessingModule, ImageProcessor.Web" />
|
|
</modules>
|
|
</system.webServer>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<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>
|
|
|
|
</configuration>
|
|
|