Skip to content

Instantly share code, notes, and snippets.

@bsatrom
Forked from jglozano/web.config
Created March 28, 2012 18:15
Show Gist options
  • Save bsatrom/2228966 to your computer and use it in GitHub Desktop.
Save bsatrom/2228966 to your computer and use it in GitHub Desktop.
Simple web.config
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="webpages:Version" value="1.0.0.0"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
</appSettings>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment