我的印象是一个应该在工作角色下运行的Web服务。我刚刚发现可以使用Web角色设置Web服务。使用另一个角色的优点是什么?为什么要将Web Service部署为Azure上的Web角色?
4
A
回答
2
3
如果您使用Web角色,您的服务将托管在完整的IIS中,您可以将其与您的网站共同托管,并使用所有IIS功能。
如果你想要一个工作者角色,你将不得不增加一个ServiceHost来托管你的服务。你不会在IIS中运行。
相关问题
- 1. Azure Web角色部署后回收
- 2. 为什么在将EPiServer CMS部署到Azure时使用Service Bus?
- 3. Azure Web部署
- 4. 在单个Azure云服务上部署多个Web角色和辅助角色
- 5. F#Web角色Azure
- 6. Microsoft Azure Web角色
- 7. IPv6为什么会干扰Web部署?
- 8. Azure - 为worker/web角色启用诊断
- 9. 将Web Service部署到Glassfish错误
- 10. Asp.Net的Web API和Azure的Web角色
- 11. 如何在Azure中只部署工作者/ Web角色
- 12. 将Web部署的Windows Azure加速器和Umbraco的Windows Azure加速器混合在同一Web角色中。
- 13. 部署后Azure Web角色预热
- 14. Web角色部署期间缺少Microsoft.WindowsAzure.Diagnostics
- 15. Azure App Service Mobile + Web
- 16. 在Windows Azure中:什么是Web角色,工作者角色和VM角色?
- 17. Azure Web角色和Codeigniter
- 18. SslRequireCert和Azure Web角色
- 19. 访问外部Web服务的Azure Web角色问题
- 20. 如何通过Azure Web角色加速器将网站(不是Web应用程序)部署到Azure?
- 21. 向Axis2部署(作为aar)文件的Web Service
- 22. 在Azure上部署Web API后崩溃
- 23. 将SQL Server和Web App部署到Azure
- 24. 从Visual Studio将Web部署到Azure
- 25. 无法执行代码先将代码部署到Azure Web角色
- 26. 为什么Azure Web角色上的IIS需要频繁重新编译ASP.NET应用程序?
- 27. 将类实例部署为Web服务
- 28. 将Web Apps部署为war文件
- 29. Eclipse - 为什么Azure部署需要这么长
- 30. 默认情况下,为什么Azure Web角色在完全信任中运行?