routesnancy

Simple Nancy Routes return 404


I'm brand new to Nancy and going through some simple tutorials. I'm trying to make a route in Nancy just to print out hello but returns 404 resource may have been removed... Here is what my code looks like

       public HelloModule (){
           Get["/hello"] = _ => "Hello World!" 
       }
}


Solution

  • I was able to fix this by following this link https://auth0.com/blog/meet-nancy-a-lightweight-web-framework-for-dot-net/ And running Visual Studio as an Admin