Skip to content
baileyjs78 edited this page Aug 16, 2019 · 5 revisions

Client

The Applications exists as two parts, a Server and a Client. There is one server setup, while there are multiple clients. In this section, we will be discussing the setup and usage of the client.

The easiest way to get the client is to use the Nuget Package. You can also build your own version from the source code.

The client should be installed in the applications the feature toggles are used in (ASP.NET and .NET Core are both supported).

The client will retrieve Feature Toggles from the Server (or any other application respecting the contract) and caches them in the application (where the package is installed).

The Feature Toggles are saved in the application cache and are refreshed on configurable period. Feature Toggles are saved in two types of cache entries, an expiring one and a persistent one.

  • If the call that retrieves the toggles fails, the persistent cache will hold the previous Feature Toggles values that are going to be used and the call will be retried every 3 minutes until successful.
  • If none of the cache entries are available, the default toggle value is false and an exception is logged in Application Insights.