SSW.CleanArchitecture
SSW Clean Architecture Template
File Explorer
Download Latest Version (.zip)- settings.json
- 0-feature.md
- 1-bug.md
- 2-docs.md
- 3-refactor.md
- 4-devops.md
- config.yml
- build-and-test.yml
- codeql.yml
- meta-test.yml
- package.yml
- publish-log4brains.yml
- update-settings.yml
- CODEOWNERS
- dependabot.yml
- pull_request_template.md
- settings.yml
- icon.png
- template.json
- settings.json
- 20230604-use-the-factory-pattern-to-create-aggregates.md
- 20230612-use-ef-core-and-specifications-in-commands-and-queries.md
- 20230612-use-log4brains-to-manage-the-adrs.md
- 20230612-use-markdown-architectural-decision-records.md
- 20230810-move-specifications-to-the-domain.md
- 20231212-subcutaneous-tests-should-target-webapi-layer.md
- 20240219-revisit-openapi-document-generation.md
- 20240404-use-domain-driven-design-tactical-patterns.md
- 20240415-replace-string-length-constraints-with-better-business-rules.md
- 20240605-use-minimal-api-typed-results.md
- 20240605-use-results-pattern-over-exceptions.md
- 20241023-use-net-openapi-and-scalar-over-nswag-and-swagger.md
- 20241118-produce-useful-sql-server-exceptions.md
- 20241118-replace-automapper-with-manual-mapping.md
- 20241118-use-vogen-to-simplify-strongly-typed-ids.md
- 20250326-migrate-to-awesome-assertions.md
- 20260221-use-aggregate-specification-classes-with-factory-methods.md
- index.md
- README.md
- template.md
- database.png
- domain.md
- LoggingBehaviour.cs
- PerformanceBehaviour.cs
- UnhandledExceptionBehaviour.cs
- ValidationErrorOrResultBehaviour.cs
- IApplicationDbContext.cs
- ICurrentUserService.cs
- CreateHeroCommand.cs
- UpdateHeroCommand.cs
- GetAllHeroesQuery.cs
- AddHeroToTeamCommand.cs
- CompleteMissionCommand.cs
- CreateTeamCommand.cs
- ExecuteMissionCommand.cs
- PowerLevelUpdatedEventHandler.cs
- GetAllHeroesQuery.cs
- GetTeamQuery.cs
- Application.csproj
- DependencyInjection.cs
- GlobalUsings.cs
- AggregateRoot.cs
- Auditable.cs
- Entity.cs
- EventualConsistencyError.cs
- EventualConsistencyException.cs
- IAggregateRoot.cs
- IAuditable.cs
- IDomainEvent.cs
- IValueObject.cs
- Hero.cs
- HeroErrors.cs
- HeroSpec.cs
- Power.cs
- PowerLevelUpdatedEvent.cs
- Mission.cs
- MissionErrors.cs
- MissionStatus.cs
- Team.cs
- TeamErrors.cs
- TeamSpec.cs
- TeamStatus.cs
- Domain.csproj
- GlobalUsings.cs
- EventualConsistencyMiddleware.cs
- AuditableConfiguration.cs
- HeroConfiguration.cs
- MissionConfiguration.cs
- TeamConfiguration.cs
- VogenEfCoreConverters.cs
- DispatchDomainEventsInterceptor.cs
- EntitySaveChangesInterceptor.cs
- .editorconfig
- 20250319113414_Initial.cs
- 20250319113414_Initial.Designer.cs
- ApplicationDbContextModelSnapshot.cs
- ApplicationDbContext.cs
- Extensions.cs
- DependencyInjection.cs
- Infrastructure.csproj
- HeroEndpoints.cs
- TeamEndpoints.cs
- CustomProblemDetailsExt.cs
- CustomResult.cs
- CustomScalarExt.cs
- EndpointRouteBuilderExt.cs
- EventualConsistencyMiddlewareExt.cs
- WebApplicationExt.cs
- DbHealthCheckResult.cs
- EntityFrameworkDbContextHealthCheck.cs
- EntityFrameworkDbContextHealthCheckExtensions.cs
- EntityFrameworkDbContextHealthCheckOptions.cs
- WebApplicationHealthCheckExtensions.cs
- launchSettings.json
- CurrentUserService.cs
- appsettings.Development.json
- appsettings.json
- DependencyInjection.cs
- IWebApiMarker.cs
- Program.cs
- WebApi.csproj
- WebApi.http
- AGENTS.md
- template.json
- CommandNameCommand.cs
- template.json
- QueryNameQuery.cs
- IsNotEnumRule.cs
- TestBase.cs
- TestResultAssertions.cs
- TestResultExtensions.cs
- TypeExtensions.cs
- Application.cs
- Architecture.Tests.csproj
- DomainTests.cs
- GlobalUsings.cs
- Layer.cs
- Presentation.cs
- HeroTests.cs
- PowerTests.cs
- MissionTests.cs
- TeamTests.cs
- Domain.UnitTests.csproj
- GlobalUsings.cs
- HeroFactory.cs
- TeamFactory.cs
- SqlServerContainer.cs
- TestDatabase.cs
- WebApiTestFactory.cs
- Wait.cs
- IntegrationTestBase.cs
- TestingDatabaseFixture.cs
- CreateHeroCommandTests.cs
- UpdateHeroCommandTests.cs
- GetAllHeroesQueryTests.cs
- AddHeroToTeamCommandTests.cs
- CompleteMissionCommandTests.cs
- CreateTeamCommandTests.cs
- ExecuteMissionCommandTests.cs
- UpdatePowerLevelEventTests.cs
- GetAllTeamsQueryTests.cs
- AssemblyInfo.cs
- GlobalUsings.cs
- WebApi.IntegrationTests.csproj
- AGENTS.md
- SqlServerCommandExt.cs
- launchSettings.json
- AppHost.cs
- AppHost.csproj
- appsettings.Development.json
- appsettings.json
- ApplicationDbContextInitializer.cs
- DbContextInitializerBase.cs
- launchSettings.json
- appsettings.Development.json
- appsettings.json
- MigrationService.csproj
- MigrationUserService.cs
- Program.cs
- Worker.cs
- .editorconfig
- .gitattributes
- .gitignore
- .log4brains.yml
- AGENTS.md
- CleanArchitecture.nuspec
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- Directory.Build.props
- Directory.Packages.props
- global.json
- LICENSE
- package.ps1
- README.md
- SECURITY.md
- SSW.CleanArchitecture.slnx
# Installation Guide
1. Get the code
git clone https://github.com/SSWConsulting/SSW.CleanArchitecture
Downloads the entire project code from GitHub to your computer.
cd SSW.CleanArchitecture
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
dotnet new install SSW.CleanArchitecture.Template
Type this command into your terminal and run it.
dotnet new ssw-ca
Type this command into your terminal and run it.
dotnet new ssw-ca --name {{SolutionName}} --output .\
Type this command into your terminal and run it.
dotnet new ssw-ca-query --name {{QueryName}} --entityName {{Entity}} --slnName {{SolutionName}}
Type this command into your terminal and run it.
dotnet new ssw-ca-command --name {{CommandName}} --entityName {{Entity}} --slnName {{SolutionName}}
Type this command into your terminal and run it.
After dotnet run, check the message or address shown in the terminal.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
