A simple ASP .NET Core 3.1 WebApp built using the "Clean Architecture" principles.
Uses Blazor WebAssembly for the frontend & EntityFrameworkCore for the backend.
Uppgiften är att läsa in ett dataset i en databas och skapa en enkel webapplikation i C# med .NET Core 3.
I webapplikationen skall det per produkt (även kallat SKU) visas en tabell med aktuellt ”optimerat” försäljningspris för produkten och hur det förändrats med tiden. Den optimerade tabellen ska enbart visa ett giltigt pris för varje aktuell tidpunkt.
pdf: Full Assignment
- .NET Core 3.1
- ASP .NET Core 3.1
- Entity Framework Core 3.1
- Blazor WebAssembly
- CSVHelper
- Make sure Web.API is set as default startup project.
- Run & Debug "Arbetsprov"
Reference: jasontaylordev/CleanArchitecture
-
This layer contains all application logic & is dependent on the Core layer.
-
This will contain all entities, enums, exceptions, interfaces, types for the application.
-
This layer contains classes for accessing external resources such as file systems, web services, smtp, and so on. These classes should be based on interfaces defined within the application layer.
-
The web application (Presentation layer). Depends on Application and Infrastructure (only for DependencyInjection) layers. Divided into 2 layers
-
API: Implements endpoints with EF controllers to provide services from the application layer.
-
Client: Fetches data from the API & displays them in a Blazor WebAssembly app.
-
- https://github.com/ardalis/CleanArchitecture
- https://github.com/jasontaylordev/CleanArchitecture
- https://github.com/rafaelfgx/Architecture
- https://github.com/dotnet-architecture/eShopOnWeb
- Clean Architecture with ASP.NET Core 3.0 - Jason Taylor - NDC Sydney 2019
- Clean Architecture with ASP.NET Core with Steve "Ardalis" Smith
- Clean Testing: Clean Architecture with .NET Core
![]() pyrbin |