languages | page_type | description | products | |||||
---|---|---|---|---|---|---|---|---|
|
sample |
A sample application you can use to follow along with Tutorial: Deploy an ASP.NET Core and Azure SQL Database app to Azure App Service. |
|
.NET Core MVC sample for Azure App Service
This is a sample application that you can use to follow along with the tutorial at Tutorial: Deploy an ASP.NET Core and Azure SQL Database app to Azure App Service.
Getting started
Run from Visual Studio
- git clone https://github.com/Azure-Samples/msdocs-app-service-sqldb-dotnetcore.git
- cd msdocs-app-service-sqldb-dotnetcore
- Open DotNetCoreSqlDb.sln in Visual Studio.
- Start debugging.
Run from command line
Run the following commands in a terminal:
git clone https://github.com/Azure-Samples/msdocs-app-service-sqldb-dotnetcore.git
cd msdocs-app-service-sqldb-dotnetcore
dotnet ef database update
dotnet run