lehmamic / AspNetCore-ReferenceSolution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reference Solution

AspNet Core Backend

Features

  • Correlation Id Logging
  • HttpClient Logging Extension (e.g. Correlation Id)
  • Serilog
  • Rebus Initialization
  • Automapper
  • Fluent Validation
  • Example Controller with Example HttpClient Api
  • HttpClient Factory mit Refit and Polly
  • DB Migration Tool

Angular Frontend

Create Angular Client Project

ng new demo-frontend --routing --skipGit --style=scss

Features

  • Proxy config to backend on port 5000
  • TSLint Rules
  • Correlation Id Interceptor (always adds a correlation id to the requests)
  • Date Http Interceptor (make sure Date properties are Date objects)
  • Translation with ngx-translate
  • Lazy loading modules
  • NgRx initialization

Build

The local and ci build is done with nuke build.

Install nuke build

dotnet tool install Nuke.GlobalTool --global

Setup nuke build

Features

  • Build, Lint, test Docker Image with Back- and Frontend
  • Setup Databases

Infrastructure

Features

  • Example EFK Stack for Docker Swarm
  • Example Traefik for Docker Swarm
  • Example Portainer for Docker Swarm

Documentation

Features

  • Example folder structure (from Simon Brown)
  • Architecture decision record template

About


Languages

Language:C# 69.6%Language:TypeScript 17.2%Language:Groovy 3.5%Language:Shell 3.2%Language:PowerShell 2.6%Language:JavaScript 1.9%Language:Dockerfile 1.2%Language:HTML 0.4%Language:TSQL 0.2%Language:Batchfile 0.1%Language:CSS 0.1%