Studioto.bg is a sample application for appointments built using ASP.NET Core and Entity Framework Core. It follow the CQRS + MediatR pattern and clean architecture principles.
- Domain Layer - contains all entities, enums, exceptions, types and logic specific to the domain. The Entity Framework related classes are abstract, and should be considered in the same light as .NET Core. For testing, use an InMemory provider.
- Application Layer - contains all application logic. It is dependent on the domain layer, but has no dependencies on any other layer or project. This layer defines interfaces that are implemented by outside layers.
- Persistence Layer - contains database context, all configurations, migrations and data seed. It depends only on the application layer.
- Presentation Layer - contains all presentation logic. For Admin panel is a Single Page Application working with ASP.NET WebAPI and jQuery. There is scaffolded indentity works with Razor Pages. The rest of the website is classic multipage MVC application. Presentation layer depends only on application layer.
- Common Layer - contains all cross-cutting concerns.
Use these instructions to get the project up and running.
You will need the following tools:
Follow these steps to get your development environment set up:
- Clone the repository
- At the root directory, restore required packages by running:
dotnet restore
- Next, build the solution by running:
dotnet build
- In the
Studio.User.WebUI
directory, launch the back end by running:dotnet run
- Launch in your browser.
- First registered user will be with role "Administrator". Any other user will be with role "User".
- .NET Core 2.2
- ASP.NET Core 2.2
- ASP.NET Core WebAPI 2.2
- Entity Framework Core 2.2
- xUnit, MyTested.AspNetCore.Mvc
- CQRS, MediatR, Automapper, SendGrid, View Components, jQuery, Bootstrap
This project is licensed under the MIT License - see the [LICENSE.md]