Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.21 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3.  For more information on how to configure your ASP.NET application, please visit
  4.  http://go.microsoft.com/fwlink/?LinkId=301879
  5.  -->
  6. <configuration>
  7.   <appSettings>
  8.     <add key="webpages:Version" value="3.0.0.0" />
  9.     <add key="webpages:Enabled" value="false" />
  10.     <add key="ClientValidationEnabled" value="true" />
  11.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  12.   </appSettings>
  13.   <system.web>
  14.     <compilation debug="true" targetFramework="4.5.2" />
  15.     <httpRuntime targetFramework="4.5.2" />
  16.     <httpModules>
  17.       <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  18.     </httpModules>
  19.   </system.web>
  20.   <system.webServer>
  21.     <handlers>
  22.       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  23.       <remove name="OPTIONSVerbHandler" />
  24.       <remove name="TRACEVerbHandler" />
  25.       <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  26.     </handlers>
  27.     <validation validateIntegratedModeConfiguration="false" />
  28.     <modules runAllManagedModulesForAllRequests="true">
  29.       <remove name="ApplicationInsightsWebTracking" />
  30.       <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  31.     </modules>
  32.   <rewrite>
  33.     <rules>
  34.       <!--Redirect selected traffic to index -->
  35.       <rule name="Index Rule" stopProcessing="true">
  36.         <match url=".*" />
  37.         <conditions logicalGrouping="MatchAll">
  38.           <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  39.           <add input="{REQUEST_URI}" matchType="Pattern" pattern="^/api/" negate="true" />
  40.         </conditions>
  41.         <action type="Rewrite" url="/" />
  42.       </rule>
  43.     </rules>
  44.   </rewrite>
  45.   </system.webServer>
  46.   <runtime>
  47.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  48.       <dependentAssembly>
  49.         <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  50.         <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  51.       </dependentAssembly>
  52.       <dependentAssembly>
  53.         <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  54.         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  55.       </dependentAssembly>
  56.       <dependentAssembly>
  57.         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  58.         <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  59.       </dependentAssembly>
  60.       <dependentAssembly>
  61.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  62.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  63.       </dependentAssembly>
  64.       <dependentAssembly>
  65.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  66.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  67.       </dependentAssembly>
  68.       <dependentAssembly>
  69.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  70.         <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  71.       </dependentAssembly>
  72.     </assemblyBinding>
  73.   </runtime>
  74.   <system.codedom>
  75.     <compilers>
  76.       <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
  77.       <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  78.     </compilers>
  79.   </system.codedom>
  80. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement