⚛ React + ASP.NET Core Guide

1. Prerequisites

You need Visual Studio with the web workload, plus Node.js for the React tooling.

RequirementNotes
Visual Studio 2026Install the ASP.NET and web development workload. To add it later: Tools → Get Tools and Features, choose the workload, then Modify.
.NET SDK.NET 10 (installed with Visual Studio 2026).
Node.js (LTS)Required for npm and Vite. Keep it reasonably current; old Node versions are a common cause of template errors.
npmInstalled with Node.js. The project restores dependencies on the first build.
A modern browserEdge or Chrome, for debugging and the React developer tools extension.

Check your tools

dotnet --version
node --version
npm --version

Trust the ASP.NET Core development certificate

The templates use HTTPS during development. Trust the dev certificate once:

dotnet dev-certs https --trust