Asp.Net 8 Cqrs Pattern With Real Time Voting Proect

Posted By: ELK1nG

Asp.Net 8 Cqrs Pattern With Real Time Voting Proect
Published 8/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.13 GB | Duration: 4h 18m

CQRS with Clean Architecture based complete online voting project(.NET Core 8 Project)

What you'll learn

ASP. NET 8 Complete Guide with Clean Architecture and CQRS pattern. In complete tutorial i am using scratched based project that named is Online Voting System.

Online Voting Project have many modules like you can enter political party details , vote counts , authentication and authorization and layered based project.

Students learn lots of thing about clean architecture and CQRS pattern, how to divide project responsiblity in diffrent clean architecture layer.

Student start this project from scratch. I mean start it from Domain Layer where we have some entiies and use cases of the project. This is simple class library

Project. Next start from Infrastructure layer , where we have EFCore code to communicate with Database. In complete code i use EFCore model first approach.

Next layer start with Application layer , where we start Queries and QueryHandlers also Command and Command handlers.

Now with the help of MVC web Project ,we can communicate with Application layer and you can say complete project.

I use identity for authication and authorization. In this project we have two role , one is admin and other is voter

Requirements

You must have Basic C# knowledge

Description

ASP. NET 8 Complete Guide with Clean Architecture and CQRS pattern. In complete tutorial i am using scratched based project that named is Online Voting System.Online Voting Project have many modules like you can enter political party details , vote counts , authentication and authorization and layered based project.Students learn lots of thing about clean architecture and CQRS pattern, how to divide project responsiblity in diffrent clean architecture layer.Student start this project from scratch. I mean start it from Domain Layer where we have some entiies and use cases of the project. This is simple class library.Project. Next start from Infrastructure layer , where we have EFCore code to communicate with Database. In complete code i use EFCore model first approach.Next layer start with Application layer , where we start Queries and QueryHandlers also Command and Command handlers.Now with the help of MVC web Project ,we can communicate with Application layer and you can say complete project.I use identity for authication and authorization. In this project we have two role , one is admin and other is voter.Students learn lots of things from this course– How CQRS Works , How to Design Layers for Real time project. How layers are communicate to each others– How to design layers according to Clean Architecture.

Overview

Section 1: CQRS Introduction

Lecture 1 Introduction

Lecture 2 Create new web project in Visual Studio 2022

Lecture 3 Clean Architecture Project Layers

Lecture 4 Online Voting Project Demo

Lecture 5 Source Code

Section 2: Domain Layer

Lecture 6 Voter Entity

Lecture 7 Vote Entity

Lecture 8 VoteGroup Entity - Candidate Party Group

Section 3: Infrastructure Layer

Lecture 9 Data Context Class

Lecture 10 Connection String , Register Connection String and Migration

Section 4: Domain Layer - Project Use Cases

Lecture 11 Generic Repository

Lecture 12 Other Use Cases for Project

Section 5: Continue With Infrastructure Layer

Lecture 13 Implement Repositories

Lecture 14 Unit of work Implementations

Section 6: Application Layer : Command and Handlers

Lecture 15 Register User Command

Lecture 16 Register User Command Handler

Lecture 17 Login User Command and Handler

Lecture 18 Logout User Command and Handler

Lecture 19 Update Voter Authorization Command and Handler

Lecture 20 Create VoteGroup Command and Handler

Lecture 21 Update VoteGroup Command and Handler

Lecture 22 Delete Vote Group Command and Handler

Lecture 23 Cast Vote Command and Handler

Section 7: Application Layer : ViewModels

Lecture 24 Register and Login ViewModels

Section 8: Application Layer : Query and Handlers

Lecture 25 Get Vote Group Query and Handler

Lecture 26 Get Vote Group By Id Query and Handler

Section 9: UI Layer : Controllers and Views

Lecture 27 Account Controller - Register Get and Post Method

Lecture 28 Account Controller - Login Get and Post Method

Lecture 29 Views For Account Controller

Lecture 30 Add Role and Default Admin

Lecture 31 Configure Services in Program File

Lecture 32 Run Voting Project and Check Database Values

Lecture 33 Check Voter and Admin Authentication

Section 10: Continue Application Layer : Queries and Handlers

Lecture 34 Voter View Model

Lecture 35 Get All Voter Query and Handler

Section 11: Continue UI Layer : Controllers and Views

Lecture 36 Get All Voters

Lecture 37 Update Authorization and Lock Voter Action Methods

Section 12: Continue Application Layer : Command

Lecture 38 Lock Voter command and Handlers

Section 13: Continue UI Layer : VoteGroup Controller and Views

Lecture 39 VoteGroup Controller

Lecture 40 Views for Votegroup

Section 14: Voting Controller and Views

Lecture 41 Voting Controller and Action Methods

Lecture 42 Views For Voting Controller

Section 15: Setup Theme and Complete Project

Lecture 43 Theme Setup Partial Page and Protect Routes

Beginners