iis 7.5 - How to host Owin application in IIS application -
i created owin application in vs 2015, default added following code: public void configureservices(iservicecollection services) { }
// method gets called runtime. use method configure http request pipeline. public void configure(iapplicationbuilder app) { app.useiisplatformhandler(); app.run(async (context) => { await context.response.writeasync("hello world!"); }); } // entry point application. public static void main(string[] args) => webapplication.run<startup>(args);
when compiled this, not generating bin folder. also, created iis application in iis 7 , tried accessing: http://localhost/owinapp. iis not recognizing request. reason don't have bin folder... works fine when directly run vs 2015. expecting work other web application. missing anything?
Comments
Post a Comment