Skip to content

Instantly share code, notes, and snippets.

@cat-haines
Created September 25, 2012 01:36
Show Gist options
  • Save cat-haines/3779481 to your computer and use it in GitHub Desktop.
Save cat-haines/3779481 to your computer and use it in GitHub Desktop.
This goes in your API folder of Nancy + AppHarbor project - you DO NOT add anything to any other web.configs in the project to make it work
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<customErrors mode="Off" />
<httpHandlers>
<add verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*"/>
</httpHandlers>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<add name="Nancy" verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*"/>
</handlers>
</system.webServer>
</configuration>
@Schonhoffer
Copy link

Sweet gist bra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment