/ASP-Web-API

Multi-layer Web API using ASP.NET Core 6 && EF Core 6 with Azure deployment and SQLite db.

Primary LanguageC#

ASP-Web-API-multi-layer

Run the app

dotnet WebApi/bin/Debug/net6.0/WebApi.dll

or with docker

docker build -t web-api . 
docker run -d -p 8000:4444 web-api

About

Architecrure: Classical Multilayer Architecture

Stack:

ASP.NET EF Core AutoMapper LINQ SQLite Swagger Azure

Domain design

  • We have teams, where employes are doing different tasks.
  • Every team have a team lead and every task is contained in sprint (time span in which employees have tasks to complete).
  • Team lead have to generate report after each sprint where all employee's task changes during current sprint will be.

Layers

  • Domain layer

    • Rich Domain Model
  • Data access layer

    • EF Core 6
    • SQLite
    • Transactions
  • Services layer

    • Async/Await
    • LINQ
  • WebApi layer

    • AutoMapper
    • MiddleWares (i.e. Caching && Simple Authorization)
    • Swagger

Other features:

  • Application is hosted on Azure server
  • Beautiful documentation in README.md :)

Try out my application here