u/ninjisin r/dotnet • Recommends
On “Is MVC still the right choice for me - Architectural advice?”
This sounds like your best approach. Take all of your business logic and slowly migrate it into another solution that becomes your API. Now your code-behind files will only have the logic needed to call into your API and handle the result.
I second the use of CQRS and I would recommend looking at breaking up your implementation into vertical slices/features vs. the traditional n-tiered approach. You might struggle with code duplication for a little while when doing this, but once you have several features online you can start looking at refactoring common pieces out. Jimmy Bogard has done a couple talks on this.
If you are willing to jump on the bleeding edge a bit, Razor Pages could…