Ansight 0.1.0-preview.19
dotnet add package Ansight --version 0.1.0-preview.19
NuGet\Install-Package Ansight -Version 0.1.0-preview.19
<PackageReference Include="Ansight" Version="0.1.0-preview.19" />
<PackageVersion Include="Ansight" Version="0.1.0-preview.19" />
<PackageReference Include="Ansight" />
paket add Ansight --version 0.1.0-preview.19
#r "nuget: Ansight, 0.1.0-preview.19"
#:package Ansight@0.1.0-preview.19
#addin nuget:?package=Ansight&version=0.1.0-preview.19&prerelease
#tool nuget:?package=Ansight&version=0.1.0-preview.19&prerelease
Ansight
All-in-one Ansight package for .NET apps.
This package references Ansight.Core, native pairing where supported, and all non-MAUI remote tool packages. The runtime namespace remains Ansight.
License
The Ansight SDK is source-available software under the Ansight SDK Source-Available License. It is not open-source software. Production use is licensed only for use with Ansight Services.
using Ansight;
var options = Options.CreateBuilder()
.WithAnsightSdk(ansight =>
{
ansight.WithBundledHostConnection(typeof(AppBootstrap).Assembly);
#if ANDROID
ansight.WithPlatformPairing(() => CurrentActivityProvider());
#endif
})
.Build();
Runtime.InitializeAndActivate(options);
WithAnsightSdk(...) configures FPS sampling, 400ms sampling, 120s retention, 2000ms/quality-60/max-width-480 JPEG capture, host auto-probe, bundled host connection, all non-MAUI tools, and full tool access. Host auto-probe remembers successful host sessions per host-reported Wi-Fi network, refreshes each profile after successful reconnects, and expires profiles after 14 days by default. Its callback receives the existing Options.OptionsBuilder after runtime defaults and before default tool-suite registration:
using Ansight;
using Ansight.Tools.SecureStorage;
var options = Options.CreateBuilder()
.WithAnsightSdk(ansight =>
{
ansight.WithSecureStorageTools(secure =>
{
secure.WithStorageIdentifier("ExampleApp");
secure.AllowKeyPrefix("ansight.secure.");
});
})
.Build();
When the callback registers a tool suite, the all-in-one skips its default registration for that suite, so secure-storage and preferences access can be granted in the same builder call. Full tool access is applied before the callback, which lets the callback override the guard with WithReadOnlyToolAccess(), WithReadWriteToolAccess(), or WithToolGuard(...).
Configure remembered host profile expiry in the same callback when the default 14 day retention is not appropriate:
var options = Options.CreateBuilder()
.WithAnsightSdk(ansight =>
{
ansight.WithHostConnectionProfileRetention(TimeSpan.FromDays(30));
})
.Build();
Remote tool scanning is controlled by AnsightRemoteToolsPolicy. The default AllowedWithWarnings policy logs detected tool type and assembly details and emits a build warning when tool packages are included. Because this all-in-one package intentionally includes remote tools, Disallowed will fail builds that reference it. Use Ansight.Core plus fine-grained Ansight.Tools.* references when you need protected Release or CI builds that exercise Disallowed. Set AnsightLogRemoteTools=false to suppress the detected-tool list.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Ansight.Core (>= 0.1.0-preview.19)
- Ansight.Tools.Database (>= 0.1.0-preview.19)
- Ansight.Tools.FileSystem (>= 0.1.0-preview.19)
- Ansight.Tools.Preferences (>= 0.1.0-preview.19)
- Ansight.Tools.Reflection (>= 0.1.0-preview.19)
- Ansight.Tools.SecureStorage (>= 0.1.0-preview.19)
- Ansight.Tools.VisualTree (>= 0.1.0-preview.19)
-
net9.0-android35.0
- Ansight.Core (>= 0.1.0-preview.19)
- Ansight.Pairing (>= 0.1.0-preview.19)
- Ansight.Tools.Database (>= 0.1.0-preview.19)
- Ansight.Tools.FileSystem (>= 0.1.0-preview.19)
- Ansight.Tools.Preferences (>= 0.1.0-preview.19)
- Ansight.Tools.Reflection (>= 0.1.0-preview.19)
- Ansight.Tools.SecureStorage (>= 0.1.0-preview.19)
- Ansight.Tools.VisualTree (>= 0.1.0-preview.19)
-
net9.0-ios18.0
- Ansight.Core (>= 0.1.0-preview.19)
- Ansight.Pairing (>= 0.1.0-preview.19)
- Ansight.Tools.Database (>= 0.1.0-preview.19)
- Ansight.Tools.FileSystem (>= 0.1.0-preview.19)
- Ansight.Tools.Preferences (>= 0.1.0-preview.19)
- Ansight.Tools.Reflection (>= 0.1.0-preview.19)
- Ansight.Tools.SecureStorage (>= 0.1.0-preview.19)
- Ansight.Tools.VisualTree (>= 0.1.0-preview.19)
-
net9.0-maccatalyst18.0
- Ansight.Core (>= 0.1.0-preview.19)
- Ansight.Pairing (>= 0.1.0-preview.19)
- Ansight.Tools.Database (>= 0.1.0-preview.19)
- Ansight.Tools.FileSystem (>= 0.1.0-preview.19)
- Ansight.Tools.Preferences (>= 0.1.0-preview.19)
- Ansight.Tools.Reflection (>= 0.1.0-preview.19)
- Ansight.Tools.SecureStorage (>= 0.1.0-preview.19)
- Ansight.Tools.VisualTree (>= 0.1.0-preview.19)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Ansight:
| Package | Downloads |
|---|---|
|
Ansight.Maui
All-in-one Ansight SDK package for .NET MAUI apps, including core runtime, pairing, remote tools, automatic lifecycle and page-view telemetry, and MAUI inspection tools. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.19 | 46 | 5/8/2026 |
| 0.1.0-preview.18 | 41 | 5/8/2026 |
| 0.1.0-preview.17 | 37 | 5/8/2026 |
| 0.1.0-preview.16 | 43 | 5/6/2026 |
| 0.1.0-preview.15 | 41 | 5/5/2026 |
| 0.1.0-preview.14 | 54 | 5/5/2026 |
| 0.1.0-preview.13 | 49 | 5/5/2026 |
| 0.1.0-pre9 | 48 | 5/3/2026 |
| 0.1.0-pre8 | 72 | 5/3/2026 |
| 0.1.0-pre7 | 65 | 4/30/2026 |
| 0.1.0-pre6 | 61 | 4/30/2026 |
| 0.1.0-pre5 | 65 | 4/30/2026 |
| 0.1.0-pre4 | 69 | 4/27/2026 |
| 0.1.0-pre3 | 69 | 4/21/2026 |
| 0.1.0-pre2 | 80 | 4/4/2026 |
| 0.1.0-pre12 | 55 | 5/4/2026 |
| 0.1.0-pre11 | 49 | 5/4/2026 |
| 0.1.0-pre10 | 51 | 5/3/2026 |
| 0.1.0-pre1 | 94 | 3/31/2026 |