Posts

Showing posts with the label Blazor

Blazor Project Structure / Best Practices

Image
Answer : I just created a new ASP .NET Core 3.1 project with 3 web apps: MVC, Razor Pages and Blazor. NetLearner: https://github.com/shahedc/NetLearnerApp I’m developing all 3 in parallel so that you can see similar functionality in all of them. I’ve extracted common items into a Shared Library for easy sharing. The shared library includes: Core items (Models and Services) Infrastructure items (Db context and Migrations) Here’s the corresponding blog writeup, which will be followed by an A-Z weekly series, which will explore 26 different topics in the next 6 months. blog post: https://wakeupandcode.com/netlearner-on-asp-net-core-3-1/ Hope the current version is useful for what you’re asking for. Stay tuned and feel free to make suggestions or provide feedback on the project structure. So I was diving into looking for more example projects and I came across a SPA Server Side Dapper application (https://www.c-sharpcorner.com/article/create-a-blazor-server-spa-wit...