我有一个blazor wasm app,我正在尝试连接到一个mongodb。一旦我制作了一个FindAsync或一些连接到db的东西,我就会得到一个异常,即在这个平台上不支持这一点。我尝试了多种连接到数据库的方法,但我总是得到这个神秘的错误。:1 ---> System.PlatformNotSupportedException: System.Net.Sockets is not supported on this platform.
blazor.webassembly.js:
我正在使用BlazorWebAssembly,并尝试使用Microsoft.AspNet.SignalR.Client连接到SignalR服务器(ASP.NET SignalR,而不是ASP.NET核心hubConnection.Start();System.PlatformNotSupportedException: Property Credentials is not supported. blazor.webassembly.jsMicrosoft.AspNet.Signa