Mô tả

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? 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 8, 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 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. You will learn how to use 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.

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. You will also learn how to create a sales form and a transactions report with CSS for printing.

Then, you will adopt clean architecture and 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.

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 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 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 8. 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!



Bạn sẽ học được gì

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

Yêu cầu

  • Basic knowledge of C# (3 - 6 months of C# experience)
  • Basic knowledge of HTML
  • Basic knowledge of SQL
  • Visual Studio 2022
  • .NET 8

Nội dung khoá học

8 sections

Introduction

10 lectures
0. Introduction
04:46
1. Traditional Web Application Frameworks
01:34
2. Why do we need a framework
07:44
3. Understand the MVC Pattern
03:18
4. Add Support for MVC framework
02:56
5. Handle requests with Controllers
04:42
6. Render HTML with Views
09:23
7. Pass parameters to Action Methods
06:56
8. Pass Model class to the view
06:43
Source Code on GitHub
00:18

Implement Categories’ CRUD Operations

17 lectures
9. Introduction of Seciton 2
00:48
10. Understand Layout file and _ViewStart file
06:44
11. Use static file middleware to apply bootstrap css styles
05:41
12. Use sections in the layout file
04:52
13. Use Static Repository to Store Data
04:57
14. Use the Controller-Model-View triangle to implement a page
05:15
15. Use Tag Helpers to create navigation Links
07:22
16. Undersatnd the _ViewImports file
02:37
17. Understand Model Binding in HttpGet action method
07:02
18. Use Tag Helpers to help create a html form
06:01
19. Handle HttpPost request
04:53
20. Use Hidden field to store Id in the form
03:40
21. Form Validation with DataAnnotation
07:52
22. Assignment 1_ Add Category
02:19
23. Assignment 1_ Answer
10:40
24. Render Javascript in a Section
08:38
25. Use partial view to deduplicate code
08:08

Course Project: Implement Products CRUD

7 lectures
26. [Important] Use the prepared Source Code
03:07
27. Implement Products list
07:05
28. Understand ViewModel
02:06
29. Implement Add Product
14:58
30. Implement Edit Product
09:12
31. Create the Product PartialView
04:11
32. Implement Delete Product
06:10

Implement the Cashier’s Console

18 lectures
33. Requirements of the Cashier_s Console
02:42
34. Use partial views to make code more manageable
03:58
35. Populate Categories Dropdown
03:02
36. Create a partial view for rendering the product list
06:48
37. Dynamically Render Partial View with JQuery
07:09
38. Use css _ Jquery to highlight selected product
07:10
39. Assignment 2_ Display Selected Product Details
03:38
40. Assignment 2_ Answer
05:55
41. Implement the Sales form
05:38
42. Assignment 3_ Quantity field Validation
00:43
43. Assignment 3_ Answer _ Fixing display issues
11:36
44. Custom Validation with ValidationAttribute
08:20
45. Complete the selling process _ add sales transactions
09:12
46. What is ViewComponent
08:23
47. Implement Transactions ViewComponent
06:47
48. Assignment 4_ Transactions Report
01:20
49. Assignment 4_ Answer
12:18
50. Print Report with Javascript and CSS
06:22

Adopting Clean Architecture

5 lectures
51. What is Clean Architecture and Why
10:34
52. Use Case Driven Development
16:55
53. Implement a In-Memory Data Store Plugin
05:53
54. Use Dependency Injection to connect the dots
12:28
55. Other use cases implemented
04:14

Use Entity Framework Core and SQL Server

8 lectures
56. EntityFramework Core and Nuget Packages
04:00
57. Install Nuget Packages for EF Core
03:43
58. Create Database Context
06:27
59. Run DB Migration
11:08
60. Implement the Category SQL Plugin
04:19
61. Implement the Product SQL Plugin
04:51
62. Implement the Transaction SQL Plugin
04:35
63. Dynamic Dependency Injection
10:28

Authentication & Authorization

6 lectures
64. Scaffold ASP.NET Core Identity
07:44
65. Run DB Migration for Identity
05:04
66. Protect the App with Identity
12:54
67. Use the LoginPartial view
04:16
68. Policy based authorization
10:18
69. Fix an bug related to Authorization
04:51

BONUS SECTION

1 lectures
Bonus Lecture
00:12

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.