简体   繁体   English

我可以在IIS上部署Azure项目吗?

[英]Can i deploy Azure project on IIS?

I have solution with startup project that have .ccproj format. 我有.ccproj格式的启动项目的解决方案。 This is an Azure project that require Azure SDK installed. 这是一个需要安装Azure SDKAzure项目。 By default i am able to run it using IIS Express with Azure storage emulator & Azure compute emulator . 默认情况下,我能够将IIS ExpressAzure storage emulatorAzure compute emulator But when i make some changes i need to recompile entire solution and re-run it. 但是,当我进行一些更改时,我需要重新编译整个解决方案并重新运行它。 How can i deploy it in IIS server ? 如何在IIS服务器中部署它? Could you advise me alternative deploy method how to run it in simplest way ? 您能建议我其他部署方法如何以最简单的方式运行吗? I want to re-compile and attach to process after make some changes in project without restarting IIS Express & Azure emulators, it takes a lot of time. 我要在项目中进行一些更改后重新编译并附加到进程,而无需重新启动IIS ExpressAzure仿真器,这需要很多时间。

@DotNetGoose, @DotNetGoose,

should be able to run on IIS but you will need to abstract all the calls that your code read content from RoleEnvironmental and direct them to read from Web.config, and have a copy of corresponding settings in your web.config. 应该可以在IIS上运行,但是您需要提取代码从RoleEnvironmental读取内容的所有调用,并指导它们从Web.config读取,并在web.config中具有相应设置的副本。

once the abstraction is done, set your web app as default startup project, you should be able to run them as normal web app on iis or iisexpress. 一旦完成抽象,将您的Web应用程序设置为默认启动项目,您应该能够在iis或iisexpress上将它们作为普通Web应用程序运行。

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

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