# Deployments and Version

{% hint style="info" %}
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
{% endhint %}

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

```csharp
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`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toggly.io/feature-flags/feature-flags-in-c-.net/deployments-and-version.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
