Overview: Azure integration

Applies to: yesVisual Studio noVisual Studio for Mac noVisual Studio Code

You can work with Azure in Visual Studio using many capabilities designed to make development and deployment to Azure easier.

Provision Azure resources

This is a typical Visual Studio dialog where you can browse and search existing Azure resources. Above the list of existing resources, there is a button that lets you provision new ones:

Screenshot showing how to select an Azure resource.

Screenshot showing how to select an Azure resource.

Note

This example shows instances of Azure App Service, but a similar dialog exists for all Azure services that Visual Studio supports.

You can use Quick Launch to find the Visual Studio IDE feature to connect to supported services. To use this feature, open Quick Launch (press Ctrl+Q), enter a service (for example, Azure Storage) to find the Connected Services features and immediately start connecting to the service.

Browse and search existing Azure resources

The following screenshot shows a typical Visual Studio dialog where you can browse and search existing Azure resources.

  1. You can filter by Azure subscription using the drop-down
  2. You can group the found instances either by Resource Group or by Resource Type (which effectively gives you a flat list)
  3. You can search by the resource name

Screenshot showing how to browse and search for Azure resources

Screenshot showing how to browse and search for Azure resources

Note

This example shows instances of Azure App Service, but a similar dialog exists for all Azure services that Visual Studio supports.

Deploy an application to Azure using Publish or GitHub Actions

Right-click on your project in Solution Explorer and pick Publish from the context menu. The Publish wizard will guide you through the experience and if your project is hosted on GitHub.com you will automatically also be given the opportunity to configure CI/CD using GitHub Actions.

Configure Azure dependencies to be emulated locally and connect to real services at deployment time

Use Connected Services to connect your application to local emulators and other local alternatives to Azure services. Get started by right-clicking on the Connected Services node in Solution Explorer and select Manage Connected Services.

Screenshot showing local Azure emulators.

Screenshot showing local Azure emulators.

Debug Azure Function projects offline without cost

Visual Studio will seamlessly emulate the Azure Functions service locally when you start debugging. You don't even have to be signed in with an Azure subscription.

Remote debug Azure hosting services like Azure App Service

See Attach to running processes with the Visual Studio debugger