dotnet new mvc -o dotnet-mvc-demo
dotnet dev-certs https --trust
- Open the project in VSCode
- Add .NET core launch.json and tasks.json config file.
- Change target-framework (example: net6.0) from project file to launch.json
- Change project-name.dll to dotnet-mvc-demo.dll
- Click debug and run to start the server