Skip to content

.net 8 blazor wasm PlatformNotSupportedException #823

@codegurney

Description

@codegurney

Using the code from the docs on a Blazor WASM application:
`services.AddSingleton(sp => new FlurlClientCache()
.Add("MyCli", "https://some-api.com"));

public MyService(IFlurlClientCache clients) {
_flurlCli = clients.Get("MyCli");`

causes a PlatformNotSupportedException. Looking at the stack trace, it looks like it is related to UseCookies.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions