Skip to content

This project is an example of architecture using new technologies and best practices. The goal is to learn and share knowledge and use it as reference for new projects.

License

akinbicer/n-tier-architecture

Repository files navigation

N-Tier Architecture

This project is an example of architecture using new technologies and best practices. The goal is to learn and share knowledge and use it as reference for new projects.

Technologies and Libraries

  • .NET 8
  • ASP.NET Core 8.0
  • Swagger UI
  • Entity Framework Core
  • Npgsql Entity Framework Core Provider (PostgreSQL)
  • AutoMapper
  • Autofac
  • FluentValidation
  • Log4net

Principles and Patterns

  • Clean Architecture
  • Clean Code
  • SOLID Principles
  • Fail Fast Principle
  • Common Closure Principle
  • Common Reuse Principle
  • Acyclic Dependencies Principle
  • Result Pattern
  • Folder-By-Feature Structure
  • Separation of Concerns

Benefits

  • Simple and evolutionary architecture.
  • Standardized and centralized flow for validation, log, security, return, etc.
  • Avoid cyclical references.
  • Avoid unnecessary dependency injection.
  • Segregation by feature instead of technical type.
  • Single responsibility for each request and response.

Issues, Feature Requests or Support

Please use the New Issue button to submit issues, feature requests or support issues directly to me. You can also send an e-mail to akin.bicer@outlook.com.tr.