CasCap.Api.Azure.LogAnalytics
1.4.4
Prefix Reserved
dotnet add package CasCap.Api.Azure.LogAnalytics --version 1.4.4
NuGet\Install-Package CasCap.Api.Azure.LogAnalytics -Version 1.4.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CasCap.Api.Azure.LogAnalytics" Version="1.4.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CasCap.Api.Azure.LogAnalytics" Version="1.4.4" />
<PackageReference Include="CasCap.Api.Azure.LogAnalytics" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CasCap.Api.Azure.LogAnalytics --version 1.4.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CasCap.Api.Azure.LogAnalytics, 1.4.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CasCap.Api.Azure.LogAnalytics@1.4.4
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CasCap.Api.Azure.LogAnalytics&version=1.4.4
#tool nuget:?package=CasCap.Api.Azure.LogAnalytics&version=1.4.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CasCap.Api.Azure.LogAnalytics
Helper library for Azure Log Analytics. Provides a query service for retrieving Application Insights exception data via Azure Monitor Log Analytics, with DI registration and configuration binding.
Services / Extensions
| Type | Name | Description |
|---|---|---|
| Interface | IQueryService |
Abstraction for querying Azure Monitor / Application Insights via Log Analytics. |
| Service | QueryService |
Implements IQueryService using LogsQueryClient. Authenticates via TokenCredential. |
| Extension | AddCasCapLogAnalyticsServices |
Registers LogAnalyticsConfig options and IQueryService / QueryService with the DI container. |
| Model | AppInsightsObject |
Record representing a single exception from an Application Insights Log Analytics query. |
Key Methods
GetExceptions(int limit)— Returns up tolimitrecent exception records from the workspace.Query(QueryTimeRange timeRange)— Queries the workspace for up to 50 results and outputs to console.
Configuration
| Class | Section | Properties |
|---|---|---|
LogAnalyticsConfig |
CasCap:LogAnalyticsConfig |
WorkspaceId (required) |
Dependencies
NuGet Packages
| Package |
|---|
| Azure.Identity |
| Azure.Monitor.Query |
| CasCap.Common.Logging |
| CasCap.Common.Extensions |
Project References
None.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Azure.Identity (>= 1.21.0)
- Azure.Monitor.Query (>= 1.7.1)
- CasCap.Common.Extensions (>= 4.10.1)
- CasCap.Common.Logging (>= 4.10.1)
-
net8.0
- Azure.Identity (>= 1.21.0)
- Azure.Monitor.Query (>= 1.7.1)
- CasCap.Common.Extensions (>= 4.10.1)
- CasCap.Common.Logging (>= 4.10.1)
-
net9.0
- Azure.Identity (>= 1.21.0)
- Azure.Monitor.Query (>= 1.7.1)
- CasCap.Common.Extensions (>= 4.10.1)
- CasCap.Common.Logging (>= 4.10.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.4.4 | 0 | 4/23/2026 |
| 1.4.3 | 91 | 4/17/2026 |
| 1.4.2 | 99 | 4/16/2026 |
| 1.4.1 | 88 | 4/15/2026 |
| 1.4.0 | 94 | 4/1/2026 |
| 1.3.1 | 97 | 3/13/2026 |
| 1.3.0 | 93 | 3/11/2026 |
| 1.2.5 | 103 | 2/12/2026 |
| 1.2.4 | 106 | 2/2/2026 |
| 1.2.3 | 106 | 1/26/2026 |
| 1.2.2 | 445 | 12/11/2025 |
| 1.2.1 | 318 | 11/12/2025 |
| 1.1.16 | 160 | 10/19/2025 |
| 1.1.15 | 206 | 10/7/2025 |
| 1.1.14 | 203 | 9/30/2025 |
| 1.1.13 | 188 | 9/14/2025 |
| 1.1.12 | 284 | 8/7/2025 |
| 1.1.11 | 190 | 7/11/2025 |
| 1.1.10 | 253 | 4/18/2025 |
| 1.1.9 | 336 | 1/16/2025 |
Loading failed