question

DeanAndrewEverhart-9294 avatar image
0 Votes"
DeanAndrewEverhart-9294 asked DeanAndrewEverhart-9294 edited

Deploying ASP.net project to Azure

Besides a connection string, are there any other adds/changes to an ASP.net MVC project's code in order for it to deploy to Azure?

dotnet-aspnet-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Addresses question: 0
Accuracy of Information: 1
Novelty: 0

0 Votes 0 ·

1 Answer

YijingSun-MSFT avatar image
0 Votes"
YijingSun-MSFT answered DeanAndrewEverhart-9294 commented

Hi @DeanAndrewEverhart-9294 ,

If you need to deploy your project to Azure, you need to do like this:

  1. Creating a deployment environment for MVC projects

  2. Deploying the projects' database to Azure SQL.

  3. Publishing the MVC to Azure.

More details you could refer to below articile: Tutorial: Use EF Migrations in an ASP.NET MVC app and deploy to Azure



If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

Best regards,
Yijing Sun

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you so much for the response.

0 Votes 0 ·