Master .Net Core Mvc: Build Market Management System .Net 8
Published 11/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.78 GB | Duration: 7h 28m
Published 11/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.78 GB | Duration: 7h 28m
Learn ASP.NET Core MVC, Entity Framework Core, SQL Server, ASP.NET Core Identity, Clean Architecture in .NET 8
What you'll learn
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
Requirements
Basic knowledge of C# (3 - 6 months of C# experience)
Basic knowledge of HTML
Basic knowledge of SQL
Visual Studio 2022
.NET 8
Description
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 patternLearn how to use Razor views and Tag Helpers to create dynamic web pagesLearn how to use Entity Framework Core and SQL Server to store and manipulate dataLearn how to implement authentication and authorization with Identity and policiesLearn how to adopt clean architecture and write maintainable and testable codeBuild a complete web application with ASP.NET Core MVC from scratchGet access to the source code and assignments for each sectionWho 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!
Overview
Section 1: Introduction
Lecture 1 Introduction
Lecture 2 1. Traditional Web Application Frameworks
Lecture 3 2. Why do we need a framework
Lecture 4 3. Understand the MVC Pattern
Lecture 5 4. Add Support for MVC framework
Lecture 6 5. Handle requests with Controllers
Lecture 7 6. Render HTML with Views
Lecture 8 7. Pass parameters to Action Methods
Lecture 9 8. Pass Model class to the view
Section 2: Implement Categories’ CRUD Operations
Lecture 10 9. Introduction of Seciton 2
Lecture 11 10. Understand Layout file and _ViewStart file
Lecture 12 11. Use static file middleware to apply bootstrap css styles
Lecture 13 12. Use sections in the layout file
Lecture 14 13. Use Static Repository to Store Data
Lecture 15 14. Use the Controller-Model-View triangle to implement a page
Lecture 16 15. Use Tag Helpers to create navigation Links
Lecture 17 16. Undersatnd the _ViewImports file
Lecture 18 17. Understand Model Binding in HttpGet action method
Lecture 19 18. Use Tag Helpers to help create a html form
Lecture 20 19. Handle HttpPost request
Lecture 21 20. Use Hidden field to store Id in the form
Lecture 22 21. Form Validation with DataAnnotation
Lecture 23 22. Assignment 1_ Add Category
Lecture 24 23. Assignment 1_ Answer
Lecture 25 24. Render Javascript in a Section
Lecture 26 25. Use partial view to deduplicate code
Section 3: Course Project: Implement Products CRUD
Lecture 27 26. [Important] Use the prepared Source Code
Lecture 28 27. Implement Products list
Lecture 29 28. Understand ViewModel
Lecture 30 29. Implement Add Product
Lecture 31 30. Implement Edit Product
Lecture 32 31. Create the Product PartialView
Lecture 33 32. Implement Delete Product
Section 4: Implement the Cashier’s Console
Lecture 34 33. Requirements of the Cashier_s Console
Lecture 35 34. Use partial views to make code more manageable
Lecture 36 35. Populate Categories Dropdown
Lecture 37 36. Create a partial view for rendering the product list
Lecture 38 37. Dynamically Render Partial View with JQuery
Lecture 39 38. Use css _ Jquery to highlight selected product
Lecture 40 39. Assignment 2_ Display Selected Product Details
Lecture 41 40. Assignment 2_ Answer
Lecture 42 41. Implement the Sales form
Lecture 43 42. Assignment 3_ Quantity field Validation
Lecture 44 43. Assignment 3_ Answer _ Fixing display issues
Lecture 45 44. Custom Validation with ValidationAttribute
Lecture 46 45. Complete the selling process _ add sales transactions
Lecture 47 46. What is ViewComponent
Lecture 48 47. Implement Transactions ViewComponent
Lecture 49 48. Assignment 4_ Transactions Report
Lecture 50 49. Assignment 4_ Answer
Lecture 51 50. Print Report with Javascript and CSS
Section 5: Adopting Clean Architecture
Lecture 52 51. What is Clean Architecture and Why
Lecture 53 52. Use Case Driven Development
Lecture 54 53. Implement a In-Memory Data Store Plugin
Lecture 55 54. Use Dependency Injection to connect the dots
Lecture 56 55. Other use cases implemented
Section 6: Use Entity Framework Core and SQL Server
Lecture 57 56. EntityFramework Core and Nuget Packages
Lecture 58 57. Install Nuget Packages for EF Core
Lecture 59 58. Create Database Context
Lecture 60 59. Run DB Migration
Lecture 61 60. Implement the Category SQL Plugin
Lecture 62 61. Implement the Product SQL Plugin
Lecture 63 62. Implement the Transaction SQL Plugin
Lecture 64 63. Dynamic Dependency Injection
Section 7: Authentication & Authorization
Lecture 65 64. Scaffold ASP.NET Core Identity
Lecture 66 65. Run DB Migration for Identity
Lecture 67 66. Protect the App with Identity
Lecture 68 67. Use the LoginPartial view
Lecture 69 68. Policy based authorization
Lecture 70 69. Fix an bug related to Authorization
Anyone who wants to learn ASPNET MVC core (.NET 8) from Basics to Advance,Anyone who already learned ASPNET MVC and want to brush up with latest .NET version. (.NET 8),Anyone who already learned ASPNET MVC and want to have a good project to practice (Supermarket Management System),Anyone who wants to learn to use Clean Architecture in an ASPNET Core project.