ASP.NET Core MVC relies on middleware components that add functionality into an application. Throughout the class you’ll learn details about the role middleware plays, understand how to configure middleware components and learn how you can build custom middleware. You’ll also learn about the new dependency injection (DI) functionality built-into the framework and see how it can be used to create more maintainable apps that flexible to change.
After discussing middleware and DI, the course will show how to define MVC routes (using middleware), how to create controllers and how to render data using Razor syntax, build Razor Page applications and explore new tag helper and view component functionality. Once MVC concepts are covered the course will show how Entity Framework Core can be used to query databases. This includes showing how to create custom DbContext and model classes, write LINQ queries and building a repository layer to encapsulate data access code. Finally, you’ll learn ASP.NET Core MVC can be used to create RESTful services that client-side libraries and frameworks such as jQuery, Angular or others can call to retrieve and work with data.
If you’re looking for a hands-on look at what the ASP.NET Core MVC framework provides then this class is for you!
- NET Core MVC Overview
- The Role of Middleware
- Using Dependency Injection
- Creating Controllers
- Creating Views
- Using Entity Framework Core
- Creating RESTful Services
This course is intended for any developer interested in building web applications using ASP.NET Core MVC.
What You Will Learn
- Understand the role of middleware
- Learn how to use dependency injection
- Understand the role of model classes
- Learn the how to create MVC and Web API controllers
- Understand the role of view model classes and strongly typed views
- Customize routes using middleware
- Learn how to create custom tag helpers and view components
- Leverage model binding with action parameters
- Understand how to validate data using data annotations
- Create master layout pages and custom sections
- Learn how to write LINQ and Lambda queries
- Query databases using Entity Framework Core
- Learn how to create RESTful Services
- Call into RESTful Services using Http/Ajax