Basic app from 'dotnet new mvc'.
Create a project folder.
From inside the project folder, open PowerShell here as Administrator.
Run:
dotnet new mvc
Add additional files:
- README.md
- .gitignore
dotnet run
CTRL-C in the window will shutdown your service. Restart after making changes.
Learn how controller actions and views are configured and how to modify the navigation.
Modify the Home Controller:
- Add a new action to the Home Controller (.e.g, Welcome)
- Add a new associated view.
- Add a new menu option to route you to your new action and show your new view.
Add a new controller:
- Add a new controller.
- Add an action to your new controller that replies with text.
- Add an action to your new controller that replies with JSON.
- Add an action to your new controller that replies with HTML.
- Add an action to your new controller that replies with a Razor view.
- Add new menu options to access your new content.