Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Visual Studio Dapr Extension
Visual Studio Dapr Extension

Visual Studio Dapr Extension

Preview

Microsoft

microsoft.com
|
1,641 installs
| (2) | Free
View, manage, and diagnose Dapr services within Visual Studio.
Download

Visual Studio Dapr Extension (Preview)

The Dapr extension for Visual Studio enables you to view, manage, diagnose, and debug Dapr services within Visual Studio.

Prerequisites

  • Dapr 1.12 or later

Use

Starting with the Dapr Extension

  1. Open your solution in Visual Studio

  2. Right-click the solution in Solution Explorer and select Add > Dapr Run File

    Screenshot of Visual Studio Solution Explorer with the solution context menu open and showing the Add > Dapr Run File command.

  3. You can now edit and add to the created dapr.yaml file

    Screenshot of Visual Studio with the generated Dapr run file open in the YAML editor

Preview Features

Enabling the Dapr run file debugging experience was the initial concern for the extension but there is considerable other feature work in progress. While not available by default, this work in progress can be enabled via feature flags.

Enabling Dapr Preview Features

  1. Install the Feature Flags extension, which allows you to view and modify Visual Studio feature flags
  2. Open Tools > Options > Feature Flags
  3. Enable the desired Dapr feature flags
    • Dapr.ToolWindows.Dapr: Enables the new Dapr tool window

[!WARNING] Preview features are not extensively tested, may not meet your quality standards, and are intended for evaluation and feedback purposes. Use at your own risk.

Dapr Tool Window

The Dapr tool window displays information about running Dapr applications, such as its loaded components and various ports, and will be familiar to users of the VS Code Dapr extension. It can be opened via the View > Other Windows > Dapr menu command. For applications using a "default" state store (i.e. Redis), you can also open an additional Dapr State Stores tool window to show just the state for that application.

Screenshot of Visual Studio with the Dapr and Dapr State Stores tool windows open.

For applications using Dapr actors, you can also open an additional Dapr Actors tool window to show just the state for individual actor instances.

Screenshot of Visual Studio with the Dapr and Dapr Actors tool windows open

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft