toggly
  • What is toggly?
  • 🚀Getting started
    • Creating your first project
    • Using our Feature Flag Demo
    • Inviting Your Team
    • API Documentation
  • 🔘Feature Flags
    • Feature Flags in C# / .NET
      • Views
      • Controllers & Actions
      • Dependency Injection
      • Routing
      • IFeatureManagerSnapshot
      • Persistent Flags Across Requests
      • Disabled Action Handling
      • State Change Handlers
      • Custom Context
      • Snapshot Providers
        • RavenDB
        • Entity Framework
      • Debugging Endpoint
      • Serving Front-end Flags
      • Undefined Features In Development
      • Deployments and Version
    • Feature Flags in Vue.js
      • Feature Component
      • Directly Checking a Flag
      • Users and Rollouts
      • Flag Defaults
    • Feature Flags in JavaScript
      • Directly Checking a Flag
      • Definition Refresh
      • Users and Rollouts
      • Flag Defaults
    • Feature Flags in Flutter
      • Feature Widget
      • Directly Checking a Flag
      • Users and Rollouts
      • Flag Defaults
    • Feature Flags in HTML/CSS
  • 📈Metrics
    • Metrics in C# / .NET
      • Feature Usage
      • Business Metrics
      • Performance Metrics
  • 👩‍💻Use Cases
    • For Engineers
      • Develop continuously, turn on when ready
    • For Product Managers
      • Measure Feature Impact
    • For Agile Teams
      • Faster QA Cycles
      • Streamline Your Releases
Powered by GitBook
On this page

Was this helpful?

  1. Feature Flags
  2. Feature Flags in C# / .NET

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

PreviousUndefined Features In DevelopmentNextFeature Flags in Vue.js

Last updated 2 years ago

Was this helpful?

🔘