Home > Mobile >  Which platform is meant by "Browser"?
Which platform is meant by "Browser"?

Time:04-20

In the .NET code for the HttpClient class I found this attribute: [UnsupportedOSPlatform("browser")]
So, several fields are not supported by the "browser" platform, but which platform would this be? WebAssembly? Windows? Anything else?

CodePudding user response:

It's when your code runs within a browser. Right now that's Blazor WebAssembly (not Blazor Server, as the code actually runs on a server).

  • Related