blazor-workshop icon indicating copy to clipboard operation
blazor-workshop copied to clipboard

Port to .NET 8, re-write, etc.

Open IEvangelist opened this issue 5 months ago • 9 comments

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 and Point.
  • The orders API was rewritten as a Minimal API with an api prefix to avoid ambiguous endpoints, and allowing the myorders page to be renamed as orders.
  • 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 the PizzaStoreContext 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.

IEvangelist avatar Sep 06 '24 16:09 IEvangelist