You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usingSystem;usingNancy;usingNancy.Authentication.Ntlm;usingNancy.Hosting.Self;namespaceNancySelfHostingWithNtlm{internalstaticclassProgram{privatestaticvoidMain(string[]args){using(varhost=newNancyHost(newHostConfiguration{RewriteLocalhost=false},newUri("http://localhost:9000"))){host.Start();Console.WriteLine("Press any key to quit.");Console.ReadKey();}}}publicsealedclassMyModule:NancyModule{publicMyModule(){this.RequiresNtlmAuthentication();Get[""]= _ =>{return"Hello world";};}}}
Hello!
Could you share examples of using this with Nancy self and WCF host?
Thank you!
The text was updated successfully, but these errors were encountered: