Skip to content

joshisachin675/Angular7.1Core2.2

Repository files navigation

DotNetCoreArchitecture

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.2
  • ASP.NET Core 2.2
  • Entity Framework Core 2.2
  • SQL Server 2017
  • C# 7.3
  • SPA (Single Page Application)
  • Angular 7.1
  • Typescript 3.1
  • HTML5
  • CSS3
  • SASS (Syntactically Awesome Style Sheets)
  • UIkit
  • DDD (Domain-Driven Design)
  • Clean Code
  • SOLID Principles
  • Dependency Injection
  • Mapping
  • Logging
  • Unit Test
  • JWT (Json Web Token)
  • Response Caching
  • Response Compression (Brotli)
  • Code Analysis (Ruleset, TSLint and Codacy)
  • Swagger

Code Analysis

Codacy

Layers

Screenshot

Web: This layer contains the api (ASP.NET Core) and the frontend (Angular).

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

Domain: This layer contains the requirements and the business logic.

Model: This layer is responsible for modeling the domain objects.

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

CrossCutting: This layer provides generic features for other layers.

IoC: This layer provides inversion of control for other layers.

Nuget Packages

Source: https://github.com/rafaelfgx/DotNetCore

Published: https://www.nuget.org/profiles/rafaelfgx

Projects

Screenshot

Microservices Example

Screenshot

Application

Screenshot

Domain

Screenshot

Repository

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

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: Kestrel.

Database: SQL Server 2017 Developer Edition.

Swagger

Screenshot

Run Command Line

  1. Install latest .NET Core SDK.

  2. Open directory source\Web\Frontend in command line and execute npm run restore.

  3. Open directory source\Web in command line and execute dotnet run.

  4. Open https://localhost:8090.

Run Visual Studio Code

  1. Install latest .NET Core SDK.

  2. Install C# Extension.

  3. Open directory source\Web\Frontend in command line and execute npm run restore.

  4. Open source directory in Visual Studio Code.

  5. Press F5.

Run Visual Studio 2017

  1. Install latest .NET Core SDK.

  2. Open directory source\Web\Frontend in command line and execute npm run restore.

  3. Open source\DotNetCoreArchitecture.sln in Visual Studio.

  4. Set DotNetCoreArchitecture.Web as startup project.

  5. Press F5.

Run Docker

  1. Install and configure Docker.

  2. Execute docker-compose up --build -d --force-recreate in root directory.

  3. Open http://localhost:8095.

Host and Deploy

Microsoft host and deploy ASP.NET Core

Visual Studio Extensions

CodeMaid

Roslynator

SonarLint

TSLint

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published