Starting C# Backend using Razor pages

muncey profile image muncey ・1 min read

I am creating a backend for my SPA using C#, ASP.NET Core and using the dotnet CLI to generate the project as follows:

dotnet new webapp -o MyPortal

Doing this will create a new project with the following structure:
Project structure in Visual Studio Code

And then running dotnet run will run a website on your local PC that can be accessed at https://localhost:5001.

View of new site


markdown guide