-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modern SPA - Blazor Wasm Support #58
Comments
Could you please share your findings in more detail? Like— you said "several of the packages", so presumably there is some more specific error output that you have seen describing which dependencies are the problem. |
@eli-darkly Here is the output that we are receiving:
|
@eli-darkly Is there anything more that I can provide to help clarify the issue? |
Based on our basic understanding of what Blazor does (we haven't used it before), I think it is very unlikely that the SDK could be made compatible with Blazor without significant changes. It's not in any way designed to be run in a browser environment, and we don't recommend trying to do this. Is using the LaunchDarkly JS SDK (or its React wrapper) not an option for you at all? |
I'd like to add another vote to a Blazor compatible SDK. Blazor is gaining huge popularity in the .NET space, most Blazor dev's are choosing it as it gets them away from JavaScript and keeps them in the C# language they love. Asking them to then integration with a JS SDK is probably going to be a hard sell. My company have just purchased LaunchDarkly, and the lack of a Blazor SDK was almost a deal breaker. |
Is there an update on this issue? Or a workaround? |
I have also thumbs up to this issue. Our organisation is in talk to start using Launch Darkly and some of our application built using blazor wasm or blazor server for which we wanted to use the features. Any updates will be appreciated. Update: I tried with Launchdarkly.server SDK for .net and I received below error while initializing Ldclient. This confirms that no support even with server SDK. 2023-12-13 18:41:49.083 +05:30 [LaunchDarkly.Sdk] INFO: Starting LaunchDarkly client 7.0.0 Unhandled Exception: System.PlatformNotSupportedException: Operation is not supported on this platform. at System.Net.Http.SocketsHttpHandler.set_ConnectTimeout(TimeSpan value) at LaunchDarkly.Sdk.Internal.Http.HttpProperties.DefaultHttpMessageHandlerFactory(HttpProperties props) at LaunchDarkly.Sdk.Internal.Http.HttpProperties.NewHttpClient() at LaunchDarkly.Sdk.Internal.Events.DefaultEventSender..ctor(HttpProperties httpProperties, EventsConfiguration config, Logger logger) at LaunchDarkly.Sdk.Server.Integrations.EventProcessorBuilder.Build(LdClientContext context) at LaunchDarkly.Sdk.Server.LdClient..ctor(Configuration config) at LaunchDarkly.Sdk.Server.LdClient..ctor(String sdkKey) at Blazor.WasmTest.UI.Pages.Dashboard.OnInitialized() in D:\LaunchDarklyBlazorTest\Blazor.WasmTest.UI\Pages\Dashboard.razor.cs:line 146 at System.Threading.Tasks.Task.<>c.b__128_1(Object state) at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.ThreadPool.Callback() ThreadPool Callback threw an unhandled exception of type System.PlatformNotSupportedException |
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
My organization would like support for .Net Blazor Wasm. It seems that several of the packages that LaunchDarkly uses does not support the modern client side of Blazor Wasm. I couldn't find the client project so I'm describing it here. Please let me know if there is another I should share this on.
Describe alternatives you've considered
It seems that updating or changing the dependencies inside the launchdarkly nuget package should solve this issue?
Additional context
We're a scaling to large company in the automotive industry and would love to further invest in LaunchDarkly by continuing service, but we are unable to because of this gap.
The text was updated successfully, but these errors were encountered: