Skip to content

Instantly share code, notes, and snippets.

@carlwoodhouse
Created October 5, 2015 10:50
Show Gist options
  • Save carlwoodhouse/0a2861b4a6ea5f472517 to your computer and use it in GitHub Desktop.
Save carlwoodhouse/0a2861b4a6ea5f472517 to your computer and use it in GitHub Desktop.
<location path="route">
<system.web>
<httpHandlers>
<add path="*" type="System.Web.Handlers.TransferRequestHandler" verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" />
</httpHandlers>
</system.web>
<!-- Required for IIS 7.0 -->
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="ApiURIs-ISAPI-Integrated-4.0" path="*" type="System.Web.Handlers.TransferRequestHandler" verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
</system.webServer>
</location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment