blazor-workshop
blazor-workshop copied to clipboard
Port to .NET 8, re-write, etc.
I rewrote the main app, upgrading to .NET 8. It functions identically as before however, I did take some liberties.
In this PR:
- Upgraded leaflet to the latest stable version 1.9.4.
- I used centralized package management for versioning .NET bits.
- The local storage bits were rewritten using the JS module (export/import) support.
- I moved some models from the component lib into the shared lib, since they were used in multiple places fixing (and inverting) their dependencies, namely
Marker
andPoint
. - The orders API was rewritten as a Minimal API with an
api
prefix to avoid ambiguous endpoints, and allowing themyorders
page to be renamed asorders
. - Used vertical slices where appropriate for Orders, Pizzas, and Notifications:
- Each have their respective endpoint extension classes and corresponding other bits as needed.
- Made a few minor style changes.
- Used
OnConfiguring
override in thePizzaStoreContext
to express a pizza.db in the local app data folder instead of local to the app running. - Deleting the existing Server/Client projects.
- Replaced with the new Blazor Web App approach using Individual Accounts for auth.