Tags
Language
Tags
March 2025
Su Mo Tu We Th Fr Sa
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
Attention❗ To save your time, in order to download anything on this site, you must be registered 👉 HERE. If you do not have a registration yet, it is better to do it right away. ✌

( • )( • ) ( ͡⚆ ͜ʖ ͡⚆ ) (‿ˠ‿)
SpicyMags.xyz

.Net - Clean Architecture Solutions

Posted By: ELK1nG
.Net - Clean Architecture Solutions

.Net - Clean Architecture Solutions
Published 3/2025
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.48 GB | Duration: 6h 40m

Developing .NET Web Application with Clean Architecture Guidelines

What you'll learn

Clean Architecture – Build a well-structured and scalable API

Response Wrapper Pattern – Standardize your API responses with global response wrappers

Entity Framework Core – Master migrations, entity relationships, lazy & eager loading

Repository Pattern – Implement abstraction for data access

CQRS & MediatR – Use custom pipeline behaviors to handle commands and queries efficiently

Redis Caching – Improve performance by integrating distributed caching

FluentValidation – Apply powerful request validation techniques

Mapster – Simplify object mapping with high-performance transformations

Hybrid Endpoints – Combine Controllers and Minimal API for optimal flexibility

Configurations & Dependency Injection – Manage app settings and service lifetimes effectively

MSSQL Database – Use SQL Server as your database backend

Requirements

Basic Knowledge of C# and .NET – Familiarity with C# syntax, object-oriented programming, and .NET fundamentals is recommended.

Understanding of Web APIs – Some experience with building or consuming APIs will be helpful but not mandatory.

Basic SQL Knowledge – A fundamental understanding of relational databases (MSSQL)

Visual Studio Installed – Any modern IDE that supports .NET development (Visual Studio 2022 recommended).

SQL Server Installed – You’ll need Microsoft SQL Server (or SQL Server Developer Edition recommended) for database operations.

.NET SDK Installed – Ensure you have the latest .NET 8 SDK installed for development.

No prior experience with MediatR, CQRS, Redis, or FluentValidation is required! Everything will be explained from the ground up.

Description

Unlock the full potential of .NET 8 Web API development by mastering Clean Architecture, advanced patterns, and industry best practices. This course is designed for developers who want to build scalable, maintainable, and high-performing APIs using the latest technologies and design principles.From structuring your projects with Clean Architecture to implementing CQRS with MediatR, this course covers everything you need to build professional-grade APIs. You’ll learn how to manage data persistence with Entity Framework Core, implement caching with Redis, use FluentValidation for request validation, and optimize your API with Hybrid Endpoints (Controllers & Minimal API).What You'll LearnClean Architecture – Build a well-structured and scalable APIResponse Wrapper Pattern – Standardize your API responses with global response wrappersEntity Framework Core – Master migrations, entity relationships, lazy & eager loadingRepository Pattern – Implement abstraction for data accessCQRS & MediatR – Use custom pipeline behaviors to handle commands and queries efficientlyRedis Caching – Improve performance by integrating distributed cachingFluentValidation – Apply powerful request validation techniquesMapster – Simplify object mapping with high-performance transformationsHybrid Endpoints – Combine Controllers and Minimal API for optimal flexibilityConfigurations & Dependency Injection – Manage app settings and service lifetimes effectivelyMSSQL Database – Use SQL Server as your database backendThis course is beginner-friendly for backend developers but assumes basic programming knowledge in C#. If you’re new to some topics like Clean Architecture, CQRS, or Redis, don’t worry—we’ll break them down step by step!

Overview

Section 1: Introduction

Lecture 1 Clean Architecture Overview

Lecture 2 What we shall develop

Lecture 3 Visual Studio and SQL Server important links

Section 2: Solution Design

Lecture 4 The Solution

Lecture 5 Domain Layer

Lecture 6 Application Layer

Lecture 7 Infrastructure Layer

Lecture 8 Presentation (WebApi) Layer

Lecture 9 Project References

Lecture 10 Core Folder

Lecture 11 Turn Off Nullable Warnings

Lecture 12 First Api Launch

Section 3: EntityFrameworkCore Migration

Lecture 13 Property Entity

Lecture 14 Agent Entity

Lecture 15 EntityFrameworkCore Packages

Lecture 16 Database Context

Lecture 17 DbContext Dependency Injection Grouping

Lecture 18 Renaming Migration History Table

Lecture 19 Add infrastructure to DI

Lecture 20 Connection String

Lecture 21 Database Migration

Section 4: Global Response Wrapper Pattern

Lecture 22 Response Wrapper Part 1

Lecture 23 Response Wrapper Part 2

Lecture 24 Response Wrapper Part 3

Lecture 25 Response Wrapper Part 4

Lecture 26 Response Wrapper Part 5

Lecture 27 Response Wrapper - Sample testing

Section 5: Request Response Pattern

Lecture 28 Requests and Responses models intro

Lecture 29 Create Agent Request Model

Lecture 30 Update Agent Request Model

Lecture 31 Create and Update Property Request Models

Lecture 32 Agent and Property Response Models

Lecture 33 Why not expose domain entities

Section 6: Command and Query Responsibility Segregation (CQRS)

Lecture 34 MediatR and CQRS Intro

Lecture 35 Folder Structures

Lecture 36 IAgentService - Create

Lecture 37 IAgentService - Update and Delete

