Skip to content

Blazor - 3.2 Preview 1 - WebAssemblyHostBuilder - Cannot Add Service Provider Factory #19985

Closed
@alistairjevans

Description

@alistairjevans

In the Blazor preview (3.2.0-preview1.20073.1), the WebAssemblyHostBuilder no longer implements IWebAssemblyHostBuilder. This means that, among other things, the Autofac Service Provider Factory cannot be added to the host.

I'm raising this following someone raising the issue on our repo (autofac/Autofac.Extensions.DependencyInjection#69).

Is this a temporary change that is going to be resolved in the full 3.2 release, and people can use Autofac with Blazor WebAssembly? Or is it intended for the Blazor build to be as small as possible, so custom service factories somehow aren't going to be supported?

Apologies if this is mentioned somewhere else, I couldn't see an issue related to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssembly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions