MDIRashid / DotNetArchitecture

Architecture cross-platform with .NET Core 2.1.1, ASP.NET Core 2.1.1, Entity Framework Core 2.1.1, C#, Angular 6, DDD, SOLID, Code Analysis and others best practices and technologies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DotNetArchitecture

Solution to apply and share new knowledge and technologies and to serve as architecture for new projects.

Tools, Practices and Technologies

  • Cross-Platform (Windows, Linux, macOS)
  • Docker
  • Visual Studio 2017
  • Visual Studio Code
  • .NET Core 2.1.1
  • ASP.NET Core 2.1.1
  • Entity Framework Core 2.1.2
  • SQL Server 2017
  • MongoDB
  • C# 7.3
  • SPA (Single Page Application)
  • Angular 6.1.4
  • Typescript 2.9.2
  • HTML5
  • CSS3
  • SASS (Syntactically Awesome Style Sheets)
  • DDD (Domain-Driven Design)
  • SOLID Principles
  • Dependency Injection
  • Unit Test
  • JWT (Json Web Token)
  • Code Analysis (Ruleset for C# and TSLint for Typescript)

Build

Build Status

Code Analysis

Codacy

Layers

Screenshot

Web: This layer contains the user interface, responsible for interaction with the user to obtain and display data.

Application: This layer is the main entry point of the application.

Domain: This layer contains the requirements and the business logic, it is the core of the application.

Infrastructure: This layer isolates and abstracts the logic required for data persistence.

Model: This layer is responsible for modeling the domain classes according with the business context.

CrossCutting: This layer provides generic features for the other layers.

Tests: It is responsible for testing individual units of the code.

Projects

Screenshot

Application

Screenshot

Domain

Screenshot

Repository

Screenshot

Unit Test

Screenshot

ASP.NET Core + Angular

Screenshot

ASP.NET Core Startup

Screenshot

ASP.NET Core Controller

Screenshot

Angular Guard

Screenshot

Angular Error Handler

Screenshot

Angular HTTP Interceptor

Screenshot

Angular Service

Screenshot

Angular Component

Screenshot

ASP.NET Core + Angular + Entity Framework Core + SQL Server Performance

Screenshot

Specifications:

Processor: Intel Core I7 8700K Coffee Lake 8th-generation.

Memory: 16GB 2400Mhz DDR4.

Storage: Samsung Evo 960 SSD M2 250gb.

OS: Windows 10 Pro 64 bits.

Web Server: IIS 10.

Database: SQL Server 2017 Developer Edition.

Run Visual Studio Code

  1. Install .NET Core SDK.

  2. Install C# Extension.

  3. Open solution folder.

  4. Press F5.

Run Docker

  1. Execute docker-compose up --build -d --force-recreate in solution folder.

  2. Open http://localhost:8080.

Host and Deploy

Microsoft host and deploy ASP.NET Core

Visual Studio Extensions

CodeMaid

Roslynator

SonarLint

TSLint

About

Architecture cross-platform with .NET Core 2.1.1, ASP.NET Core 2.1.1, Entity Framework Core 2.1.1, C#, Angular 6, DDD, SOLID, Code Analysis and others best practices and technologies.

License:MIT License


Languages

Language:C# 71.6%Language:TypeScript 20.1%Language:HTML 6.9%Language:CSS 1.4%