Mid Azure

How does Azure integrate with ASP.NET Core applications?

  • ASP.NET Core apps can be deployed to Azure App Service or Azure Functions.
  • Supports Azure SQL Database, Cosmos DB, Blob Storage, and other services.
  • Configuration through Azure Key Vault and App Settings.

Example: Deploying an ASP.NET Core app to App Service via Visual Studio:

public class Startup

public void ConfigureServices(IServiceCollection services)

services.AddControllers();

services.AddDbContext<MyDbContext>(options =>

options.UseSqlServer(Configuration.GetConnectionString("DefaultConne

ction")));

More from Microsoft Azure Tutorial

All questions for this course