Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gpreviatti/hexagonal-solution-template
This is a dotnet solution template from projects based on hexagonal architecture and best practices
https://github.com/gpreviatti/hexagonal-solution-template
architecture clean-architecture clean-code dotnet dotnet-8 github-actions hexagonal-architecture nuget template
Last synced: 18 days ago
JSON representation
This is a dotnet solution template from projects based on hexagonal architecture and best practices
- Host: GitHub
- URL: https://github.com/gpreviatti/hexagonal-solution-template
- Owner: gpreviatti
- Created: 2023-12-21T16:09:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-20T11:31:35.000Z (about 1 year ago)
- Last Synced: 2024-04-26T16:46:55.586Z (10 months ago)
- Topics: architecture, clean-architecture, clean-code, dotnet, dotnet-8, github-actions, hexagonal-architecture, nuget, template
- Language: C#
- Homepage:
- Size: 142 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Hexagonal architecture solution template
[![Publish template in Nuget.org](https://github.com/gpreviatti/hexagonal-solution-template/actions/workflows/publish.yml/badge.svg?branch=main)](https://github.com/gpreviatti/hexagonal-solution-template/actions/workflows/publish.yml)
[![Validate pull request](https://github.com/gpreviatti/hexagonal-solution-template/actions/workflows/validate.yml/badge.svg)](https://github.com/gpreviatti/hexagonal-solution-template/actions/workflows/validate.yml)This is a dotnet solution template from projects based on hexagonal architecture and best practices
## Used Technologies
- MediatR
- FluenValidation
- Serilog
- EntityFrameworkCore
- EntityFrameworkCore.SqlServer
- Xunit
- Moq
- Autofixture
- FluentAssertions
- docker and docker compose
- k6## Advisors and recommendations
- When use the template i recommend you dot not remove Order example scenario until you have you own implementations
## How to use the template
To install the project template you have to use the following command
```
dotnet new install Hexagonal.Solution.Template
```After that you can use it to create your project where -n is the name of your solution
```
dotnet new hexagonal-solution -n HexagonalSolution
```If you had any doubts about the existing parameters you can also use -h to get more information
```
dotnet new hexagonal-solution -h
```If you want to uninstall the template just execute the following command :(
```
dotnet new uninstall Hexagonal.Solution.Template
```## Official solution template documentation
https://github.com/dotnet/templating/wiki