@manhng

Welcome to my blog!

CQRS Raw SQL and DDD with Dapper

January 5, 2022 16:47

CQRS Raw SQL and DDD with Dapper (edit)

  • MyProject.Api
  • MyProject.Application
  • MyProject.Infrastructure
  • MyProject.Domain

Simple CQRS implementation with raw SQL and DDD

Simple CQRS implementation with raw SQL and DDD - Kamil Grzybek

Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture

kgrzybek/sample-dotnet-core-cqrs-api: Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture. (github.com)

  • DDD
  • Clean Architecture
  • Unit Testing
  • Integration Testing
  • Dapper
  • Sql Server
  • Serilog
  • Microsoft.NET.Test.Sdk
  • NUnit3T
  • NSubstitut

sample-dotnet-core-cqrs-api/SampleProject.IntegrationTests.csproj at master · gtechsltn/sample-dotnet-core-cqrs-api (github.com)

ASP.NET Core Web API: Plugin Controllers and Services

The middle ground between monolithic applications and an explosion of microservices
This is a concise guide on how to implement plugin controllers and share services between the ASP.NET Web API application and the plugin.

ASP.NET Core Web API: Plugin Controllers and Services - CodeProject

Authorization

October 14, 2021 09:18

Authorization (edit)

Use JWT Bearer Authorization in Swagger OpenAPI

Use JWT Bearer Authorization in Swagger OpenAPI | FreeCode Spot

Useful ClaimsPrincipal extension methods I use in my projects | Jerrie Pelser's Blog

Basic Authentication in Swagger .NET 5

Basic Authentication in Swagger .NET 5 | by Chathurangi Jayawardana | Oct, 2021 | Medium

Configuring Swagger UI in ASP.NET Core Web API | by Chathurangi Jayawardana | Oct, 2021 | Medium

Migration to ASP.NET Core in .NET 6

.NET 6 ASP.NET Core Migration (github.com)

Maybe it's time to rethink our project structure with .NET 6

Maybe it's time to rethink our project structure with .NET 6 - Tim Deschryver

Vertical Slice Architecture

Vertical Slice Architecture (jimmybogard.com)

The simplicity of ASP.NET Endpoints - Tim Deschryver

https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html

Vertical Slice Architecture (jimmybogard.com)

Build a ToDo list application using .Net 5.0 Web API and Microsoft SQL Server

Build a ToDo list application using .Net 5.0 Web API and Microsoft SQL Server | by Sakhile Msibi | Sep, 2021 | Medium

gtechsltn/ToDoListApp (github.com)

Clean Architecture

April 26, 2021 13:23

Clean Architecture (edit)

Clean Architecture with ASP.NET Core 6.0

https://github.com/fullstackhero/dotnet-webapi-boilerplate 

https://github.com/jasontaylordev/CleanArchitecture

https://github.com/ardalis/CleanArchitecture

https://www.eginnovations.com/blog/top-7-net-application-performance-problems/

Clean Architecture with .NET Core & React+Redux

https://github.com/ivanpaulovich/clean-architecture-manga

https://github.com/trungcaot/MsCoreOne

https://github.com/AnkitSharma-007/CRUD.ASPCore.Reactjs.WebAPI.EF

https://github.com/aliakseiherman/eixample

.NET Core + Oracle Database

https://www.taithienbo.com/connect-to-oracle-database-from-net-core-application/

https://www.talkingdotnet.com/create-net-core-application-using-entity-framework-core-with-oracle/

Videos

Clean Architecture with .NET Core: Getting Started – Jason Taylor

Clean Architecture with ASP.NET Core 3.0 - Jason Taylor - NDC Sydney 2019 - YouTube

Domain

This will contain all entities, enums, exceptions, interfaces, types and logic specific to the domain layer.

Application

This layer contains all application logic. It is dependent on the domain layer, but has no dependencies on any other layer or project. This layer defines interfaces that are implemented by outside layers. For example, if the application need to access a notification service, a new interface would be added to application and an implementation would be created within infrastructure.

Infrastructure

This layer contains classes for accessing external resources such as file systems, web services, smtp, and so on. These classes should be based on interfaces defined within the application layer.

WebUI

This layer is a single page application based on Angular 10 and ASP.NET Core 5. This layer depends on both the Application and Infrastructure layers, however, the dependency on Infrastructure is only to support dependency injection. Therefore only Startup.cs should reference Infrastructure.

Technologies

Aside from .NET Core, numerous technologies are used within this solution including:

DevIQ:

Repository Pattern | DevIQ

Guard Clause | DevIQ

Single Responsibility Principle | DevIQ

State Design Pattern | DevIQ

Singleton | DevIQ

Builder Design Pattern | DevIQ

Adapter Design Pattern | DevIQ

Jason Taylor:

Jason Taylor – Solution Architect

JASON TAYLOR

Hi, I’m Jason. I write this blog, speak at events, and train technology professionals. I’m an SSW Solution Architect and I specialise in teaching and building enterprise applications with ASP.NET Core, EF Core, and Angular

GitHub - jasontaylordev/CleanArchitecture: Clean Architecture Solution Template for Angular 10 and .NET 5

GitHub - jasontaylordev/NorthwindTraders: Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.

Steve Smith:

GitHub - ardalis/CleanArchitecture: A starting point for Clean Architecture with ASP.NET Core

GitHub - ardalis/ApiEndpoints: A project for supporting API Endpoints in ASP.NET Core web applications.

GitHub - ardalis/GuardClauses: A simple package with guard clause extensions.

About the Talk: ASP.NET Core provides better support for clean, testable, maintainable architectures than any of its predecessors. Learn the underlying principles that apply to project/solution organization, how best to arrange your projects to support clean code, and how to refactor existing solutions toward this architecture. Examples will use ASP.NET Core but the principles covered apply to all languages and platforms.

About the Speaker: Steve Smith (@ardalis) is an entrepreneur and software developer with a passion for building quality software as effectively as possible. Steve has published several courses on Pluralsight, covering DDD, SOLID, design patterns, and software architecture. He’s a Microsoft ASP.NET MVP and Insider, a frequent speaker at developer conferences, an author, and a trainer. Steve works with companies that want to avoid the trap of technical debt by helping their teams deliver quality software, quickly. Steve and his team have been described by clients as a “force multiplier”, amplifying the value of existing development teams. Steve’s client list includes Microsoft, Quicken Loans, Celina Insurance, and many other satisfied customers.

Shivendra Odean

Software Architecture — The Onion Architecture | by Shivendra Odean | Medium

GitHub - shivendraodean/architecture-onion

Categories

Recent posts