Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #229 from thecodejunkie/nugetupdate

Updated Nancy.Hosting.Aspnet nuget to include the web.config transform
  • Loading branch information...
commit 7a49e06ef7133606f539dadc6c3f5c4b65a2baae 2 parents b2fbb19 + f56ad5a
@thecodejunkie thecodejunkie authored
View
1  src/Nancy.Hosting.Aspnet/nancy.hosting.aspnet.nuspec
@@ -18,6 +18,7 @@
<files>
<file src="build\binaries\Nancy.Hosting.Aspnet.dll" target="lib\net40" />
<file src="build\binaries\Nancy.Hosting.Aspnet.pdb" target="lib\net40" />
+ <file src="src\Nancy.Hosting.Aspnet\web.config.transform" target="content" />
<file src="src\Nancy.Hosting.Aspnet\**\*.cs" target="src" />
</files>
</package>
View
14 src/Nancy.Hosting.Aspnet/web.config.transform
@@ -0,0 +1,14 @@
+<configuration>
+ <system.web>
+ <httpHandlers>
+ <add verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*"/>
+ </httpHandlers>
+ </system.web>
+
+ <system.webServer>
+ <validation validateIntegratedModeConfiguration="false"/>
+ <handlers>
+ <add name="Nancy" verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*"/>
+ </handlers>
+ </system.webServer>
+</configuration>
Please sign in to comment.
Something went wrong with that request. Please try again.