ASP..Net Core Tutorial: In this video, you will learn how to set up MVC in an empty asp.net core application. When we use the empty template to create a web application using asp.net core framework then MVC is not included by default.
By configuring some methods we can convert an empty template into
- Web API project
- Razor pages
- Model View Controller (MVC)
- etc.
To configure MVC into Asp.Net Core 3.1 empty template we use AddControllersWithViews() method. This AddControllersWithViews() method is used inside ConfigureServices method.
We will also create a home controller and a method inside this controller.
Github repo: github.com/web...
Timestamp:
Agenda of this vide - 00:10
Type of application that can be created using an empty template 00:45
Configure MVC in empty asp.net core template 02:20
Add the first controller in asp.net core application 04:50
Add method inside controller 05:40
Set default route into asp.net core application 06:26
#AddControllersWithViews #AddMVCToEmptyApplication #Nitish
Subscribe WebGentle: goo.gl/PJr1pN
Visit Our Website: bit.ly/2tElGud
Visit WebGentle Community: bit.ly/35uOUsJ
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
For business inquiry contact: nitish.webgentle@gmail.com
Follow us on
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Facebook - bit.ly/36yZuQN
Linkedin - bit.ly/2N6Onqk
Twitter - bit.ly/2uv04AP
Popular free courses from WebGentle
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Jira tutorial - bit.ly/jiratuto...
Azure DevOps tutorial - bit.ly/azuredev...
.NET Core 3.0 fundamentals - bit.ly/dotnetcore3
MVC5 tutorial - bit.ly/mvcbynitish
LINQ Tutorial - bit.ly/linqbyni...
Non generic collection in c# - bit.ly/nongener...
22 авг 2024