Visual Studio Code is a lightweight editor for ASP.NET Core development. It has fewer built-in project tools than Visual Studio, but can handle the same development work. If you are new to .NET, Visual Studio’s more structured file-creation tools may be easier to start with. section 2.1
Set up the editor and open a project:
- Install the current stable Visual Studio Code build and select Add to PATH. Install the .NET SDK separately; the editor installer does not include it. For the .NET 7 setup, run `dotnet --list-sdks` in a new PowerShell window and check for a 7.0.1xx entry. section 2.1.3
- Select File > Open Folder and open the project folder. Select `Program.cs` in Explorer, then accept any prompts to install the features or assets required for C# development. section 2.2.2
Add a static HTML file
Right-click the project folder in Explorer, choose New Folder, and name it `wwwroot`. Right-click that folder, choose New File, and name it `demo.html`. The extension matters: unlike a Visual Studio item template, this workflow leaves the file type to you. Add HTML content, such as `<h3>HTML File from MyProject</h3>` inside a page body. section 4.2
To run unit tests, open a test class and use the code lens action Run All Tests. Results appear as text in a terminal window. If the test actions are missing, close and reopen the Testing folder. section 6.3.2






