Repository navigation
v2.3.0
·
11 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
clean-architecture-dotnet: each layer that registers services has its own context. <Module>ApplicationContext registers the use-case services, <Module>InfrastructureContext keeps only the DbContext, the clients and the port implementations, and Add<Module>Context calls both. In an existing module, move the AddScoped<XService>() calls from the Infrastructure context to a new Application/<Module>ApplicationContext.cs.