Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

01b. Deploying to Azure App Service from Visual Studio for Mac

Steve Smith edited this page Sep 12, 2019 · 10 revisions

To deploy the eShopOnWeb sample application to an Azure App Service (assuming you've already cloned or downloaded it locally, and you have an Azure account), follow these steps from Visual Studio for Mac:

1. Open the eShopOnWeb solution in Visual Studio for Mac.

eShopOnWeb in VS for Mac

2. Right-click on the Web project in Solution Explorer and choose Publish - Publish to Azure...

Choose Publish - Publish to Azure...

3. Sign in if necessary, then choose an existing App Service or create a new one.

Choose an App Service

Click New in this case.

4. Choose an App Name, Subscription, Resource Group, and App Service Plan, including region and pricing.

image

You can choose a free tier just to test things out. Click Next.

5. Click Create.

The Publish profile will be saved and the eShopOnWeb sample will be published to the Azure App Service.

Once the publish process has completed, your deployed app will launch in your browser.

Learn more about Azure deployment options in the official documentation.

Notes

  • You may need to ensure you have the Bundler and Minifier extension installed in Visual Studio, otherwise your CSS may not be minified and referenced correctly in the deployed version of the application. Alternately, you can modify _Layout.cshtml to use app.css instead of app.css.min in Production.
Clone this wiki locally