neozhu/RazorPageCleanArchitecture

Not sending the Application DLL in Blazor WASM

Closed this issue · 2 comments

When using Blazor in WASM - I want to not send any of my business logic (Application) to the client. (I don't want them to reverse engineer it). I want to send only the things it actually needs = the DTOs.

Please can you split out the DTOs to a separate Project - e.g. Application.Dto - and make sure only that goes down the wire to the client?

Open to other ideas!

Thanks!

That makes a lot of sense split application project.
Lightweight simplicity is the original intention, Work with code generation tools, and keep your business code in a single project.

Blazor WASM is client mode. EF core(dbcontext) not support WASM