Skip to content

Serhatkacmaz/.Net7-ClassicalArchitecture-BlogSite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlogSite

Software Architecture

BlogSiteArchitecture drawio (9)

Web Application Images

Login and register login

Home Home

User Reaction blogOyla

Blog Reading Page blogIcerek

User Dashboard userHome

Admin Dashboard adminIndex

Solution Structure

Screenshot 2023-05-18 182806

Database Diagram

BlogSiteDB drawio (4)

Code First

The Entity Framework uses Code First to create the project's database on a code-based basis.

N-Layer

Organizes the project according to the principle of N-Layer architecture. It facilitates the maintenance and scalability of the code by making a clear Decoupling of responsibilities between layers.

JWT Token

It uses JSON Web Token (JWT) for authentication and authorization. It provides user authentication in Web APIs and provides security.

Unit Of Work Pattern

It uses the Unit of Work design pattern to manage operations as a group. It provides consistency by grouping database operations, such as initializing, saving, and retrieving a transaction.

Options Pattern

It uses the Options Pattern to edit the configuration values. This collects the application configuration in a separate class and facilitates access to the configuration values.

FluentValidation

It uses the FluentValidation library for input validation. It provides a useful method for validating entries and handling errors.

AutoMapper

It uses the AutoMapper library to facilitate data mapping operations between objects Decently. Simplifies the exchange of data between D Dec (Data Transfer Objects) and model objects.

AutoFac

It uses the AutoFac library for Dependency Injection. It manages the process of object creation and solving dependencies and improves the testability of the code.

ASP.NET Core Web API

To create RESTful APIs ASP.NET It uses the Core Web API framework.

ASP.NET Core Web MVC

To provide a web-based user interface ASP.NET It uses the Core Web MVC framework.

Repository Pattern

Implements the Repository design pattern for database operations. It is used to abstract database operations and increase the testability of code.

Static Factory Pattern

It uses a static factory class that performs object creation operations. This makes the object creation process centralized and makes the code more readable and easier to maintain.