dotnet-onion-architecture
.Net onion/clean architecture sample
File Explorer
Download Latest Version (.zip)- ddd-banner.drawio
- ddd-banner.png
- dotnet-onion-architecture.png
- onion-diagram.drawio
- Email.cs
- MailAttachment.cs
- IEmailService.cs
- ILoggerService.cs
- IUserService.cs
- UserDTO.cs
- CreateUserReq.cs
- ValidateUserReq.cs
- CreateUserRes.cs
- GetAllActiveUsersRes.cs
- ValidateUserRes.cs
- UserService.cs
- MyApp.Application.csproj
- ServiceExtensions.cs
- BaseEntity.cs
- IAuditableEntity.cs
- ISoftDeleteEntity.cs
- IBaseRepositoryAsync.cs
- IUnitOfWork.cs
- BaseSpecification.cs
- ISpecification.cs
- User.cs
- UserStatus.cs
- UserIsNotActiveException.cs
- UserNotFoundException.cs
- UserSpecifications.cs
- MyApp.Domain.csproj
- 20230810042311_InitialMigration.cs
- 20230810042311_InitialMigration.Designer.cs
- MyAppDbContextModelSnapshot.cs
- MyAppDbContext.cs
- BaseRepositoryAsync.cs
- SpecificationEvaluator.cs
- UnitOfWork.cs
- EmailService.cs
- LoggerService.cs
- MyApp.Infrastructure.csproj
- nlog.config
- ServiceExtensions.cs
- UserController.cs
- launchSettings.json
- appsettings.Development.json
- appsettings.json
- MyApp.WebApi.csproj
- Program.cs
- UserServiceTest.cs
- MyApp.Application.Test.csproj
- SpecificationEvaluatorTestHelper.cs
- UserSpecificationsTest.cs
- MyApp.Domain.Test.csproj
- BaseRepositoryAsyncTest.cs
- MyApp.Infrastructure.Test.csproj
- .gitattributes
- .gitignore
- Commands.md
- LICENSE
- MyApp.sln
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/NilavPatel/dotnet-onion-architecture
Downloads the entire project code from GitHub to your computer.
cd dotnet-onion-architecture
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
- Use DataAnnotation (https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations?view=net-7.0)
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)
