c# - Recommended way to host a WebApi in Azure -


i wanted host webapi project on azure. not getting sure way should use run on azure. there websites, cloud services contain web role , worker role. 1 should choose. if cloud service option 1 out of web role , worker role good?

any appreciated.

for hosting simple web api (that can scale according usage, etc.) you'll want use websites. assuming you're not looking more complex / heavy-weight features (network configuration, more complex architectures e.g. offloading background processing different instances via queueing mechanisms, rdp host machine, etc.), websites becoming de-facto way host websites on azure.

the following page azure documentation give full feature comparison between two: http://azure.microsoft.com/en-us/documentation/articles/choose-web-site-cloud-service-vm/, in short, if have web api project in vs want host in azure without worrying underlying infrastructure, use websites.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -