Skip to content
Discussion options

You must be logged in to vote

Generally speaking, you don't use Blazor and Angular. You use Blazor or Angular, because they both fill the same niche - they are both ways to build an SPA that runs in the browser.

Angular apps are written using TypeScript, HTML, and CSS. They are not written in .NET, and so they can't include any CSLA code (because CSLA requires .NET).

Blazor apps are written using C#, HTML, and CSS. They are written in .NET, and so they can include CSLA code just fine (as per my CSLA and Blazor book).

In summary, your option 2 is not really possible. You can run CSLA .NET on your web server, to help create the REST services that are called from the Angular SPA, but you can't use CSLA in your Angular app.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@makaranddevalekar
Comment options

Answer selected by makaranddevalekar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants