Mid From PDF Azure Microsoft 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
Toolliyo Assistant
Ask about tutorials, ebooks, training, pricing, mentor services, and support. I use public site content only—not admin or internal tools.

care@toolliyo.com

Need callback? Share your details