SQL Server Implementation with Clean Architecture (Strict Refactor) #14
Ans-Maliktech
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi @Gramli,
Per your request, I'm moving this conversation here.
I wanted to share a fork of your project that implements a SQL Server backend with strict Clean Architecture.
Based on your code review in the previous thread, I have fully refactored the solution:
Strict Architecture: I removed the Microsoft.AspNetCore.App reference from the Infrastructure layer. Migration logic now depends on IServiceProvider instead of IApplicationBuilder, ensuring the Infrastructure layer has zero dependency on the Web framework.
Internal Visibility: UserContext and Repositories are now internal, forcing the API to use Interfaces.
Clean Startup: Refactored Program.cs to use extension methods, removing clutter.
Standardization: Switched to FluentResults and cleared all warnings.
You can view the implementation here: https://github.com/Ans-Maliktech/UserAuthentication.net
Thanks again for the architectural feedback, it was incredibly helpful!
Best, Ans Abdullah Malik
All reactions