Introduction to ASP.NET MVC in C#: Basics, Advanced Topics, Tips, Tricks, Best Practices, and More

preview_player
Показать описание

Want to see a full C# application built from scratch?

In this video, I walk you through ASP.NET MVC. I show you what it is, how to configure it, how to set it up, what all of the different files represent, and more. Learn about the best practices surrounding MVC along the way.

The topics covered in this video include:
- What is MVC (Model-View-Controller)
- Bundling
- Routing
- NuGet
- Deployment
- Razor
- ActionLinks
- RenderSection
- Web.Config
- CustomErrors
- Scaffolding
- Templates
- Shared Layouts
- and much more

0:00 - Intro
0:55 - Creating MVC Framework app: IDE
1:38 - Creating MVC Framework app: Different Templates ( VS2017 )
9:01 - MVC Framework app template: Default NuGet packages
16:10 - What is ASP and MVC
19:58 - MVC explained: Controllers
23:20 - MVC explained: Views
25:02 - MVC explained: Models
27:45 - View components: the Layout and Pages
31:08 - Razor syntax (Razor pages)
37:59 - Razor syntax recap
38:33 - Running MVC app
40:33 - Rendering MVC app
46:16 - App_Start: RouteConfig
53:23 - App_Start: BundleConfig
1:01:38 - RenderSection method in Layout page
1:07:09 - Creating new Controller and new View
1:15:26 - New ActionResult: Creating a List of Model
1:18:30 - View with a List template
1:28:03 - Erros in the appliacation: Handling exceptions
1:37:50 - Deploying MVC app
1:39:38 - Summary and concluding remarks

Thanks Ralfs HBK for the topics breakdown
Рекомендации по теме
Комментарии
Автор

Tim, please never change your teaching style! I know it may seem slower sometimes, but it's so focused, thorough, and well-done that whoever watches isn't left questioning nearly anything!

Thank you so much man!

jayjayjaythebrand
Автор

Thanks for putting so much work into this, Tim. I've been trying several resources to learn about this topic, but none of them covers this in such details and so well explained. Please, keep doing what you're doing.

thanhtruong
Автор

Tim, I went through several MVC tutorials, and this one is the best so far. You have a unique teaching style. Thank you and keep it up.

abdallaelmedani
Автор

Tim, thank you so much! I'm fairly new to C#, but I've been in frontend development for a decade. Your methodical, paced delivery was absolutely refreshing. You covered a great many topics, but it never felt overwhelming. This is the way I learn the best, but there is an absolute dearth of well spoken tutorials of this depth. I'm a fan, and can't wait to watch your other content. Cheers!

ceruleansin
Автор

This was an amazing tutorial that was simple and focused while tackling so many topics. Thank you Tim!

applesaucee
Автор

What a great tutorial! Easily the best introduction to this subject I've watched. Thanks Tim!

oscargb
Автор

Watched the whole video and understood it entirely because of your clarity! This looks like an awesome framework. Can't wait to start building out some projects!

gavincobb
Автор

Wow, that's the best online lecture I had here on YT. He explains everything, and it's so clear! I hope he keeps teaching like this, I'm gonna explore more of his content for sure

saulomoreira
Автор

One of the best tutorials on any subject I've ever watched! Thanks!

shanefitzgerald
Автор

Thanks Tim. I have a project at work already done in MVC. And I hadn't had any formalized instruction in MVC. And you made it pretty simple. Thanks again.

davidpimental
Автор

Wow! I've been trying to wrap my head around MVC for so long and you totally made sense of it for me! Thanks Tim!

kevinbrosnahan
Автор

Even master Yoda can't teach better than you. There is a huge difference between a teacher and someone who is just a professional.

hamedabbasi
Автор

Only 25 mins in but had to stop and say thank you. Previously, could not understand the shared layout. Really, thank you. edit ..and the razor, thank you !

Автор

great work Tim, none of your videos never made me the explanation, the less technical words just perfect!

tobiowolawi
Автор

I don't know how I missed your channel. Such good quality tutorials, I can't thank you enough.

ArabDude
Автор

Awesome as always video tutorial from Tim! Thanks for sharing your knowledge and doing it in such a clear way!


For people who have a few years of professional software engineering under their belt, your videos are the absolute best for getting up to speed in a new framework. You don't labour over small details and provide just enough detail for people to work out what's happening behind the scenes themselves; trusting their experience. Thanks for making such awesome videos Sir

vasilisnikitaras
Автор

Marvelous! It was really amazing the way you demonstrate things. Thank you.

naodagere
Автор

Great presentation style!. Even after four years, this is the best tutorial on Asp.Net MVC!!

devsinghraja
Автор

Thank you! I have been having so much trouble with online-only learning due to the covid 19 school closures. If I didn't need a degree to put on my resume, I'm pretty sure I could learn everything from watching your channel. Your teaching style reminds me of a teacher I had years ago, I've been looking for a teacher like him ever since. You're a life saver.

nataliestorm
Автор

Great refresher on MVC. Really liked how you talked about the "Magic Code" I always hate when people brush over that stuff.

grizzlycougar