How do I convert an existing Azure web role to a new Azure Web Site design?

Is it possible to convert an existing Azure web role (which is ASP.NET MVC) to the new Azure Web Site ? Besides creating a new project and copying the code to a new project so that it looks like an old application, that is.

+6
source share
2 answers

Yes you are right. Windows Azure Websites are shared sites with other users on the same computer, and you do not have the option of remote use. You can definitely manage sites from Git or Powershell. Also, the new Azure website design does not use any of the web role models, so you just need to take the ASP.NET website application and export it as the new ASP.NET website.

+1
source

I am not sure why you want to create a new project. Technically, a Windows Azure web role project is simply an ASP.NET site (or WCF application) that has an additional type of project that is a cloud service.

Technically, if you delete a cloud services project, you have a website that will run on Windows Azure websites with the following caveats:

  • Launch tasks are part of the cloud service model and will not be available.
  • WebRole.cs aka RoleEntryPoint will not execute
  • If you had the Worker role in your project, there is no equivalent on Windows Azure websites.

Most other features will work with a few exceptions (but keep this in mind at the moment in the preview).

+1
source

Source: https://habr.com/ru/post/917571/


All Articles