extensions
extensions copied to clipboard
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
Replaces https://github.com/dotnet/aspire/pull/10311 since the code moved to this repo. The Managed DNS implementation correctly special-cased "localhost" and resolved to loopback without contacting DNS server, but the authoritative RFC 6761 requires...
## Overview Fix [#5989](https://github.com/dotnet/extensions/issues/5989) The `ReportTagMetrics` feature in HybridCache enables emission of cache metrics with tag dimensions using `System.Diagnostics.Metrics`. This provides richer telemetry for cache performance analysis and debugging. ##...
The idea is to introduce a new interface, called `IIngestionDocumentReader`, where the generic type parameter specifies the source. Source can be anything (FileInfo, Stream but also int or Guid or...
This PR adds the `AdditionalDetailsRequestContent` class to represent requests from AI agents for additional details, and the `AdditionalDetailsResponseContent` class to represent corresponding responses to those requests. For now, the pair...
### Background and motivation HTTP paths contain dynamic IDs that show up in logs, metrics, traces, cache keys and policy checks, yet those same IDs may be sensitive. Right now...
### Background and motivation Currently the set of `AddExtendedHttpClientLogging` methods is eventually calling the `AddLogger` method with `wrapHandlersPipeline == true`, as visible [here](https://github.com/dotnet/extensions/blob/49f36066e4e9a244211e2135ceb0a5760bf60f2e/src/Libraries/Microsoft.Extensions.Http.Diagnostics/Logging/HttpClientLoggingHttpClientBuilderExtensions.cs#L96). This forces the `HttpClientLoggerHandler` to be added...
###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/extensions/pull/7081)
### Description Hi there! I'm reaching a similar error through Ollama (local model), Gemini, and via Amazon Bedrock, also it can be found by using `CompositeEvaluator` or directly by `GroundednessEvaluator`...
### Description Try to using `Microsoft.Extensions.Http.Diagnostics` to log the request/response for httpclient. When application running in debug mode (debugger is attached, not debug build, release bug will failed too), `InvalidOperationException:...
The test was intermittently failing in CI because L2 write failures are logged asynchronously after the background write task completes, but the test used a fixed 150ms delay that didn't...