Windows Azure Website with a Startup task

£可爱£侵袭症+ 提交于 2019-12-11 07:45:06

问题


I know that Azure Websites are made to be easy, not have role configs and such...but I was still wondering, is there ANY way to create a Startup Task when using a Website?

I'm asking because I would like to ease the deployment of an existing website through FTP or GIT (not recompiling the source and such), and then use Startup Task to deploy an additional IIS provider to GAC?

Kind regards, Vladan


回答1:


In case of "Shared Instance" deployment model, I don't think it's possible because your application is sharing the VM with many other tenants (applications). Thus you will not have permissions to access GAC. Not sure how this would work in case of "Reserved Instance" deployment model where the whole VM is at your disposal.




回答2:


Actuall it's possible. Have a look at: Windows Azure Website with a Startup task using Webmatrix 3 or similar (without using Visual Studio)

However, you can't run it with elevated privileges.



来源:https://stackoverflow.com/questions/12363279/windows-azure-website-with-a-startup-task

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!