Lecture 38 IAgentService - GetById, GetAll and DoesExist

Lecture 39 Create Agent Command

Lecture 40 Create Agent Command Handler

Lecture 41 Create Agent Command Handler - Manual Mapping

Lecture 42 Create Agent Command Handler - Library Mapping

Lecture 43 Add MediatR into Dependency Injection Container

Lecture 44 Update Agent Command

Lecture 45 Delete Agent Command

Lecture 46 Get Agent By Id Query

Lecture 47 Get Agents Query

Section 7: Service Implementations

Lecture 48 AgentService Creation

Lecture 49 AgentService - Create Agent

Lecture 50 AgentService - Delete Agent

Lecture 51 AgentService - Does Exist

Lecture 52 AgentService - Get Agents

Lecture 53 AgentService - Get Agent By Id

Lecture 54 AgentService - Update Agent

Lecture 55 Agent services in Dependency Injection Container

Section 8: Controller Endpoints

Lecture 56 Base Controller - Injecting ISender

Lecture 57 Agent Controller endpoint - Create Agent

Lecture 0 Create Agent Endpoint Testing - Pass

Lecture 0 Update Agent endpoint

Lecture 0 Delete and Agent endpoint

Lecture 0 Get Agent By Id Endpoint

Lecture 0 Get Agents Endpoint

Lecture 0 Agents endpoints testing - success

Lecture 0 IPropertyService definition

Lecture 0 PropertyService - Create and Delete Property

Lecture 0 PropertyService - Does exist, Get by Id, Get All and Update Property

Section 9: Property Features - CQRS

Lecture 0 Create Property Command

Lecture 0 Update Property Command

Lecture 0 Delete Property Command

Lecture 0 Get Property By Id Query

Lecture 0 Get All Properties Query

Lecture 58 IPropertyService - GetByAgentId

Lecture 59 Get Properties for Agent Query

Section 10: Minimal Api Endpoints

Lecture 60 Minimal Api endpoint - Create Property Part 1

Lecture 61 Minimal Api endpoint - Create Property Part 2

Lecture 62 Minimal Api endpoint - Grouping

Lecture 63 PropertyService into Dependency Injection Container

Lecture 64 Minimal Api endpoint testing - Create property success

Lecture 65 Property Listing Date - Bug Fix

Lecture 66 Minimal Api - Update Property Endpoint

Lecture 67 Minimal Api - Delete Property Endpoint

Lecture 68 Minimal Api - Get Property By Id Endpoint

Lecture 69 Minimal Api - Get Properties Endpoint

Lecture 70 Minimal Api - Get Properties for Agent Endpoint

Lecture 71 Minimal Api - Property Endpoints Cleanup

Lecture 72 Minimal Api endpoints testing - Issue Found

Lecture 73 Minimal Api endpoints testing - Clarity

Section 11: Request and Domain Level Validations via Pipeline

Lecture 74 Validation - FluentValidation Intro

Lecture 75 FluentValidation Package and Dependency Injection

Lecture 76 Create Property Command Validation Part 1

Lecture 77 Create Property Command Validation Part 2

Lecture 78 Validation Pipeline Behaviour part 1

Lecture 79 Validation Pipeline Behaviour part 2

Lecture 80 ValidationPipelineBehaviour into Dependency Injection Container

Lecture 81 ValidationPipelineBehaviour Test 1

Lecture 82 ValidationPipelineBehaviour Test 2 - Flow explanation

Lecture 83 ValidationPipelineBehaviour - Segregation

Lecture 84 ValidationPipelineBehaviour - Testing Post segregation

Section 12: Caching

Lecture 85 Caching Strategy Explanation

Lecture 86 Redis Cache Packages

Lecture 87 Cache Important Links

Lecture 88 CacheSettings model

Lecture 89 CacheSettings Configuration values

Lecture 90 CacheSettings into Dependency Injection Container

Lecture 91 Redis Cache into Dependency Injection Container

Lecture 92 ICacheable interface

Lecture 93 CachePipelineBehaviour part 1

Lecture 94 CachePipelineBehaviour part 2

Lecture 95 CachePipelineBehaviour part 3

Lecture 96 CachePipelineBehaviour part 4

Lecture 97 CachePipelineBehaviour part 5

Lecture 98 GetPropertyByIdQuery Cache usage

Lecture 99 CachePipelineBehaviour into Dependency Injection Container

Lecture 100 CachePipelineBehaviour Testing - Success

Lecture 101 Endpoint Documentation

Section 13: EntityFrameworkCore Lazy and Eager Loading

Lecture 102 Lazy and Eager Load in EntityFramewrokCore - Explanation

Lecture 103 Eager Loading Loop Cycles - Explanation

Lecture 104 Eager Loading - Stack overflow sample problem

Lecture 105 Eager Loading - Stack overflow sample problem solution

Lecture 106 Eager Loading - Stack overflow sample problem solution testing - pass

Lecture 107 Eager Loading - Get Agent By Id

Lecture 108 Eager Loading - Get All Properties

Lecture 109 Eager Loading - Get Properties by Agent Id and Get Property by Id

Lecture 110 Eager Loading Complete test- Pass

Lecture 111 Cache Invalidation Challenge

.NET developers looking to level up their Web API skills,Backend engineers aiming to build scalable and maintainable APIs,Developers transitioning to enterprise-grade API design,Software engineers preparing for real-world API projects