asp.net web api - What would I do to add a Katana/Owin selfhosted WebApi as a service on a Azure Webrole -


i have created selfhosted owin webapi.

anyone have sample or pointers on steps need go on add startup task webrole , have run on webrole virtual machines.

the goal @ end able add azure package in same way 1 add remote access moduels ect.

i not sure how take selfhosted webapi , make run , keep running long virtual machine online.

cloud added service? , teh startup task installs it?

i think have fundamentally missed point of owin, separate detail of hosting detail of application or framework. don't write "self-hosted owin application"; write owin application , decide how host later. if have owin-compliant application, can run self-hosted or on iis referencing different hosting packages.

so on azure web role use microsoft.owin.host.systemweb host application on iis, possibly additional web site within role. in other contexts, use microsoft.owin.host.httplistener self-host application in worker role, windows service or desktop or console application.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -