Hi Myth,
Just checked out the video on " Create Universal Blazor API Components for Blazor Server and WASM"
Great to see this integration!!
Couple of questions on this:
Creating a unified project with both WASM & Blazor Server I would like to centralize my UI assets into a Razor Class Library. Doing so I’m not sure how to handle the ServiceStackStateProvider as there are 2 versions for Blazor Server & Blazor WASM
public class ServiceStackStateProvider : BlazorWasmAuthenticationStateProvider
{
public ServiceStackStateProvider(BlazorWasmAuthContext context, ILogger log)
: base(context, log) { }
}
What is the recommended way of using ServiceStackStateProvider in a seperate Razor Class Library ?
I would like to reference this RCL in all my projects including MAUI Blazor. This leads to my second question. How do we use Servicestack Blazor within MAUI ? Do we use the Blazor Server or the Blazor WASM references ?
Thanks again.
Johan