简体   繁体   English

具有完整IIS的Azure仿真器

[英]Azure Emulator with Full IIS

It was feasible in Azure SDK 1.7 but now it uses IIS Express. 在Azure SDK 1.7中是可行的,但现在它使用IIS Express。 My cloud service is consumed by other application within LAN. 我的云服务被局域网内的其他应用程序占用。 I wish to expose my development emulator to the consuming application. 我希望将开发模拟器公开给使用中的应用程序。 So that it could test locally. 这样就可以在本地测试。

Currently I have to publish to cloud & do remote debugging to find issues. 目前,我必须发布到云中并进行远程调试才能发现问题。

Although I have been able to expose IIS Express using this post but every time I restart emulator, my IIS express custom changes are lost. 尽管我可以使用本文来公开IIS Express,但是每次重新启动模拟器时,IIS Express的自定义更改都会丢失。

Is there a work-around to tell azure emulator to use full IIS? 是否有一种变通办法来告诉azure仿真器使用完整的IIS?

In the properties for the cloud service project go to the Web settings and then switch the Emulator settings from 'Use Emulator Express' to 'Use Full Emulator'. 在云服务项目的属性中,转到Web设置,然后将仿真器设置从“使用仿真器Express”切换为“使用完整仿真器”。 After this the Local Development Server options will enable you to choose 'Use IIS Web Server'. 此后,本地开发服务器选项将使您能够选择“使用IIS Web服务器”。

Visual Studio的屏幕截图。您不必将IIS用于仿真器

Screen shot from visual studio. Visual Studio的屏幕截图。 You DO NOT have to use IIS for the emulator 您不必将IIS用于仿真器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM