[英]Why would you want to deploy a Web Service as a Web Role on Azure?
我的印象是應該在工作角色下運行的 Web 服務。 我剛剛發現可以使用 web 角色設置 web 服務。 使用一個角色相對於另一個角色有什么優勢?
If you use the Web Role, your service will be hosted in a full IIS, and you can for exemple co-host it with your Web site, and use all of IIS features.
如果您使用 go 作為 Worker 角色,則必須新建一個 ServiceHost 來托管您的服務。 您不會在 IIS 內運行。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.