Deployments and Version

We try to detect when you've released a new version of your app using the AppVersion option specified in AddTogglyWeb. If not specified, we try to use the version of the entry assembly to your app

To specify a version manually, add the current version to AddTogglyWeb

services.AddTogglyWeb(options =>
{
    options.AppKey = Configuration["Toggly:AppKey"]!;
    options.Environment = Configuration["Toggly:Environment"]!;
    options.AppVersion = "7.10.1";
});

If not specified, we default to Assembly.GetEntryAssembly()?.GetName().Version

To disable version tracking, set AppVersion to String.Empty

Last updated