uno: wasm System.IAsyncResult _result = base.BeginInvoke("Login", _args, callback, asyncState); Operation is not supported on this platform
I’m using wcf to connect to my server, it works on android, ios , uwp and wasm in a hosted (wpfHost) but not on a ubuntu server
the line that gives me the error is System.IAsyncResult _result = base.BeginInvoke(“Login”, _args, callback, asyncState);
I’m submitting a…
Bug report (I searched for similar issues and did not find one)
Current behavior
it works on android, ios , uwp and wasm in a hosted (wpfHost) but not on a ubuntu server
Expected behavior
Minimal reproduction of the problem with instructions
Loaded: System.IO.Compression.FileSystem.dll mono.js:1 Loaded: System.Runtime.dll mono.js:1 Loaded: System.Resources.ResourceManager.dll mono.js:1 Loaded: System.Diagnostics.Debug.dll mono.js:1 Loaded: System.Collections.Concurrent.dll mono.js:1 Loaded: System.Collections.dll mono.js:1 Loaded: System.Globalization.dll mono.js:1 Loaded: System.Linq.dll mono.js:1 Loaded: System.Reflection.dll mono.js:1 Loaded: System.Runtime.Extensions.dll mono.js:1 Loaded: System.Threading.dll mono.js:1 Loaded: Microsoft.Practices.ServiceLocation.dll mono.js:1 Loaded: System.Reflection.Emit.Lightweight.dll mono.js:1 Loaded: System.Reflection.Emit.ILGeneration.dll mono.js:1 Loaded: Microsoft.Extensions.Logging.dll mono.js:1 Loaded: Microsoft.Extensions.DependencyInjection.Abstractions.dll mono.js:1 Loaded: System.ComponentModel.dll mono.js:1 Loaded: System.Linq.Expressions.dll mono.js:1 Loaded: System.Threading.Tasks.dll mono.js:1 Loaded: System.Numerics.Vectors.dll mono.js:1 Loaded: System.ServiceModel.Http.dll mono.js:1 Loaded: System.IdentityModel.dll mono.js:1 Loaded: System.ServiceModel.Primitives.dll mono.js:1 Loaded: Microsoft.Extensions.Logging.Filter.dll mono.js:1 Loaded: Microsoft.Extensions.Primitives.dll mono.js:1 Loaded: System.Runtime.CompilerServices.Unsafe.dll mono.js:1 Loaded: Microsoft.Extensions.Logging.Console.dll mono.js:1 Loaded: Microsoft.Extensions.Configuration.Abstractions.dll mono.js:1 Loaded: System.Console.dll mono.js:1 Loaded: System.Runtime.InteropServices.RuntimeInformation.dll mono.js:1 Loaded: System.IO.dll mono.js:1 Loaded: WebAssembly.Bindings.dll mono.js:1 Loaded: System.Transactions.dll mono.js:1 Loaded: netstandard.dll mono.js:1 Loaded: Microsoft.Extensions.Logging.Abstractions.dll mono.js:1 Loaded: System.Drawing.dll mono.js:1 Loaded: Uno.Foundation.dll mono.js:1 Loaded: System.Numerics.dll mono.js:1 Loaded: System.IO.Compression.dll mono.js:1 Loaded: System.Net.Http.dll mono.js:1 Loaded: System.Xml.Linq.dll mono.js:1 Loaded: System.ServiceModel.Internals.dll mono.js:1 Loaded: System.Web.Services.dll mono.js:1 Loaded: Uno.Xaml.dll mono.js:1 Loaded: Uno.UI.Wasm.dll mono.js:1 Loaded: System.ComponentModel.Composition.dll mono.js:1 Loaded: System.Collections.Immutable.dll mono.js:1 Loaded: Mono.Security.dll mono.js:1 Loaded: Microsoft.CSharp.dll mono.js:1 Loaded: Uno.Core.dll mono.js:1 Loaded: System.ServiceModel.dll mono.js:1 Loaded: MySaaSPlace.Wasm.dll mono.js:1 Loaded: System.Runtime.Serialization.dll mono.js:1 Loaded: System.Core.dll mono.js:1 Loaded: System.dll mono.js:1 Loaded: System.Data.dll mono.js:1 Loaded: System.Xml.dll mono.js:1 Loaded: Uno.UI.dll mono.js:1 Loaded: mscorlib.dll mono.js:1 Loaded: Uno.dll mono.js:1 initializing mono runtime mono.js:1 >>mono_wasm_runtime_ready require.js:5 [Violation] ‘load’ handler took 468ms mono.js:1 launched! mono.js:1 The type [System.Object] is not known by the MetadataProvider, either add the Bindable attribute or add it to the TypeMetadataConfig.xml mono.js:1 GC_MINOR: (Nursery full) time 15.20ms, stw 15.20ms promoted 2806K major size: 3824K in use: 3158K los size: 1024K in use: 40K mono.js:1 [Violation] ‘setTimeout’ handler took 1486ms mono.js:1 [Violation] ‘setTimeout’ handler took 179ms mono.js:1 des2 mono.js:1 des3 mono.js:1 prueba mono.js:1 111BeginLogin mono.js:1 System.AsyncCallback mono.js:1 put_char @ mono.js:1 write @ mono.js:1 write @ mono.js:1 doWritev @ mono.js:1
I have add the full log file
Environment
UBUNTU on win10
Nuget Package:
Uno.UI 581
Uno,wasmBootstramp 131
Uno.Wasm.MonoRuntime 131
[localhost-1545698192258.log](https://github.com/nventive/Uno/files/2707848/localhost-1545698192258.log)
Package Version(s):
Affected platform(s):
- [ ] iOS
- [ ] Android
- [X ] WebAssembly
- [ ] Windows
- [ ] Build tasks
Visual Studio
- [ ] 2017 (version: 15.9.3 )
- [ ] 2017 Preview (version: )
- [ ] for Mac (version: )
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (15 by maintainers)
We thought about it, but mono is getting proper support for it soon. We might need to reevaluate that, btw.
Ok, I will try and report back
Thank you!
Yes, as long as there are no network calls before that.