Over the last few weeks I built ShipBlazor, a starter kit for SaaS products on .NET 10. Here are the five decisions that mattered most, with the reasoning, so you can reuse them in your own projects.
Make tenant isolation the default, not a habit
A global query filter keyed on the current organization, automatic stamping of new rows, and a SaveChanges check that throws on cross-tenant writes. With no organization set, queries return nothing. You can’t forget a where clause you never have to write.
Treat payment webhooks as unreliable
Stripe can send events twice or out of order. Store processed event ids, ignore events older than the last one applied, and never trust a webhook without checking its signature.
One service per feature owns the side effects
Pages and the API call the same service, which writes the activity log and publishes outgoing webhooks.…