dotnet-presentations / blazor-workshop

Blazor workshop
https://aka.ms/blazorworkshop
MIT License
3.47k stars 1.54k forks source link

Solution setup. #343

Closed qsdfplkj closed 2 years ago

qsdfplkj commented 2 years ago

I've have some questions about the layout of the solution.

The last solution is configured in 5 projects but I would really like some guidelines on why we have these projects. It's not really clear why the BlazingPizza.Server should have a project reference dependency on the BlazingPizza.Client. The BlazingPizza.ComponentsLibrary has only a few files that could also just be in the Shared project (what are these files anyway). Does the database share models with the frontend because the BlazingPizza.Server.Models files are generated but PizzaStoreContext is using BlazingPizza.Shared models which area also used in the BlazingPizza.Client.