I'm having difficulty choosing between the advantages and disadvantages of the scenarios I'm about to mention. I need feedback on which architecture to choose for my .NET application, using N-Tier Architecture and writing the frontend part with Blazor.
- Do you think I should integrate the frontend (Blazor) directly with the business layer? All Dependency Injection processes will be configured within the Blazor project.
- Should I expose the business layer with .NET WebAPI and integrate the frontend with the API?
I need an opinion about architecture.