Architecture
What each render mode adds
One page counted in each render mode: what you write, how many projects, and what runs while it's open.
Interactive parts on static pages
Keep a page static and give a render mode to the one component that needs C# between requests.
Data access by render mode
Load data through an interface: a store over EF Core for pages on the server, and one that calls your API for pages in the browser.
Data access on the server
The store over EF Core that Static and Interactive Server pages ask, with a context for each call.
Data access in the browser
WebAssembly and Auto pages call your API through a client store, and the endpoint repeats the page's checks.
Sign-in across render modes
Sign-in pages stay static to set the cookie, and each render mode learns who the user is in its own way.