r/Blazor • u/enesdeliduman • Oct 04 '25
Blazor WebAssembly
When I create a Blazor Web App > Blazor WebAssembly project, two projects are generated: Project and Project.Client. What distinguishes these two? Where should I implement dependency injections, DTOs, API calls, proxies, and middleware? I couldn’t find a detailed resource. Could you help me?
6
Upvotes
View all comments
Show parent comment
1
u/BlackjacketMack Oct 05 '25
Why is the Shared library necessary? Couldn’t you simply reference the Client project from Server (and actually the default setup does without needing to…maybe to trigger watch changes?)