Course Overview
Are you ready to create amazing web applications with the latest and greatest technology from Microsoft? Do you want to get hands-on experience with the Model-View-Controller (MVC) pattern and learn how to craft dynamic web pages with Razor views, Tag Helpers and jQuery in ASP.NET CORE? Do you want to discover how to use Entity Framework Core and SQL Server to work with data? Do you want to secure your web apps with ASP.NET Core Identity and policies? Do you want to follow clean architecture and write code that is easy to maintain and test?
If any of these questions resonate with you, then you are in the right place!
What will this course teach you?
In this course, you will learn how to develop web applications with ASP.NET Core MVC using .NET 10, the newest version of the .NET framework core. You will start with the fundamentals of MVC and create a simple web app without a framework.
Then, you will add ASP.NET Core MVC framework support and learn how to handle requests with controllers, render HTML with views, pass parameters to action methods, and create model classes to load data.
Next, you will implement CRUD (Create, Read, Update, Delete) operations for categories and products using a static repository in ASP.NET Core MVC.
You will learn how to use ASP.NET Core Tag Helpers to create navigation links, forms, and hidden fields.
You will also learn how to validate user input with data annotations and custom validation attributes in ASP.NET Core.
After that, you will work on the cashier’s console for the supermarket management system. You will use partial views, jQuery, and ViewComponents to create interactive and reusable UI components in ASP.NET Core MVC.
You will also learn how to create a sales form and a transactions report with CSS for printing.
Then, you will learn to adopt clean architecture and integrate it into your ASP.NET Core MVC project. You will refactor your code to follow the principles of separation of concerns, dependency inversion, and single responsibility.
You will learn how to organize your code into projects and layers, and how to use dependency injection to decouple your classes in your ASP.NET Core MVC app.
Next, you will use Entity Framework Core and SQL Server to replace your static repository with a real database.
You will learn how to use migrations, query data with LINQ, and update data with change tracking.
Finally, you will implement authentication and authorization with Identity and policies. You will learn how to scaffold Identity, create user accounts, roles, and permissions, and limit user access based on policies. You will also learn how to display the cashier name on the sales form.
What are the benefits of taking this course?
By taking this course, you will:
Gain a solid understanding of ASP.NET Core MVC and the MVC pattern
Learn how to use ASP.NET Core Razor views and Tag Helpers to create dynamic web pages
Learn how to use Entity Framework Core and SQL Server to store and manipulate data
Learn how to implement authentication and authorization with ASP.NET Core Identity and policies
Learn how to adopt clean architecture and write maintainable and testable code
Build a complete web application with ASP.NET Core MVC from scratch
Get access to the source code and assignments for each section
Who is this course for?
This course is for anyone who wants to learn how to develop web applications with ASP.NET Core MVC using .NET 10. You should have some basic knowledge of C# and HTML, but no prior experience with ASP.NET Core MVC is required.
So, what are you waiting for? Enroll now and start your journey to become an ASP.NET Core MVC developer!
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 10 bài · 54 phút
- 0. Introduction Học thử 4:35
- 1. Traditional Web Application Frameworks Học thử 7:39
- 2. Why do we need a framework Học thử 7:44
-
3. Understand the MVC Pattern 3:18
-
4. Add Support for MVC framework 2:56
-
5. Handle requests with Controllers 4:42
-
6. Render HTML with Views 9:23
-
7. Pass parameters to Action Methods 6:56
-
8. Pass Model class to the view 6:33
- Source Code on GitHub Học thử
Chương 2 Implement Categories’ CRUD Operations 17 bài · 1 giờ 38 phút
- 9. Introduction of Seciton 2 Học thử 0:48
- 10. Understand Layout file and _ViewStart file Học thử 6:44
- 11. Use static file middleware to apply bootstrap css styles Học thử 5:58
-
12. Use sections in the layout file 4:57
-
13. Use Static Repository to Store Data 4:57
-
14. Use the Controller-Model-View triangle to implement a page 5:15
-
15. Use Tag Helpers to create navigation Links 7:22
-
16. Undersatnd the _ViewImports file 2:37
-
17. Understand Model Binding in HttpGet action method 7:02
-
18. Use Tag Helpers to help create a html form 6:01
-
19. Handle HttpPost request 4:53
-
20. Use Hidden field to store Id in the form 3:40
-
21. Form Validation with DataAnnotation 7:52
-
22. Assignment 1_ Add Category 2:19
-
23. Assignment 1_ Answer 10:22
-
24. Render Javascript in a Section 8:38
-
25. Use partial view to deduplicate code 8:20
Chương 3 Course Project: Implement Products CRUD 7 bài · 54 phút
-
26. [Important] Use the prepared Source Code 3:07
-
27. Implement Products list 7:05
-
28. Understand ViewModel 2:06
-
29. Implement Add Product 14:58
-
30. Implement Edit Product 9:12
-
31. Create the Product PartialView 4:11
-
32. Implement Delete Product 13:47
Chương 4 Implement the Cashier’s Console 18 bài · 1 giờ 55 phút
-
33. Requirements of the Cashier_s Console 2:42
-
34. Use partial views to make code more manageable 3:58
-
35. Populate Categories Dropdown 3:02
-
36. Create a partial view for rendering the product list 6:48
-
37. Dynamically Render Partial View with JQuery 7:09
-
38. Use css _ Jquery to highlight selected product 7:10
-
39. Assignment 2_ Display Selected Product Details 3:34
-
40. Assignment 2_ Answer 5:55
-
41. Implement the Sales form 5:38
-
42. Assignment 3_ Quantity field Validation 0:43
-
43. Assignment 3_ Answer _ Fixing display issues 11:48
-
44. Custom Validation with ValidationAttribute 8:20
-
45. Complete the selling process _ add sales transactions 9:12
-
46. What is ViewComponent 8:03
-
47. Implement Transactions ViewComponent 8:34
-
48. Assignment 4_ Transactions Report 1:20
-
49. Assignment 4_ Answer 14:28
-
50. Print Report with Javascript and CSS 6:22
Chương 5 Adopting Clean Architecture 5 bài · 50 phút
-
51. What is Clean Architecture and Why 10:34
-
52. Use Case Driven Development 16:52
-
53. Implement a In-Memory Data Store Plugin 6:10
-
54. Use Dependency Injection to connect the dots 11:54
-
55. Other use cases implemented 4:14
Chương 6 Use Entity Framework Core and SQL Server 8 bài · 53 phút
-
56. EntityFramework Core and Nuget Packages 4:00
-
57. Install Nuget Packages for EF Core 3:46
-
58. Create Database Context 6:27
-
59. Run DB Migration 11:24
-
60. Implement the Category SQL Plugin 4:19
-
61. Implement the Product SQL Plugin 4:51
-
62. Implement the Transaction SQL Plugin 4:35
-
63. Dynamic Dependency Injection 13:23
Chương 7 Authentication & Authorization 6 bài · 48 phút
-
64. Scaffold ASP.NET Core Identity 6:33
-
65. Run DB Migration for Identity 5:21
-
66. Protect the App with Identity 16:43
-
67. Use the LoginPartial view 4:10
-
68. Policy based authorization 9:58
-
69. Fix a bug related to Authorization 4:51
Chương 8 BONUS SECTION 1 bài
-
Bonus Lecture
Requirment
-
Basic knowledge of C# (3 - 6 months of C# experience)
-
Basic knowledge of HTML
-
Basic knowledge of SQL
-
Visual Studio 2022
-
.NET 8
Outcomes
-
MVC Pattern
-
Handle request with Controllers
-
Render HTML with Views
-
Pass parameters to action methods
-
Create Model classes to load data
-
Tag Helpers
-
Validations with Data Annotation
-
Validations with custom validation attributes
-
Partial Views
-
Interactivity with partial views and jQuery
-
Create reusable component with ViewComponent
-
BootStrap v5
-
Use Css to control printing area
-
Use Clean Architecture to refactor existing code base.
-
Entity Framework Core (.NET 8)
-
SQL Server
-
Authentication & Authorization with ASPNET Core Identity
-
Policy based authorization
0 Student
2 Courses
0 review