Setup .Net environment with VS Code and .Net Core or execute the code online
-
Download and install VS Code for Windows, macOS, and Linux on Visual Studio Code's website.
-
Download and install .NET Framework and .NET Core, including ASP.NET and ASP.NET Core.
Run the project in the current directory: dotnet run
Run the specified project: dotnet run --project <path_to_dotnet.csproj>