开发者

Windows azure deployment question, deploying just the new / updated content

开发者 https://www.devze.com 2022-12-16 01:33 出处:网络
I have an ASP.NET application that is deployed in Windows Azure. The application has a lot of images and static content, due to which the开发者_如何学C package file is big in size. If just add a new a

I have an ASP.NET application that is deployed in Windows Azure. The application has a lot of images and static content, due to which the开发者_如何学C package file is big in size. If just add a new aspx page, is there a way that i can just deploy the new aspx page or i do need to package & deploy the whole content again?


If you are only considering what is provided by default by Windows Azure, then the answer is no: to add a single ASPX page you have to redeploy the entire Azure package.

Then, if you are willing to consider more complex schemes, then, yes, it is possible. Basically, you need some bootstrap logic within your WebRole that retrieves files from the cloud storage and pastes them into a local file directory within the Web Role.

By doing so, the usual IIS7 behavior happens, and newly added ASPX files become visible in your webapp.

Somehow, we did end-up implementing a similar pattern for Worker Roles (not Web Roles) within Lokad.Cloud. You could probably get inspiration from this project to setup the scheme that I am suggesting here.

0

精彩评论

暂无评论...
验证码 换一张
取 消