Last active
August 29, 2015 13:56
-
-
Save filipw/8974826 to your computer and use it in GitHub Desktop.
nancy on helios with OWIN and scriptcs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#load "bootstrapper.csx" //setup rootpathprovider and other stuff | |
public class IndexModule : NancyModule | |
{ | |
public IndexModule() | |
{ | |
Get["/"] = x => { | |
return View["index"]; | |
}; | |
} | |
} | |
NancyBootstrapperLocator.Bootstrapper = new Bootstrapper(); | |
App.UseNancy(); //this is the magical line where scriptcs takes over |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm interested to know what you had to do in bootstrapper.csx