2

I'm trying to change my Blazor Server app to a Web Assembly app. I thought the standalone (not hosted) version of WebAssembly is more suitable for my needs. But I can't figure out how I can transfer this code from Startup.Configure to the Program.Main

app.UseEndpoints(endpoints =>
{
    endpoints.MapBlazorHub();
    endpoints.MapControllers();
    endpoints.MapFallbackToPage("/_Host");
});

Any advice on that?

0 Answers0