Comments (5)
@Aniketsingh1 please correct the formatting to ensure all code snippets are correctly formatted using backticks.
from flagsmith-dotnet-client.
@matthewelwell done. Please check.
from flagsmith-dotnet-client.
Thanks, we will take a look and get back to you as soon as we are able to.
from flagsmith-dotnet-client.
Hi @Aniketsingh1, thank you for your patience. While we officially support only .Net Core, our SDK is based on the Standard .Net runtimes, so it is possible to use it with .Net Framework as well, with subtle differences in the implementation depending on the specific version. In your case, could the issue have to do with a dead-lock caused by calling your helper functions from a single thread context like the request thread? Please refer to this document https://devblogs.microsoft.com/dotnet/configureawait-faq/ to manage the async calls properly. Also, we recommend to initialize the client object as a singleton during the app initialization as per our example in the Example folder of the SDK code repo.
Another potential issue is that we use HttpClient async requests to get data from the API, which it seems in .Net Framework is missing a call to the ConfigureAwait(false) method, you should be able to solve this issue by following one of the alternative recommendations in the document referred above.
from flagsmith-dotnet-client.
I will close this issue, please contact us in case of any further issues so we can re-open it if needed.
from flagsmith-dotnet-client.
Related Issues (18)
- HttpClient is intended to be instantiated once and re-used throughout the life of an application HOT 1
- When identity is specified a redundant slash character is added in the end HOT 2
- Caching does not implement a max size HOT 7
- API is using deprecated endpoint HOT 1
- Implement SDK-side Caching HOT 7
- Don't log errors using Console.WriteLine HOT 3
- Can't install SDK on new projects HOT 6
- FlagsmithClient's interface was completely changed HOT 2
- When called consecutively, HasFeatureFlag method gets an error on the second run HOT 8
- using .NET client SDK always return "Value cannot be null. Parameter name: value" error HOT 12
- MV evaluation is not consistent with API in local evaluation mode HOT 1
- Flagsmith open feature provider HOT 1
- Question: DI registration example HOT 1
- Question: Cancellation token for async methods HOT 2
- Exception: System.ThrowHelper.ThrowInvalidOperationException_ConcurrentOperationsNotSupported HOT 5
- Identity overrides in local evaluation mode
- Fix package validation errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flagsmith-dotnet-client.