Hosting ASP.NET Core Web Application in Microsoft Azure

Create Web App in Visual Studio
  1. Create a project by selecting File > New > Project.
  2. Select Visual C# > Web > ASP.NET Core Web Application.
  3. Name the application {YourWebAppName}. Click OK.

  1. Select the Web Application template whichever you want. Select OK.

  1. Run the web app locally and test it.

Publish App to Azure
  1. In Solution Explorer, right-click on the project and select Publish.
  2. On next window select Azure App Service, make sure Create New is selected, and click Publish.


Sign in to Azure

If you’re already signed in, select the account containing the desired subscription from the dropdown. Otherwise select Add an account, and sign in to your Azure subscription.

Note: If you don’t have an Azure subscription yet, you’ll need to create a free Azure Subscription to proceed.


Configure your Azure Environment

In Web App Name, choose a unique name for your app. The URL of the published app will be


  1. Next to Resource Group, click New Name the resource group {YourResourceGroupName} Click OK.
  2. Next to App Service Plan, select New

In the Configure App Service Plan dialog, choose the following values

  • -App Service Plan: Name of the App Service plan (not publicly visible).
  • -Location: The datacenter where the web app is hosted.
  • -Size: Determines cost and hosting features .
  • -You'll never be charged for a Free plan. It won’t use any of your Azure credits.

Click OK.

Click Create to create the new Azure environment and publish the app. When publish completes, Visual Studio will launch the app in your browser. Congratulations, your ASP.NET web app is running live in Azure App Service.

Clean up resources

In the preceding steps, you created Azure resources in a resource group. If you don’t expect to need these resources in the future, you can delete them by deleting the resource group.

  • - Go to the Azure portal From the left menu, select Resource groups.
  • - Select the resource group you created (e.g. ABCResourceGroup).
  • - On the resource group page, make sure that the listed resources are the ones you want to delete.
  • - Select Delete Type the name of the resource group, and then select Delete.


Posted: Sep 6, 2018,
Categories: Microsoft Azure,
Comments: 0,
Author: Urish Arora
Rate this article:

Urish AroraUrish Arora

Other posts by Urish Arora

, Contact author

Please login or register to post comments.




Subscribe to our blog

«November 2019»

  • Featured Posts
  • Recent Posts
  • Recent Comments
Dynamics365Authority is a community platform for Professionals and Students to contribute or share their knowledge and skills on Microsoft Dynamics 365 Technologies. Our primary goal is to invite professionals on Dynamics 365 technology across the world to contribute & share their knowledge and skills through their blogs so that we can help other developers.
Stay updated with Dynamics 365 technology. Improve skills and knowledge from our blogs, articles and code snippets. Learn it. Follow professionals and learn from them.
Unified Service Desk Book(Online Edition) 


Stay connected with us on our social media channels for latest articles, blogs posts etc.  We will keep updating regularly on our social media platform and web platform.


Follow us on Facebook



View all our tweets



Join us now



View our blogs



Latest Blog

Posted: Jun 20, 2019

Overview - Appendix (Unified Service Desk)

This blog is about Appendix

Read more
Posted: Jun 20, 2019

Overview - Troubleshoot and Debug (Unified Service Desk)

This blog is about Troubleshoot and Debug in Unified Service Desk

Read more
Posted: Jun 20, 2019

Overview - Performance (Unified Service Desk)

This blog is about the Performance in Unified Service Desk

Read more


Dynamics 365 - Search the library for "Dynamics 365"

  What's New in Dynamics 365

  Dynamics 365 Documentation


  Sign-up for 30 days trial



Recent comments


Nice blog. Very helpful to get all references to white papers at one place.

Previous Next

About Us

Here comes the Dynamics 365 Authority - Great technical blog posts are hidden gems. They are hard to find simply because not enough of us write them in the first place. Yet technical blogging is one of the best things we can do not only for ourselves, but also as members of the wider community of developers.

Dynamics 365 Authority leverages this platform to help developers and users to move from traditional paper-based process to modern digital business process. helps your business grow, evolve and transform. is your Digital Transformation Partner

Recent Posts

Overview - Appendix (Unified Service Desk)

This blog is about Appendix
  • 237
  • Article rating: 5.0

Overview - Troubleshoot and Debug (Unified Service Desk)

This blog is about Troubleshoot and Debug in Unified Service Desk
  • 357
  • Article rating: 5.0

Get in touch

Follow Us


Tag cloud: with Urish Arora;; Sales; Leading community site on MS Dynamics 365; Dynamics 365 Authority; Service;Top CRM Blogs; Urish Arora - Australia's leading expert on Digital Transformation;  Digital Transformation; Field Service;Top Articles on MS Dynamics CRM Relationship Insights; Office 365 Security Compliance; Project Service; Microsoft Dynamics 365 for Sales; Relevance Search; Goal Metrics; Activities and Case; Sales Literature;Knowledge Management;

Terms Of UsePrivacy StatementCopyright 2019 by Dynamics365Authority
Back To Top