Giter Club home page Giter Club logo

Comments (5)

matthewelwell avatar matthewelwell commented on July 20, 2024

@Aniketsingh1 please correct the formatting to ensure all code snippets are correctly formatted using backticks.

from flagsmith-dotnet-client.

Aniketsingh1 avatar Aniketsingh1 commented on July 20, 2024

@matthewelwell done. Please check.

from flagsmith-dotnet-client.

matthewelwell avatar matthewelwell commented on July 20, 2024

Thanks, we will take a look and get back to you as soon as we are able to.

from flagsmith-dotnet-client.

novakzaballa avatar novakzaballa commented on July 20, 2024

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.

novakzaballa avatar novakzaballa commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.