{"repo":"iayti/CleanArchitecture","free":true,"listed":false,"github":"https://github.com/iayti/CleanArchitecture","clone":"git clone https://github.com/iayti/CleanArchitecture.git","description":"ASP.NET Core 6 Web API Clean Architecture Solution Template","language":"C#","stars":741,"topics":["clean-architecture","dotnet-core","webapi","template","csharp","domain-driven-design","dotnet6"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"# Clean Architecture Template This is a solution template for creating a ASP.NET Core Web API following the principles of Clean Architecture. Create a new project based on this template by clicking the above Use this template button or by installing and running the associated NuGet package (see Getting Started for full details). Technologies ASP.NET Core 6 Entity Framework Core 6 MediatR Mapster FluentValidation NUnit, FluentAssertions, Moq & Respawn Elasticsearch, Serilog, Kibana Docker Getting Started Install the NuGet package and run dotnet new cas : 1. Install the latest .NET SDK 2. Run dotnet new --install Matech.Clean.Architecture.Template to install the project template 3. Create a folder for your solution and cd into it (the template will use it as project name) 4. Run dotnet new cas to create a new project 5. Navigate to src/Apps/CleanArchitecture.Api and run dotnet run to launch the back end (ASP.NET Core Web API) 6. Open web browser https://localhost:5021/api Swagger UI Database Configuration The template is configured to use an in-memory database by default. This ensures that all users will be able to run the solution without needing to set up additional infrastructure (e.g. SQL Server). If you would like to use SQL Server, you will need to update WebApi/appsettings.json as follows: DbProvider could be Sqlite , SqlServer , Npgsql by default, which could be extended to more database providers that EF Core supports. Verify that the DefaultConnection connection strin","default_branch":null,"files":null,"tree":[],"storefront":"/r/iayti","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iayti/CleanArchitecture/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}