├── .config ├── 1espt │ └── PipelineAutobaseliningConfig.yml ├── CredScanSuppressions.json ├── PoliCheckExclusions.xml ├── dotnet-tools.json ├── guardian │ └── .gdnbaselines └── tsaoptions.json ├── .devcontainer ├── devcontainer.json └── scripts │ ├── onCreateCommand.sh │ └── postCreateCommand.sh ├── .editorconfig ├── .gitattributes ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── 01_bug_report.yml │ ├── 02_api_proposal.yml │ ├── 03_blank_issue.md │ └── config.yml ├── dependabot.yml ├── policies │ ├── resourceManagement.yml │ └── untriaged.yml └── workflows │ ├── backport.yml │ ├── inter-branch-merge-flow.yml │ ├── labeler-cache-retention.yml │ ├── labeler-predict-issues.yml │ ├── labeler-predict-pulls.yml │ ├── labeler-promote.yml │ ├── labeler-train.yml │ ├── locker.yml │ └── update-sdk.yml ├── .gitignore ├── .npmrc ├── .spelling ├── .vscode └── settings.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Directory.Build.props ├── Directory.Build.targets ├── Directory.Packages.props ├── LICENSE ├── NuGet.config ├── README.md ├── SECURITY.md ├── THIRD-PARTY-NOTICES.TXT ├── azure-pipelines-public.yml ├── azure-pipelines.yml ├── bench ├── .editorconfig ├── Directory.Build.props ├── Directory.Build.targets └── Libraries │ ├── Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests │ ├── Constants.cs │ ├── Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests.csproj │ ├── Program.cs │ ├── RedactionBenchmark.cs │ └── RouteSegment.cs │ ├── Microsoft.Extensions.Http.Diagnostics.PerformanceTests │ ├── BenchEnricher.cs │ ├── Benchmarks │ │ ├── ErasingRedactorProvider.cs │ │ ├── HeadersReaderBenchmark.cs │ │ ├── HugeHttpCLientLoggingBenchmark.cs │ │ ├── MediumHttpClientLoggingBenchmark.cs │ │ └── SmallHttpClientLoggingBenchmark.cs │ ├── DropMessageLogger.cs │ ├── DropMessageLoggerProvider.cs │ ├── HttpClientFactory.cs │ ├── HugeBody.txt │ ├── MediumBody.txt │ ├── Microsoft.Extensions.Http.Diagnostics.PerformanceTests.csproj │ ├── NoRemoteCallHandler.cs │ ├── NoRemoteCallNotSeekableHandler.cs │ ├── NotSeekableStream.cs │ ├── Program.cs │ ├── SmallBody.txt │ └── StaticOptionsMonitor.cs │ ├── Microsoft.Extensions.Http.Resilience.PerformanceTests │ ├── EmptyHandler.cs │ ├── HedgingBenchmark.cs │ ├── HttpClientFactory.cs │ ├── HttpResilienceBenchmark.cs │ ├── Microsoft.Extensions.Http.Resilience.PerformanceTests.csproj │ ├── NoRemoteCallHandler.cs │ ├── Program.cs │ ├── RetryBenchmark.cs │ └── StandardResilienceBenchmark.cs │ ├── Microsoft.Extensions.Resilience.PerformanceTests │ ├── MetricsUtil.cs │ ├── Microsoft.Extensions.Resilience.PerformanceTests.csproj │ ├── Program.cs │ └── ResilienceEnrichmentBenchmark.cs │ └── Microsoft.Extensions.Telemetry.PerformanceTests │ ├── BenchLogger.cs │ ├── BenchLoggerProvider.cs │ ├── ClassicCodeGen.cs │ ├── ExtendedLoggerBench.cs │ ├── Microsoft.Extensions.Telemetry.PerformanceTests.csproj │ ├── ModernCodeGen.cs │ ├── Program.cs │ └── README.md ├── build.cmd ├── build.sh ├── docs ├── building.md └── list-of-diagnostics.md ├── eng ├── AfterSolutionBuild.targets ├── Build.props ├── CodeCoverage.config ├── Diags │ ├── ILLink.RoslynAnalyzer.yml │ ├── Microsoft.Analyzers.Extra.yml │ ├── Microsoft.Analyzers.Local.yml │ ├── Microsoft.AspNetCore.App.Analyzers.yml │ ├── Microsoft.AspNetCore.Components.Analyzers.yml │ ├── Microsoft.CodeAnalysis.CSharp.CodeStyle.yml │ ├── Microsoft.CodeAnalysis.CSharp.NetAnalyzers.yml │ ├── Microsoft.CodeAnalysis.CodeStyle.yml │ ├── Microsoft.CodeAnalysis.NetAnalyzers.yml │ ├── Microsoft.VisualStudio.Threading.Analyzers.CSharp.yml │ ├── Microsoft.VisualStudio.Threading.Analyzers.yml │ ├── README.md │ ├── SonarAnalyzer.CSharp.yml │ ├── StyleCop.Analyzers.yml │ └── xunit.analyzers.yml ├── MSBuild │ ├── Analyzers.props │ ├── Analyzers.targets │ ├── Generators.props │ ├── Generators.targets │ ├── LegacySupport.props │ ├── LegacySupport.targets │ ├── MultiTargetRoslynComponent.targets.template │ ├── Packaging.props │ ├── Packaging.targets │ ├── ProjectStaging.props │ ├── ProjectStaging.targets │ ├── Shared.props │ └── Shared.targets ├── MSSharedLibSN2048.snk ├── PSScriptAnalyzerSettings.psd1 ├── Publishing.props ├── Signing.props ├── Stylecop.json ├── Tools │ ├── .editorconfig │ ├── ApiChief │ │ ├── ApiChief.csproj │ │ ├── Commands │ │ │ ├── CheckBreakingChanges.cs │ │ │ ├── EmitBaseline.cs │ │ │ ├── EmitDelta.cs │ │ │ ├── EmitReview.cs │ │ │ └── EmitSummary.cs │ │ ├── Format │ │ │ ├── DecompilerFactory.cs │ │ │ ├── Formatter.cs │ │ │ ├── FormattingExtensions.cs │ │ │ └── ParsedMember.cs │ │ ├── Model │ │ │ ├── ApiMember.cs │ │ │ ├── ApiModel.cs │ │ │ ├── ApiStage.cs │ │ │ └── ApiType.cs │ │ ├── Processing │ │ │ ├── ApiProcessor.cs │ │ │ ├── FullyQualifiedTypeNameVisitor.cs │ │ │ └── PublicFilterVisitor.cs │ │ ├── Program.cs │ │ └── README.md │ ├── DiagConfig │ │ ├── ConfigStore │ │ │ ├── Analyzer.cs │ │ │ ├── Diagnostic.cs │ │ │ ├── DiagnosticSetting.cs │ │ │ ├── Metadata.cs │ │ │ ├── Origin.cs │ │ │ ├── Severity.cs │ │ │ └── Store.cs │ │ ├── DiagConfig.csproj │ │ ├── LoadCSVCmd.cs │ │ ├── MergeAnalyzersCmd.cs │ │ ├── MergeEditorConfigCmd.cs │ │ ├── Program.cs │ │ ├── README.md │ │ ├── SaveCSVCmd.cs │ │ ├── SaveEditorConfigCmd.cs │ │ └── ShowAttributesCmd.cs │ ├── DiagPublisher │ │ ├── DiagPublisher.csproj │ │ ├── Program.cs │ │ └── README.md │ ├── Directory.Build.props │ └── Directory.Build.targets ├── Version.Details.xml ├── Versions.props ├── _._ ├── build.proj ├── build.ps1 ├── build.sh ├── common │ ├── BuildConfiguration │ │ └── build-configuration.json │ ├── CIBuild.cmd │ ├── PSScriptAnalyzerSettings.psd1 │ ├── README.md │ ├── SetupNugetSources.ps1 │ ├── SetupNugetSources.sh │ ├── build.cmd │ ├── build.ps1 │ ├── build.sh │ ├── cibuild.sh │ ├── core-templates │ │ ├── job │ │ │ ├── job.yml │ │ │ ├── onelocbuild.yml │ │ │ ├── publish-build-assets.yml │ │ │ ├── source-build.yml │ │ │ └── source-index-stage1.yml │ │ ├── jobs │ │ │ ├── codeql-build.yml │ │ │ ├── jobs.yml │ │ │ └── source-build.yml │ │ ├── post-build │ │ │ ├── common-variables.yml │ │ │ ├── post-build.yml │ │ │ └── setup-maestro-vars.yml │ │ ├── steps │ │ │ ├── component-governance.yml │ │ │ ├── enable-internal-runtimes.yml │ │ │ ├── enable-internal-sources.yml │ │ │ ├── generate-sbom.yml │ │ │ ├── get-delegation-sas.yml │ │ │ ├── get-federated-access-token.yml │ │ │ ├── publish-build-artifacts.yml │ │ │ ├── publish-logs.yml │ │ │ ├── publish-pipeline-artifacts.yml │ │ │ ├── retain-build.yml │ │ │ ├── send-to-helix.yml │ │ │ └── source-build.yml │ │ └── variables │ │ │ └── pool-providers.yml │ ├── cross │ │ ├── arm │ │ │ └── tizen │ │ │ │ └── tizen.patch │ │ ├── arm64 │ │ │ └── tizen │ │ │ │ └── tizen.patch │ │ ├── armel │ │ │ ├── armel.jessie.patch │ │ │ └── tizen │ │ │ │ └── tizen.patch │ │ ├── build-android-rootfs.sh │ │ ├── build-rootfs.sh │ │ ├── riscv64 │ │ │ └── tizen │ │ │ │ └── tizen.patch │ │ ├── tizen-build-rootfs.sh │ │ ├── tizen-fetch.sh │ │ └── toolchain.cmake │ ├── darc-init.ps1 │ ├── darc-init.sh │ ├── dotnet-install.cmd │ ├── dotnet-install.ps1 │ ├── dotnet-install.sh │ ├── enable-cross-org-publishing.ps1 │ ├── generate-locproject.ps1 │ ├── generate-sbom-prep.ps1 │ ├── generate-sbom-prep.sh │ ├── helixpublish.proj │ ├── init-tools-native.cmd │ ├── init-tools-native.ps1 │ ├── init-tools-native.sh │ ├── internal-feed-operations.ps1 │ ├── internal-feed-operations.sh │ ├── internal │ │ ├── Directory.Build.props │ │ ├── NuGet.config │ │ └── Tools.csproj │ ├── loc │ │ └── P22DotNetHtmlLocalization.lss │ ├── msbuild.ps1 │ ├── msbuild.sh │ ├── native │ │ ├── CommonLibrary.psm1 │ │ ├── common-library.sh │ │ ├── init-compiler.sh │ │ ├── init-distro-rid.sh │ │ ├── init-os-and-arch.sh │ │ ├── install-cmake-test.sh │ │ ├── install-cmake.sh │ │ └── install-tool.ps1 │ ├── pipeline-logging-functions.ps1 │ ├── pipeline-logging-functions.sh │ ├── post-build │ │ ├── check-channel-consistency.ps1 │ │ ├── nuget-validation.ps1 │ │ ├── nuget-verification.ps1 │ │ ├── publish-using-darc.ps1 │ │ ├── redact-logs.ps1 │ │ ├── sourcelink-validation.ps1 │ │ └── symbols-validation.ps1 │ ├── retain-build.ps1 │ ├── sdk-task.ps1 │ ├── sdl │ │ ├── NuGet.config │ │ ├── configure-sdl-tool.ps1 │ │ ├── execute-all-sdl-tools.ps1 │ │ ├── extract-artifact-archives.ps1 │ │ ├── extract-artifact-packages.ps1 │ │ ├── init-sdl.ps1 │ │ ├── packages.config │ │ ├── run-sdl.ps1 │ │ ├── sdl.ps1 │ │ └── trim-assets-version.ps1 │ ├── template-guidance.md │ ├── templates-official │ │ ├── job │ │ │ ├── job.yml │ │ │ ├── onelocbuild.yml │ │ │ ├── publish-build-assets.yml │ │ │ ├── source-build.yml │ │ │ └── source-index-stage1.yml │ │ ├── jobs │ │ │ ├── codeql-build.yml │ │ │ ├── jobs.yml │ │ │ └── source-build.yml │ │ ├── post-build │ │ │ ├── common-variables.yml │ │ │ ├── post-build.yml │ │ │ └── setup-maestro-vars.yml │ │ ├── steps │ │ │ ├── component-governance.yml │ │ │ ├── enable-internal-runtimes.yml │ │ │ ├── enable-internal-sources.yml │ │ │ ├── generate-sbom.yml │ │ │ ├── get-delegation-sas.yml │ │ │ ├── get-federated-access-token.yml │ │ │ ├── publish-build-artifacts.yml │ │ │ ├── publish-logs.yml │ │ │ ├── publish-pipeline-artifacts.yml │ │ │ ├── retain-build.yml │ │ │ ├── send-to-helix.yml │ │ │ └── source-build.yml │ │ └── variables │ │ │ ├── pool-providers.yml │ │ │ └── sdl-variables.yml │ ├── templates │ │ ├── job │ │ │ ├── job.yml │ │ │ ├── onelocbuild.yml │ │ │ ├── publish-build-assets.yml │ │ │ ├── source-build.yml │ │ │ └── source-index-stage1.yml │ │ ├── jobs │ │ │ ├── codeql-build.yml │ │ │ ├── jobs.yml │ │ │ └── source-build.yml │ │ ├── post-build │ │ │ ├── common-variables.yml │ │ │ ├── post-build.yml │ │ │ └── setup-maestro-vars.yml │ │ ├── steps │ │ │ ├── component-governance.yml │ │ │ ├── enable-internal-runtimes.yml │ │ │ ├── enable-internal-sources.yml │ │ │ ├── generate-sbom.yml │ │ │ ├── get-delegation-sas.yml │ │ │ ├── get-federated-access-token.yml │ │ │ ├── publish-build-artifacts.yml │ │ │ ├── publish-logs.yml │ │ │ ├── publish-pipeline-artifacts.yml │ │ │ ├── retain-build.yml │ │ │ ├── send-to-helix.yml │ │ │ └── source-build.yml │ │ └── variables │ │ │ └── pool-providers.yml │ ├── tools.ps1 │ └── tools.sh ├── packages │ ├── General-LTS.props │ ├── General-net9.props │ ├── General.props │ └── TestOnly.props ├── pipelines │ └── templates │ │ ├── BuildAndTest.yml │ │ └── VerifyCoverageReport.yml ├── scripts │ ├── Get-RepoDigest.ps1 │ ├── ValidateProjectCoverage.ps1 │ └── repo-digest-template.html ├── spellchecking_exclusions.dic ├── stryker-config.json └── xunit.runner.json ├── github-merge-flow.jsonc ├── global.json ├── restore.cmd ├── restore.sh ├── scripts ├── ConfigureEvaluationTests.ps1 ├── DiffBranches.ps1 ├── MakeApiBaselines.ps1 ├── MakeEditorConfigs.ps1 ├── MergeAnalyzerMetadata.ps1 ├── PrepForAPIReview.ps1 ├── Slngen.Tests.ps1 ├── Slngen.ps1 └── SlngenReferencing.ps1 ├── src ├── Analyzers │ ├── .editorconfig │ ├── Directory.Build.props │ ├── Directory.Build.targets │ ├── Microsoft.Analyzers.Extra │ │ ├── AsyncCallInsideUsingBlockAnalyzer.cs │ │ ├── AsyncMethodWithoutCancellation.cs │ │ ├── CallAnalysis │ │ │ ├── Arrays.cs │ │ │ ├── CallAnalyzer.Handlers.cs │ │ │ ├── CallAnalyzer.Registrar.cs │ │ │ ├── CallAnalyzer.State.cs │ │ │ ├── CallAnalyzer.cs │ │ │ ├── Fixers │ │ │ │ ├── LegacyLoggingFixer.FixDetails.cs │ │ │ │ └── LegacyLoggingFixer.cs │ │ │ ├── LegacyCollection.cs │ │ │ ├── LegacyLogging.cs │ │ │ ├── Split.cs │ │ │ ├── StartsEndsWith.cs │ │ │ ├── StaticTime.cs │ │ │ └── ValueTuple.cs │ │ ├── CoalesceAnalyzer.cs │ │ ├── ConditionalAccessAnalyzer.cs │ │ ├── DiagDescriptors.cs │ │ ├── MakeExeTypesInternalAnalyzer.cs │ │ ├── MakeExeTypesInternalFixer.cs │ │ ├── Microsoft.Analyzers.Extra.csproj │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── UsingToStringInLoggersAnalyzer.cs │ │ └── Utilities │ │ │ ├── CompilationExtensions.cs │ │ │ ├── OperationExtensions.cs │ │ │ ├── SymbolExtensions.cs │ │ │ └── SyntaxNodeExtensions.cs │ └── Microsoft.Analyzers.Local │ │ ├── ApiLifecycle │ │ ├── ApiLifecycleAnalyzer.cs │ │ ├── AssemblyAnalysis.cs │ │ ├── Json │ │ │ ├── JsonArray.cs │ │ │ ├── JsonObject.cs │ │ │ ├── JsonObjectExtensions.cs │ │ │ ├── JsonParseException.cs │ │ │ ├── JsonReader.cs │ │ │ ├── JsonValue.cs │ │ │ ├── JsonValueType.cs │ │ │ ├── ParsingError.cs │ │ │ ├── TextPosition.cs │ │ │ └── TextScanner.cs │ │ ├── Model │ │ │ ├── Assembly.cs │ │ │ ├── Field.cs │ │ │ ├── Method.cs │ │ │ ├── Prop.cs │ │ │ ├── Stage.cs │ │ │ └── TypeDef.cs │ │ ├── ModelLoader.cs │ │ └── Utils.cs │ │ ├── CallAnalysis │ │ ├── CallAnalyzer.Handlers.cs │ │ ├── CallAnalyzer.Registrar.cs │ │ ├── CallAnalyzer.State.cs │ │ ├── CallAnalyzer.cs │ │ ├── Throws.cs │ │ └── ToInvariantString.cs │ │ ├── DiagDescriptors.cs │ │ ├── InternalReferencedInPublicDocAnalyzer.cs │ │ ├── Microsoft.Analyzers.Local.csproj │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── Utilities │ │ └── SymbolExtensions.cs ├── Directory.Build.props ├── Directory.Build.targets ├── Generators │ ├── .editorconfig │ ├── Directory.Build.props │ ├── Directory.Build.targets │ ├── Microsoft.Gen.ComplianceReports │ │ ├── ComplianceReportsGenerator.cs │ │ ├── Emitter.cs │ │ ├── Microsoft.Gen.ComplianceReports.csproj │ │ ├── Model │ │ │ ├── Classification.cs │ │ │ ├── ClassifiedItem.cs │ │ │ ├── ClassifiedLogMethod.cs │ │ │ └── ClassifiedType.cs │ │ ├── Parser.cs │ │ ├── SymbolHolder.cs │ │ └── SymbolLoader.cs │ ├── Microsoft.Gen.ContextualOptions │ │ ├── ContextReceiver.cs │ │ ├── ContextualOptionsGenerator.cs │ │ ├── DiagDescriptors.cs │ │ ├── Emitter.cs │ │ ├── Microsoft.Gen.ContextualOptions.csproj │ │ ├── Model │ │ │ └── OptionsContextType.cs │ │ ├── Parser.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── SymbolHolder.cs │ │ └── SymbolLoader.cs │ ├── Microsoft.Gen.Logging │ │ ├── Emission │ │ │ ├── Emitter.Method.cs │ │ │ ├── Emitter.Utils.cs │ │ │ ├── Emitter.cs │ │ │ └── StringBuilderPool.cs │ │ ├── LoggingGenerator.cs │ │ ├── Microsoft.Gen.Logging.csproj │ │ ├── Model │ │ │ ├── LoggingMethod.cs │ │ │ ├── LoggingMethodParameter.cs │ │ │ ├── LoggingMethodParameterExtensions.cs │ │ │ ├── LoggingProperty.cs │ │ │ ├── LoggingType.cs │ │ │ └── TagProvider.cs │ │ └── Parsing │ │ │ ├── AttributeProcessors.cs │ │ │ ├── DiagDescriptors.cs │ │ │ ├── Parser.LogProperties.cs │ │ │ ├── Parser.Records.cs │ │ │ ├── Parser.TagProvider.cs │ │ │ ├── Parser.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── SymbolHolder.cs │ │ │ ├── SymbolLoader.cs │ │ │ ├── TemplateProcessor.cs │ │ │ └── TypeSymbolExtensions.cs │ ├── Microsoft.Gen.MetadataExtractor │ │ ├── MetadataReportsGenerator.cs │ │ └── Microsoft.Gen.MetadataExtractor.csproj │ ├── Microsoft.Gen.Metrics │ │ ├── DiagDescriptors.cs │ │ ├── Emitter.cs │ │ ├── Exceptions │ │ │ └── TransitiveTypeCycleException.cs │ │ ├── MetricFactoryEmitter.cs │ │ ├── MetricsGenerator.cs │ │ ├── Microsoft.Gen.Metrics.csproj │ │ ├── Model │ │ │ ├── InstrumentKind.cs │ │ │ ├── MetricMethod.cs │ │ │ ├── MetricParameter.cs │ │ │ ├── MetricType.cs │ │ │ ├── StrongTypeConfig.cs │ │ │ └── StrongTypeMetricObjectType.cs │ │ ├── Parser.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── StrongTypeAttributeParameters.cs │ │ ├── SymbolHolder.cs │ │ └── SymbolLoader.cs │ ├── Microsoft.Gen.MetricsReports │ │ ├── MetricDefinitionEmitter.cs │ │ ├── MetricsReportsGenerator.cs │ │ ├── MetricsReportsHelpers.cs │ │ ├── Microsoft.Gen.MetricsReports.csproj │ │ └── ReportedMetricClass.cs │ └── Shared │ │ ├── ClassDeclarationSyntaxReceiver.cs │ │ ├── DiagDescriptorsBase.cs │ │ ├── EmitterBase.cs │ │ ├── GeneratorUtilities.cs │ │ ├── ParserUtilities.cs │ │ ├── RoslynExtensions.cs │ │ ├── StringBuilderPool.cs │ │ ├── SymbolHelpers.cs │ │ └── TypeDeclarationSyntaxReceiver.cs ├── LegacySupport │ ├── .editorconfig │ ├── BitOperations │ │ ├── BitOperations.cs │ │ └── README.md │ ├── CallerAttributes │ │ ├── CallerArgumentExpressionAttribute.cs │ │ └── README.md │ ├── CompilerFeatureRequiredAttribute │ │ ├── CompilerFeatureRequiredAttribute.cs │ │ └── README.md │ ├── DiagnosticAttributes │ │ ├── NullableAttributes.cs │ │ └── README.md │ ├── DictionaryExtensions │ │ ├── DictionaryExtensions.cs │ │ └── README.md │ ├── ExperimentalAttribute │ │ └── ExperimentalAttribute.cs │ ├── GetOrAdd │ │ ├── GetOrAddExtensions.cs │ │ └── README.md │ ├── IsExternalInit │ │ ├── IsExternalInit.cs │ │ └── README.md │ ├── ObsoleteAttribute │ │ ├── ObsoleteAttribute.cs │ │ └── README.md │ ├── PlatformAttributes │ │ ├── PlatformAttributes.cs │ │ └── README.md │ ├── README.md │ ├── RequiredMemberAttribute │ │ ├── README.md │ │ └── RequiredMemberAttribute.cs │ ├── SkipLocalsInitAttribute │ │ ├── README.md │ │ └── SkipLocalsInitAttribute.cs │ ├── StringBuilderExtensions │ │ ├── README.md │ │ └── StringBuilderExtensions.cs │ ├── StringHash │ │ ├── README.md │ │ └── StringHash.cs │ ├── StringSyntaxAttribute │ │ ├── README.md │ │ └── StringSyntaxAttribute.cs │ ├── SystemIndex │ │ └── Index.cs │ ├── TaskWaitAsync │ │ ├── README.md │ │ └── TaskExtensions.cs │ └── TrimAttributes │ │ ├── DynamicDependencyAttribute.cs │ │ ├── DynamicallyAccessedMemberTypes.cs │ │ ├── DynamicallyAccessedMembersAttribute.cs │ │ ├── README.md │ │ ├── RequiresAssemblyFilesAttribute.cs │ │ ├── RequiresDynamicCodeAttribute.cs │ │ ├── RequiresUnreferencedCodeAttribute.cs │ │ └── UnconditionalSuppressMessageAttribute.cs ├── Libraries │ ├── .editorconfig │ ├── Directory.Build.props │ ├── Microsoft.AspNetCore.AsyncState │ │ ├── AsyncContextHttpContext.cs │ │ ├── AsyncStateHttpContextExtensions.cs │ │ ├── Microsoft.AspNetCore.AsyncState.csproj │ │ ├── Microsoft.AspNetCore.AsyncState.json │ │ ├── README.md │ │ └── TypeWrapper.cs │ ├── Microsoft.AspNetCore.Diagnostics.Middleware │ │ ├── Buffering │ │ │ ├── IncomingRequestLogBuffer.cs │ │ │ ├── IncomingRequestLogBufferHolder.cs │ │ │ ├── PerIncomingRequestLoggingBuilderExtensions.cs │ │ │ ├── PerRequestLogBufferManager.cs │ │ │ ├── PerRequestLogBufferingConfigureOptions.cs │ │ │ ├── PerRequestLogBufferingOptions.cs │ │ │ ├── PerRequestLogBufferingOptionsCustomValidator.cs │ │ │ └── PerRequestLogBufferingOptionsValidator.cs │ │ ├── Latency │ │ │ ├── AddServerTimingHeaderMiddleware.cs │ │ │ ├── CapturePipelineEntryMiddleware.cs │ │ │ ├── CapturePipelineEntryStartupFilter.cs │ │ │ ├── CapturePipelineExitMiddleware.cs │ │ │ ├── CaptureResponseTimeMiddleware.cs │ │ │ ├── LatencyContextControlExtensions.cs │ │ │ ├── RequestCheckpointConstants.cs │ │ │ ├── RequestLatencyTelemetryApplicationBuilderExtensions.cs │ │ │ ├── RequestLatencyTelemetryMiddleware.cs │ │ │ ├── RequestLatencyTelemetryOptions.cs │ │ │ ├── RequestLatencyTelemetryOptionsValidator.cs │ │ │ └── RequestLatencyTelemetryServiceCollectionExtensions.cs │ │ ├── Log.cs │ │ ├── Logging │ │ │ ├── HeaderNormalizer.cs │ │ │ ├── HeaderReader.cs │ │ │ ├── HttpLoggingRedactionInterceptor.cs │ │ │ ├── HttpLoggingServiceCollectionExtensions.cs │ │ │ ├── HttpLoggingTagNames.cs │ │ │ ├── HttpUtilityExtensions.cs │ │ │ ├── IHttpLogEnricher.cs │ │ │ ├── IIncomingHttpRouteUtility.cs │ │ │ ├── IncomingHttpRouteUtility.cs │ │ │ ├── IncomingPathLoggingMode.cs │ │ │ ├── LoggingRedactionOptions.cs │ │ │ ├── LoggingRedactionOptionsValidator.cs │ │ │ ├── RequestHeadersEnricherServiceCollectionExtensions.cs │ │ │ ├── RequestHeadersLogEnricher.cs │ │ │ ├── RequestHeadersLogEnricherOptions.cs │ │ │ └── RequestHeadersLogEnricherOptionsValidator.cs │ │ ├── Microsoft.AspNetCore.Diagnostics.Middleware.csproj │ │ ├── Microsoft.AspNetCore.Diagnostics.Middleware.json │ │ └── README.md │ ├── Microsoft.AspNetCore.HeaderParsing │ │ ├── CommonHeaders.cs │ │ ├── HeaderKey.cs │ │ ├── HeaderParser.cs │ │ ├── HeaderParsingFeature.cs │ │ ├── HeaderParsingHttpRequestExtensions.cs │ │ ├── HeaderParsingMetrics.cs │ │ ├── HeaderParsingOptions.cs │ │ ├── HeaderParsingOptionsManualValidator.cs │ │ ├── HeaderParsingOptionsValidator.cs │ │ ├── HeaderParsingServiceCollectionExtensions.cs │ │ ├── HeaderRegistry.cs │ │ ├── HeaderSetup.cs │ │ ├── HostHeaderValue.cs │ │ ├── IHeaderRegistry.cs │ │ ├── Metric.cs │ │ ├── Microsoft.AspNetCore.HeaderParsing.csproj │ │ ├── Microsoft.AspNetCore.HeaderParsing.json │ │ ├── Parsers │ │ │ ├── CacheControlHeaderValueParser.cs │ │ │ ├── ContentDispositionHeaderValueParser.cs │ │ │ ├── CookieHeaderValueListParser.cs │ │ │ ├── DateTimeOffsetParser.cs │ │ │ ├── EntityTagHeaderValueListParser.cs │ │ │ ├── HostHeaderValueParser.cs │ │ │ ├── IPAddressListParser.cs │ │ │ ├── MediaTypeHeaderValueListParser.cs │ │ │ ├── MediaTypeHeaderValueParser.cs │ │ │ ├── RangeConditionHeaderValueParser.cs │ │ │ ├── RangeHeaderValueParser.cs │ │ │ ├── StringWithQualityHeaderValueListParser.cs │ │ │ └── UriParser.cs │ │ ├── ParsingResult.cs │ │ └── README.md │ ├── Microsoft.AspNetCore.Testing │ │ ├── FakeCertificateHttpClientHandler.cs │ │ ├── FakeCertificateOptions.cs │ │ ├── FakeSslCertificateFactory.cs │ │ ├── FakeStartup.cs │ │ ├── Microsoft.AspNetCore.Testing.csproj │ │ ├── Microsoft.AspNetCore.Testing.json │ │ ├── README.md │ │ ├── ServiceFakesHostExtensions.cs │ │ └── ServiceFakesWebHostExtensions.cs │ ├── Microsoft.Extensions.AI.Abstractions │ │ ├── AITool.cs │ │ ├── AdditionalPropertiesDictionary.cs │ │ ├── AdditionalPropertiesDictionary{TValue}.cs │ │ ├── ChatCompletion │ │ │ ├── AutoChatToolMode.cs │ │ │ ├── ChatClientExtensions.cs │ │ │ ├── ChatClientMetadata.cs │ │ │ ├── ChatFinishReason.cs │ │ │ ├── ChatMessage.cs │ │ │ ├── ChatOptions.cs │ │ │ ├── ChatResponse.cs │ │ │ ├── ChatResponseExtensions.cs │ │ │ ├── ChatResponseFormat.cs │ │ │ ├── ChatResponseFormatJson.cs │ │ │ ├── ChatResponseFormatText.cs │ │ │ ├── ChatResponseUpdate.cs │ │ │ ├── ChatRole.cs │ │ │ ├── ChatToolMode.cs │ │ │ ├── DelegatingChatClient.cs │ │ │ ├── IChatClient.cs │ │ │ ├── NoneChatToolMode.cs │ │ │ └── RequiredChatToolMode.cs │ │ ├── Contents │ │ │ ├── AIContent.cs │ │ │ ├── AIContentExtensions.cs │ │ │ ├── DataContent.cs │ │ │ ├── DataUriParser.cs │ │ │ ├── ErrorContent.cs │ │ │ ├── FunctionCallContent.cs │ │ │ ├── FunctionResultContent.cs │ │ │ ├── TextContent.cs │ │ │ ├── TextReasoningContent.cs │ │ │ ├── UriContent.cs │ │ │ └── UsageContent.cs │ │ ├── Embeddings │ │ │ ├── BinaryEmbedding.cs │ │ │ ├── DelegatingEmbeddingGenerator.cs │ │ │ ├── Embedding.cs │ │ │ ├── EmbeddingGenerationOptions.cs │ │ │ ├── EmbeddingGeneratorExtensions.cs │ │ │ ├── EmbeddingGeneratorMetadata.cs │ │ │ ├── Embedding{T}.cs │ │ │ ├── GeneratedEmbeddings.cs │ │ │ ├── IEmbeddingGenerator.cs │ │ │ └── IEmbeddingGenerator{TInput,TEmbedding}.cs │ │ ├── Functions │ │ │ ├── AIFunction.cs │ │ │ ├── AIFunctionArguments.cs │ │ │ ├── AIFunctionFactory.cs │ │ │ └── AIFunctionFactoryOptions.cs │ │ ├── HostedCodeInterpreterTool.cs │ │ ├── HostedWebSearchTool.cs │ │ ├── Microsoft.Extensions.AI.Abstractions.csproj │ │ ├── Microsoft.Extensions.AI.Abstractions.json │ │ ├── README.md │ │ ├── SpeechToText │ │ │ ├── DelegatingSpeechToTextClient.cs │ │ │ ├── ISpeechToTextClient.cs │ │ │ ├── SpeechToTextClientExtensions.cs │ │ │ ├── SpeechToTextClientMetadata.cs │ │ │ ├── SpeechToTextOptions.cs │ │ │ ├── SpeechToTextResponse.cs │ │ │ ├── SpeechToTextResponseUpdate.cs │ │ │ ├── SpeechToTextResponseUpdateExtensions.cs │ │ │ └── SpeechToTextResponseUpdateKind.cs │ │ ├── Throw.cs │ │ ├── UsageDetails.cs │ │ └── Utilities │ │ │ ├── AIJsonSchemaCreateContext.cs │ │ │ ├── AIJsonSchemaCreateOptions.cs │ │ │ ├── AIJsonSchemaTransformCache.cs │ │ │ ├── AIJsonSchemaTransformContext.cs │ │ │ ├── AIJsonSchemaTransformOptions.cs │ │ │ ├── AIJsonUtilities.Defaults.cs │ │ │ ├── AIJsonUtilities.Schema.Create.cs │ │ │ ├── AIJsonUtilities.Schema.Transform.cs │ │ │ └── AIJsonUtilities.cs │ ├── Microsoft.Extensions.AI.AzureAIInference │ │ ├── AzureAIChatToolJson.cs │ │ ├── AzureAIInferenceChatClient.cs │ │ ├── AzureAIInferenceEmbeddingGenerator.cs │ │ ├── AzureAIInferenceExtensions.cs │ │ ├── AzureAIInferenceImageEmbeddingGenerator.cs │ │ ├── JsonContext.cs │ │ ├── Microsoft.Extensions.AI.AzureAIInference.csproj │ │ ├── Microsoft.Extensions.AI.AzureAIInference.json │ │ └── README.md │ ├── Microsoft.Extensions.AI.Evaluation.Console │ │ ├── Commands │ │ │ ├── CleanCacheCommand.cs │ │ │ ├── CleanResultsCommand.cs │ │ │ ├── ReportCommand.Format.cs │ │ │ └── ReportCommand.cs │ │ ├── Directory.Build.targets │ │ ├── Microsoft.Extensions.AI.Evaluation.Console.csproj │ │ ├── Microsoft.Extensions.AI.Evaluation.Console.json │ │ ├── Program.cs │ │ ├── README.md │ │ └── Utilities │ │ │ ├── ExceptionUtilities.cs │ │ │ └── LoggerExtensions.cs │ ├── Microsoft.Extensions.AI.Evaluation.Quality │ │ ├── CoherenceEvaluator.cs │ │ ├── CompletenessEvaluator.cs │ │ ├── CompletenessEvaluatorContext.cs │ │ ├── EquivalenceEvaluator.cs │ │ ├── EquivalenceEvaluatorContext.cs │ │ ├── EvaluationMetricExtensions.cs │ │ ├── FluencyEvaluator.cs │ │ ├── GroundednessEvaluator.cs │ │ ├── GroundednessEvaluatorContext.cs │ │ ├── Microsoft.Extensions.AI.Evaluation.Quality.csproj │ │ ├── Microsoft.Extensions.AI.Evaluation.Quality.json │ │ ├── README.md │ │ ├── RelevanceEvaluator.cs │ │ ├── RelevanceTruthAndCompletenessEvaluator.Rating.cs │ │ ├── RelevanceTruthAndCompletenessEvaluator.SerializerContext.cs │ │ ├── RelevanceTruthAndCompletenessEvaluator.cs │ │ ├── RetrievalEvaluator.cs │ │ ├── RetrievalEvaluatorContext.cs │ │ └── Utilities │ │ │ └── JsonOutputFixer.cs │ ├── Microsoft.Extensions.AI.Evaluation.Reporting.Azure │ │ ├── JsonSerialization │ │ │ └── AzureStorageJsonUtilities.cs │ │ ├── Microsoft.Extensions.AI.Evaluation.Reporting.Azure.csproj │ │ ├── Microsoft.Extensions.AI.Evaluation.Reporting.Azure.json │ │ ├── README.md │ │ └── Storage │ │ │ ├── AzureStorageReportingConfiguration.cs │ │ │ ├── AzureStorageResponseCache.CacheEntry.cs │ │ │ ├── AzureStorageResponseCache.cs │ │ │ ├── AzureStorageResponseCacheProvider.cs │ │ │ └── AzureStorageResultStore.cs │ ├── Microsoft.Extensions.AI.Evaluation.Reporting │ │ ├── CSharp │ │ │ ├── ChatDetails.cs │ │ │ ├── ChatDetailsExtensions.cs │ │ │ ├── ChatTurnDetails.cs │ │ │ ├── Defaults.cs │ │ │ ├── Formats │ │ │ │ ├── Dataset.cs │ │ │ │ ├── Html │ │ │ │ │ └── HtmlReportWriter.cs │ │ │ │ └── Json │ │ │ │ │ └── JsonReportWriter.cs │ │ │ ├── IEvaluationReportWriter.cs │ │ │ ├── IEvaluationResponseCacheProvider.cs │ │ │ ├── IEvaluationResultStore.cs │ │ │ ├── JsonSerialization │ │ │ │ ├── CamelCaseEnumConverter.cs │ │ │ │ ├── EvaluationContextConverter.cs │ │ │ │ ├── JsonUtilities.cs │ │ │ │ └── TimeSpanConverter.cs │ │ │ ├── Microsoft.Extensions.AI.Evaluation.Reporting.csproj │ │ │ ├── Microsoft.Extensions.AI.Evaluation.Reporting.json │ │ │ ├── README.md │ │ │ ├── ReportingConfiguration.cs │ │ │ ├── ResponseCachingChatClient.cs │ │ │ ├── ScenarioRun.cs │ │ │ ├── ScenarioRunExtensions.cs │ │ │ ├── ScenarioRunResult.cs │ │ │ ├── ScenarioRunResultExtensions.cs │ │ │ ├── SimpleChatClient.cs │ │ │ ├── Storage │ │ │ │ ├── DiskBasedReportingConfiguration.cs │ │ │ │ ├── DiskBasedResponseCache.CacheEntry.cs │ │ │ │ ├── DiskBasedResponseCache.cs │ │ │ │ ├── DiskBasedResponseCacheProvider.cs │ │ │ │ └── DiskBasedResultStore.cs │ │ │ └── Utilities │ │ │ │ └── IterationNameComparer.cs │ │ ├── Directory.Build.targets │ │ └── TypeScript │ │ │ ├── .gitignore │ │ │ ├── azure-devops-report │ │ │ ├── .gitignore │ │ │ ├── build.ps1 │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── logo.png │ │ │ ├── overview.md │ │ │ ├── src │ │ │ │ ├── azure-devops-extension-api │ │ │ │ │ ├── Build │ │ │ │ │ │ ├── Build.ts │ │ │ │ │ │ ├── BuildClient.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Common │ │ │ │ │ │ ├── Client.ts │ │ │ │ │ │ ├── CommonServices.ts │ │ │ │ │ │ ├── Context.d.ts │ │ │ │ │ │ ├── Fetch.ts │ │ │ │ │ │ ├── RestClientBase.ts │ │ │ │ │ │ ├── Util │ │ │ │ │ │ │ ├── Serialization.ts │ │ │ │ │ │ │ └── Url.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Core │ │ │ │ │ │ ├── Core.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── README.md │ │ │ │ │ └── index.ts │ │ │ │ ├── index.css │ │ │ │ ├── main.tsx │ │ │ │ └── vite-env.d.ts │ │ │ ├── tasks │ │ │ │ └── PublishAIEvaluationReport │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── task.json │ │ │ ├── tsconfig.app.json │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.node.json │ │ │ ├── vite.config.ts │ │ │ └── vss-extension.json │ │ │ ├── build-if-out-of-date.js │ │ │ ├── components │ │ │ ├── App.css │ │ │ ├── App.tsx │ │ │ ├── ChatDetailsSection.tsx │ │ │ ├── ConversationDetails.tsx │ │ │ ├── DiagnosticsContent.tsx │ │ │ ├── EvalTypes.d.ts │ │ │ ├── MetadataContent.tsx │ │ │ ├── MetricCard.tsx │ │ │ ├── MetricDetailsSection.tsx │ │ │ ├── PassFailBar.tsx │ │ │ ├── ReportContext.tsx │ │ │ ├── ScenarioRunHistory.tsx │ │ │ ├── ScenarioTree.tsx │ │ │ ├── ScoreDetail.tsx │ │ │ ├── ScoreNodeHistory.tsx │ │ │ ├── Styles.ts │ │ │ ├── Summary.ts │ │ │ └── TagsDisplay.tsx │ │ │ ├── html-report │ │ │ ├── .gitignore │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── init-devdata.js │ │ │ ├── reset-devdata.js │ │ │ ├── src │ │ │ │ ├── main.tsx │ │ │ │ └── vite-env.d.ts │ │ │ └── vite.config.ts │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── tsconfig.app.json │ │ │ ├── tsconfig.json │ │ │ └── tsconfig.node.json │ ├── Microsoft.Extensions.AI.Evaluation.Safety │ │ ├── AIContentExtensions.cs │ │ ├── ChatMessageExtensions.cs │ │ ├── ChatResponseExtensions.cs │ │ ├── CodeVulnerabilityEvaluator.cs │ │ ├── ContentHarmEvaluator.cs │ │ ├── ContentSafetyChatClient.cs │ │ ├── ContentSafetyChatOptions.cs │ │ ├── ContentSafetyEvaluator.cs │ │ ├── ContentSafetyService.UrlCacheKey.cs │ │ ├── ContentSafetyService.cs │ │ ├── ContentSafetyServiceConfiguration.cs │ │ ├── ContentSafetyServiceConfigurationExtensions.cs │ │ ├── ContentSafetyServicePayloadFormat.cs │ │ ├── ContentSafetyServicePayloadStrategy.cs │ │ ├── ContentSafetyServicePayloadUtilities.cs │ │ ├── Directory.Build.targets │ │ ├── EvaluationMetricExtensions.cs │ │ ├── GroundednessProEvaluator.cs │ │ ├── GroundednessProEvaluatorContext.cs │ │ ├── HateAndUnfairnessEvaluator.cs │ │ ├── IndirectAttackEvaluator.cs │ │ ├── Microsoft.Extensions.AI.Evaluation.Safety.csproj │ │ ├── ProtectedMaterialEvaluator.cs │ │ ├── README.md │ │ ├── SelfHarmEvaluator.cs │ │ ├── SexualEvaluator.cs │ │ ├── UngroundedAttributesEvaluator.cs │ │ ├── UngroundedAttributesEvaluatorContext.cs │ │ └── ViolenceEvaluator.cs │ ├── Microsoft.Extensions.AI.Evaluation │ │ ├── BooleanMetric.cs │ │ ├── ChatConfiguration.cs │ │ ├── ChatMessageExtensions.cs │ │ ├── ChatResponseExtensions.cs │ │ ├── CompositeEvaluator.cs │ │ ├── EvaluationContext.cs │ │ ├── EvaluationDiagnostic.cs │ │ ├── EvaluationDiagnosticSeverity.cs │ │ ├── EvaluationMetric.cs │ │ ├── EvaluationMetricExtensions.cs │ │ ├── EvaluationMetricInterpretation.cs │ │ ├── EvaluationMetric{T}.cs │ │ ├── EvaluationRating.cs │ │ ├── EvaluationResult.cs │ │ ├── EvaluationResultExtensions.cs │ │ ├── EvaluatorExtensions.cs │ │ ├── IEvaluator.cs │ │ ├── Microsoft.Extensions.AI.Evaluation.csproj │ │ ├── Microsoft.Extensions.AI.Evaluation.json │ │ ├── NumericMetric.cs │ │ ├── README.md │ │ ├── StringMetric.cs │ │ └── Utilities │ │ │ ├── TaskExtensions.cs │ │ │ └── TimingHelper.cs │ ├── Microsoft.Extensions.AI.Ollama │ │ ├── JsonContext.cs │ │ ├── Microsoft.Extensions.AI.Ollama.csproj │ │ ├── Microsoft.Extensions.AI.Ollama.json │ │ ├── OllamaChatClient.cs │ │ ├── OllamaChatRequest.cs │ │ ├── OllamaChatRequestMessage.cs │ │ ├── OllamaChatResponse.cs │ │ ├── OllamaChatResponseMessage.cs │ │ ├── OllamaEmbeddingGenerator.cs │ │ ├── OllamaEmbeddingRequest.cs │ │ ├── OllamaEmbeddingResponse.cs │ │ ├── OllamaFunctionCallContent.cs │ │ ├── OllamaFunctionResultContent.cs │ │ ├── OllamaFunctionTool.cs │ │ ├── OllamaFunctionToolCall.cs │ │ ├── OllamaFunctionToolParameter.cs │ │ ├── OllamaFunctionToolParameters.cs │ │ ├── OllamaRequestOptions.cs │ │ ├── OllamaTool.cs │ │ ├── OllamaToolCall.cs │ │ ├── OllamaUtilities.cs │ │ └── README.md │ ├── Microsoft.Extensions.AI.OpenAI │ │ ├── Microsoft.Extensions.AI.OpenAI.csproj │ │ ├── Microsoft.Extensions.AI.OpenAI.json │ │ ├── OpenAIChatClient.cs │ │ ├── OpenAIClientExtensions.cs │ │ ├── OpenAIEmbeddingGenerator.cs │ │ ├── OpenAIResponseChatClient.cs │ │ ├── OpenAISpeechToTextClient.cs │ │ └── README.md │ ├── Microsoft.Extensions.AI │ │ ├── ChatCompletion │ │ │ ├── AnonymousDelegatingChatClient.cs │ │ │ ├── CachingChatClient.cs │ │ │ ├── ChatClientBuilder.cs │ │ │ ├── ChatClientBuilderChatClientExtensions.cs │ │ │ ├── ChatClientBuilderServiceCollectionExtensions.cs │ │ │ ├── ChatClientStructuredOutputExtensions.cs │ │ │ ├── ChatResponse{T}.cs │ │ │ ├── ConfigureOptionsChatClient.cs │ │ │ ├── ConfigureOptionsChatClientBuilderExtensions.cs │ │ │ ├── DistributedCachingChatClient.cs │ │ │ ├── DistributedCachingChatClientBuilderExtensions.cs │ │ │ ├── FunctionInvocationContext.cs │ │ │ ├── FunctionInvokingChatClient.cs │ │ │ ├── FunctionInvokingChatClientBuilderExtensions.cs │ │ │ ├── LoggingChatClient.cs │ │ │ ├── LoggingChatClientBuilderExtensions.cs │ │ │ ├── OpenTelemetryChatClient.cs │ │ │ └── OpenTelemetryChatClientBuilderExtensions.cs │ │ ├── Embeddings │ │ │ ├── AnonymousDelegatingEmbeddingGenerator.cs │ │ │ ├── CachingEmbeddingGenerator.cs │ │ │ ├── ConfigureOptionsEmbeddingGenerator.cs │ │ │ ├── ConfigureOptionsEmbeddingGeneratorBuilderExtensions.cs │ │ │ ├── DistributedCachingEmbeddingGenerator.cs │ │ │ ├── DistributedCachingEmbeddingGeneratorBuilderExtensions.cs │ │ │ ├── EmbeddingGeneratorBuilder.cs │ │ │ ├── EmbeddingGeneratorBuilderEmbeddingGeneratorExtensions.cs │ │ │ ├── EmbeddingGeneratorBuilderServiceCollectionExtensions.cs │ │ │ ├── LoggingEmbeddingGenerator.cs │ │ │ ├── LoggingEmbeddingGeneratorBuilderExtensions.cs │ │ │ ├── OpenTelemetryEmbeddingGenerator.cs │ │ │ └── OpenTelemetryEmbeddingGeneratorBuilderExtensions.cs │ │ ├── EmptyServiceProvider.cs │ │ ├── LoggingHelpers.cs │ │ ├── Microsoft.Extensions.AI.csproj │ │ ├── Microsoft.Extensions.AI.json │ │ ├── OpenTelemetryConsts.cs │ │ ├── README.md │ │ └── SpeechToText │ │ │ ├── ConfigureOptionsSpeechToTextClient.cs │ │ │ ├── ConfigureOptionsSpeechToTextClientBuilderExtensions.cs │ │ │ ├── LoggingSpeechToTextClient.cs │ │ │ ├── LoggingSpeechToTextClientBuilderExtensions.cs │ │ │ ├── SpeechToTextClientBuilder.cs │ │ │ ├── SpeechToTextClientBuilderServiceCollectionExtensions.cs │ │ │ └── SpeechToTextClientBuilderSpeechToTextClientExtensions.cs │ ├── Microsoft.Extensions.AmbientMetadata.Application │ │ ├── ApplicationMetadata.cs │ │ ├── ApplicationMetadataConfigurationBuilderExtensions.cs │ │ ├── ApplicationMetadataHostBuilderExtensions.cs │ │ ├── ApplicationMetadataServiceCollectionExtensions.cs │ │ ├── ApplicationMetadataSource.cs │ │ ├── ApplicationMetadataValidator.cs │ │ ├── Microsoft.Extensions.AmbientMetadata.Application.csproj │ │ ├── Microsoft.Extensions.AmbientMetadata.Application.json │ │ └── README.md │ ├── Microsoft.Extensions.AsyncState │ │ ├── AsyncContext.cs │ │ ├── AsyncState.cs │ │ ├── AsyncStateExtensions.cs │ │ ├── AsyncStateToken.cs │ │ ├── FeaturesPooledPolicy.cs │ │ ├── IAsyncContext.cs │ │ ├── IAsyncLocalContext.cs │ │ ├── IAsyncState.cs │ │ ├── Microsoft.Extensions.AsyncState.csproj │ │ ├── Microsoft.Extensions.AsyncState.json │ │ └── README.md │ ├── Microsoft.Extensions.Caching.Hybrid │ │ ├── HybridCacheBuilderExtensions.cs │ │ ├── HybridCacheOptions.cs │ │ ├── HybridCacheServiceExtensions.cs │ │ ├── IHybridCacheBuilder.cs │ │ ├── Internal │ │ │ ├── BufferChunk.cs │ │ │ ├── DefaultHybridCache.CacheItem.cs │ │ │ ├── DefaultHybridCache.Debug.cs │ │ │ ├── DefaultHybridCache.ImmutableCacheItem.cs │ │ │ ├── DefaultHybridCache.L2.cs │ │ │ ├── DefaultHybridCache.MutableCacheItem.cs │ │ │ ├── DefaultHybridCache.Serialization.cs │ │ │ ├── DefaultHybridCache.Stampede.cs │ │ │ ├── DefaultHybridCache.StampedeKey.cs │ │ │ ├── DefaultHybridCache.StampedeState.cs │ │ │ ├── DefaultHybridCache.StampedeStateT.cs │ │ │ ├── DefaultHybridCache.SyncLock.cs │ │ │ ├── DefaultHybridCache.TagInvalidation.cs │ │ │ ├── DefaultHybridCache.cs │ │ │ ├── DefaultJsonSerializerFactory.cs │ │ │ ├── HybridCacheBuilder.cs │ │ │ ├── HybridCacheEventSource.cs │ │ │ ├── HybridCachePayload.cs │ │ │ ├── ImmutableTypeCache.T.cs │ │ │ ├── ImmutableTypeCache.cs │ │ │ ├── InbuiltTypeSerializer.cs │ │ │ ├── Log.cs │ │ │ ├── RecyclableArrayBufferWriter.cs │ │ │ ├── TagSet.cs │ │ │ └── readme.md │ │ ├── Microsoft.Extensions.Caching.Hybrid.csproj │ │ ├── Microsoft.Extensions.Caching.Hybrid.json │ │ └── README.md │ ├── Microsoft.Extensions.Compliance.Abstractions │ │ ├── Classification │ │ │ ├── DataClassification.cs │ │ │ ├── DataClassificationAttribute.cs │ │ │ ├── DataClassificationSet.cs │ │ │ ├── DataClassificationTypeConverter.cs │ │ │ ├── NoDataClassificationAttribute.cs │ │ │ └── UnknownDataClassificationAttribute.cs │ │ ├── Microsoft.Extensions.Compliance.Abstractions.csproj │ │ ├── Microsoft.Extensions.Compliance.Abstractions.json │ │ ├── README.md │ │ └── Redaction │ │ │ ├── IRedactionBuilder.cs │ │ │ ├── IRedactorProvider.cs │ │ │ ├── NullRedactor.cs │ │ │ ├── NullRedactorProvider.cs │ │ │ ├── RedactionStringBuilderExtensions.cs │ │ │ └── Redactor.cs │ ├── Microsoft.Extensions.Compliance.Redaction │ │ ├── ErasingRedactor.cs │ │ ├── HmacRedactor.cs │ │ ├── HmacRedactorOptions.cs │ │ ├── HmacRedactorOptionsValidator.cs │ │ ├── Microsoft.Extensions.Compliance.Redaction.csproj │ │ ├── Microsoft.Extensions.Compliance.Redaction.json │ │ ├── README.md │ │ ├── RedactionBuilder.cs │ │ ├── RedactionExtensions.cs │ │ ├── RedactionServiceCollectionExtensions.cs │ │ ├── RedactorProvider.cs │ │ └── RedactorProviderOptions.cs │ ├── Microsoft.Extensions.Compliance.Testing │ │ ├── FakeRedactionBuilderExtensions.cs │ │ ├── FakeRedactionCollector.cs │ │ ├── FakeRedactionServiceCollectionExtensions.cs │ │ ├── FakeRedactionServiceProviderExtensions.cs │ │ ├── FakeRedactor.cs │ │ ├── FakeRedactorOptions.cs │ │ ├── FakeRedactorOptionsAutoValidator.cs │ │ ├── FakeRedactorOptionsCustomValidator.cs │ │ ├── FakeRedactorProvider.cs │ │ ├── FakeTaxonomy.cs │ │ ├── Microsoft.Extensions.Compliance.Testing.csproj │ │ ├── Microsoft.Extensions.Compliance.Testing.json │ │ ├── PrivateDataAttribute.cs │ │ ├── PublicDataAttribute.cs │ │ ├── README.md │ │ ├── RedactedData.cs │ │ └── RedactorRequested.cs │ ├── Microsoft.Extensions.DependencyInjection.AutoActivation │ │ ├── AutoActivationExtensions.Keyed.cs │ │ ├── AutoActivationExtensions.cs │ │ ├── AutoActivationHostedService.cs │ │ ├── AutoActivatorOptions.cs │ │ ├── Microsoft.Extensions.DependencyInjection.AutoActivation.csproj │ │ ├── Microsoft.Extensions.DependencyInjection.AutoActivation.json │ │ └── README.md │ ├── Microsoft.Extensions.Diagnostics.ExceptionSummarization │ │ ├── ExceptionSummarizationBuilder.cs │ │ ├── ExceptionSummarizationBuilderExtensions.cs │ │ ├── ExceptionSummarizationServiceCollectionExtensions.cs │ │ ├── ExceptionSummarizer.cs │ │ ├── ExceptionSummary.cs │ │ ├── HttpExceptionSummaryProvider.cs │ │ ├── IExceptionSummarizationBuilder.cs │ │ ├── IExceptionSummarizer.cs │ │ ├── IExceptionSummaryProvider.cs │ │ ├── Microsoft.Extensions.Diagnostics.ExceptionSummarization.csproj │ │ ├── Microsoft.Extensions.Diagnostics.ExceptionSummarization.json │ │ └── README.md │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.Common │ │ ├── ApplicationLifecycleHealthCheck.cs │ │ ├── CommonHealthChecksExtensions.ApplicationLifecycle.cs │ │ ├── CommonHealthChecksExtensions.Manual.cs │ │ ├── CommonHealthChecksExtensions.TelemetryPublisher.cs │ │ ├── HealthCheckMetrics.cs │ │ ├── IManualHealthCheck.cs │ │ ├── Log.cs │ │ ├── ManualHealthCheck.cs │ │ ├── ManualHealthCheckService.cs │ │ ├── ManualHealthCheckTracker.cs │ │ ├── Metric.cs │ │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.Common.csproj │ │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.Common.json │ │ ├── README.md │ │ ├── TelemetryHealthCheckPublisher.cs │ │ └── TelemetryHealthCheckPublisherOptions.cs │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization │ │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.csproj │ │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.json │ │ ├── README.md │ │ ├── ResourceUsageThresholds.cs │ │ ├── ResourceUtilizationHealthCheck.Obsolete.cs │ │ ├── ResourceUtilizationHealthCheck.cs │ │ ├── ResourceUtilizationHealthCheckExtensions.cs │ │ ├── ResourceUtilizationHealthCheckOptions.cs │ │ └── ResourceUtilizationHealthCheckOptionsValidator.cs │ ├── Microsoft.Extensions.Diagnostics.Probes │ │ ├── KubernetesProbesExtensions.cs │ │ ├── KubernetesProbesOptions.cs │ │ ├── KubernetesProbesOptionsValidator.cs │ │ ├── Log.cs │ │ ├── Microsoft.Extensions.Diagnostics.Probes.csproj │ │ ├── Microsoft.Extensions.Diagnostics.Probes.json │ │ ├── ProbeTags.cs │ │ ├── README.md │ │ ├── TcpEndpointProbesExtensions.cs │ │ ├── TcpEndpointProbesOptions.cs │ │ ├── TcpEndpointProbesOptionsValidator.cs │ │ └── TcpEndpointProbesService.cs │ ├── Microsoft.Extensions.Diagnostics.ResourceMonitoring │ │ ├── ByteArrayEqualityComparer.cs │ │ ├── Calculator.cs │ │ ├── CircularBuffer.cs │ │ ├── CompatibilitySuppressions.xml │ │ ├── IResourceMonitor.cs │ │ ├── IResourceMonitorBuilder.cs │ │ ├── IResourceUtilizationPublisher.cs │ │ ├── ISnapshotProvider.cs │ │ ├── ITcpStateInfoProvider.cs │ │ ├── Linux │ │ │ ├── Disk │ │ │ │ ├── DiskStats.cs │ │ │ │ ├── DiskStatsReader.cs │ │ │ │ ├── IDiskStatsReader.cs │ │ │ │ └── LinuxSystemDiskMetrics.cs │ │ │ ├── IFileSystem.cs │ │ │ ├── ILinuxUtilizationParser.cs │ │ │ ├── IUserHz.cs │ │ │ ├── LinuxUtilizationParserCgroupV1.cs │ │ │ ├── LinuxUtilizationParserCgroupV2.cs │ │ │ ├── LinuxUtilizationProvider.cs │ │ │ ├── Log.cs │ │ │ ├── Network │ │ │ │ ├── LinuxNetworkMetrics.cs │ │ │ │ ├── LinuxNetworkUtilizationParser.cs │ │ │ │ ├── LinuxTcpState.cs │ │ │ │ └── LinuxTcpStateInfo.cs │ │ │ ├── OSFileSystem.cs │ │ │ └── UserHz.cs │ │ ├── Log.cs │ │ ├── Microsoft.Extensions.Diagnostics.ResourceMonitoring.csproj │ │ ├── Microsoft.Extensions.Diagnostics.ResourceMonitoring.json │ │ ├── README.md │ │ ├── ResourceMonitorBuilder.cs │ │ ├── ResourceMonitorService.cs │ │ ├── ResourceMonitoringBuilderExtensions.cs │ │ ├── ResourceMonitoringLinuxCgroupVersion.cs │ │ ├── ResourceMonitoringOptions.Windows.cs │ │ ├── ResourceMonitoringOptions.cs │ │ ├── ResourceMonitoringOptionsCustomValidator.cs │ │ ├── ResourceMonitoringOptionsValidator.cs │ │ ├── ResourceMonitoringServiceCollectionExtensions.cs │ │ ├── ResourceUtilization.cs │ │ ├── Snapshot.cs │ │ ├── SystemResources.cs │ │ ├── TcpStateInfo.cs │ │ └── Windows │ │ │ ├── Disk │ │ │ ├── WindowsDiskIoRatePerfCounter.cs │ │ │ ├── WindowsDiskIoTimePerfCounter.cs │ │ │ ├── WindowsDiskMetrics.cs │ │ │ └── WindowsDiskPerfCounterNames.cs │ │ │ ├── IPerformanceCounter.cs │ │ │ ├── IPerformanceCounterFactory.cs │ │ │ ├── Interop │ │ │ ├── BOOL.cs │ │ │ ├── IJobHandle.cs │ │ │ ├── IMemoryInfo.cs │ │ │ ├── IProcessInfo.cs │ │ │ ├── ISystemInfo.cs │ │ │ ├── JobHandleWrapper.cs │ │ │ ├── JobObjectInfo.cs │ │ │ ├── MemoryInfo.Native.cs │ │ │ ├── MemoryInfo.cs │ │ │ ├── MemoryStatusEx.cs │ │ │ ├── ProcessInfo.cs │ │ │ ├── SYSTEM_INFO.cs │ │ │ └── SystemInfo.cs │ │ │ ├── Log.cs │ │ │ ├── Network │ │ │ ├── IN6_ADDR.cs │ │ │ ├── MIB_TCP6ROW.cs │ │ │ ├── MIB_TCP6TABLE.cs │ │ │ ├── MIB_TCPROW.cs │ │ │ ├── MIB_TCPTABLE.cs │ │ │ ├── MIB_TCP_STATE.cs │ │ │ ├── NTSTATUS.cs │ │ │ ├── WindowsNetworkMetrics.cs │ │ │ └── WindowsTcpStateInfo.cs │ │ │ ├── PerformanceCounterFactory.cs │ │ │ ├── PerformanceCounterWrapper.cs │ │ │ ├── WindowsContainerSnapshotProvider.cs │ │ │ └── WindowsSnapshotProvider.cs │ ├── Microsoft.Extensions.Diagnostics.Testing │ │ ├── Logging │ │ │ ├── FakeLogCollector.cs │ │ │ ├── FakeLogCollectorDebugView.cs │ │ │ ├── FakeLogCollectorOptions.cs │ │ │ ├── FakeLogRecord.cs │ │ │ ├── FakeLogger.cs │ │ │ ├── FakeLoggerBuilderExtensions.cs │ │ │ ├── FakeLoggerProvider.cs │ │ │ ├── FakeLoggerServiceCollectionExtensions.cs │ │ │ ├── FakeLoggerServiceProviderExtensions.cs │ │ │ └── FakeLoggerT.cs │ │ ├── Metrics │ │ │ ├── CollectedMeasurement.cs │ │ │ ├── MeasurementExtensions.cs │ │ │ └── MetricCollector.cs │ │ ├── Microsoft.Extensions.Diagnostics.Testing.csproj │ │ ├── Microsoft.Extensions.Diagnostics.Testing.json │ │ └── README.md │ ├── Microsoft.Extensions.Hosting.Testing │ │ ├── FakeConfigurationSource.cs │ │ ├── FakeHost.cs │ │ ├── FakeHostBuilder.cs │ │ ├── FakeHostOptions.cs │ │ ├── FakeHostingExtensions.cs │ │ ├── HostTerminatorService.cs │ │ ├── Microsoft.Extensions.Hosting.Testing.csproj │ │ ├── Microsoft.Extensions.Hosting.Testing.json │ │ └── README.md │ ├── Microsoft.Extensions.Http.Diagnostics │ │ ├── Http │ │ │ ├── Constants.cs │ │ │ ├── DownstreamDependencyMetadataManager.cs │ │ │ ├── DownstreamDependencyMetadataManagerRegex.cs │ │ │ ├── FrozenRequestMetadataTrieNode.cs │ │ │ ├── HostSuffixTrieNode.cs │ │ │ ├── HttpDiagnosticsHttpRequestMessageExtensions.cs │ │ │ ├── HttpDiagnosticsHttpWebRequestExtensions.cs │ │ │ ├── HttpDiagnosticsServiceCollectionExtensions.cs │ │ │ └── RequestMetadataTrieNode.cs │ │ ├── Latency │ │ │ ├── HttpClientLatencyTelemetryExtensions.cs │ │ │ ├── HttpClientLatencyTelemetryOptions.cs │ │ │ └── Internal │ │ │ │ ├── HttpCheckpoints.cs │ │ │ │ ├── HttpClientLatencyContext.cs │ │ │ │ ├── HttpClientLatencyLogEnricher.cs │ │ │ │ ├── HttpLatencyTelemetryHandler.cs │ │ │ │ └── HttpRequestLatencyListener.cs │ │ ├── Logging │ │ │ ├── HttpClientLoggingHttpClientBuilderExtensions.cs │ │ │ ├── HttpClientLoggingServiceCollectionExtensions.cs │ │ │ ├── HttpClientLoggingTagNames.cs │ │ │ ├── IHttpClientLogEnricher.cs │ │ │ ├── Internal │ │ │ │ ├── Constants.cs │ │ │ │ ├── HttpClientLogger.cs │ │ │ │ ├── HttpHeadersReader.cs │ │ │ │ ├── HttpHeadersRedactor.cs │ │ │ │ ├── HttpRequestBodyReader.cs │ │ │ │ ├── HttpRequestReader.cs │ │ │ │ ├── HttpResponseBodyReader.cs │ │ │ │ ├── IDownstreamDependencyMetadataManager.cs │ │ │ │ ├── IHttpHeadersReader.cs │ │ │ │ ├── IHttpHeadersRedactor.cs │ │ │ │ ├── IHttpRequestReader.cs │ │ │ │ ├── Log.cs │ │ │ │ ├── LogRecord.cs │ │ │ │ ├── LoggerMessageStateExtensions.cs │ │ │ │ ├── LoggingOptionsValidator.cs │ │ │ │ ├── MediaTypeCollectionExtensions.cs │ │ │ │ ├── OptionsExtensions.cs │ │ │ │ ├── OutgoingRequestContext.cs │ │ │ │ ├── ServiceProviderExtensions.cs │ │ │ │ └── TelemetryCommonHttpExtensions.cs │ │ │ ├── LoggingOptions.cs │ │ │ └── OutgoingPathLoggingMode.cs │ │ ├── Microsoft.Extensions.Http.Diagnostics.csproj │ │ ├── Microsoft.Extensions.Http.Diagnostics.json │ │ └── README.md │ ├── Microsoft.Extensions.Http.Resilience │ │ ├── Hedging │ │ │ ├── HedgingEndpointOptions.cs │ │ │ ├── HttpClientHedgingResiliencePredicates.cs │ │ │ ├── HttpHedgingStrategyOptions.cs │ │ │ ├── HttpStandardHedgingResilienceOptions.cs │ │ │ ├── IStandardHedgingHandlerBuilder.cs │ │ │ ├── Internals │ │ │ │ ├── HedgingConstants.cs │ │ │ │ ├── RequestMessageSnapshotStrategy.cs │ │ │ │ ├── StandardHedgingPipelineNames.cs │ │ │ │ └── Validators │ │ │ │ │ ├── HttpStandardHedgingResilienceOptionsCustomValidator.cs │ │ │ │ │ └── HttpStandardHedgingResilienceOptionsValidator.cs │ │ │ ├── ResilienceHttpClientBuilderExtensions.Hedging.cs │ │ │ └── StandardHedgingHandlerBuilderExtensions.cs │ │ ├── Internal │ │ │ ├── HttpKey.cs │ │ │ ├── NamedOptionsCache.cs │ │ │ ├── Randomizer.cs │ │ │ ├── RequestMessageSnapshot.cs │ │ │ ├── ResilienceKeys.cs │ │ │ ├── RetryAfterHelper.cs │ │ │ └── UriExtensions.cs │ │ ├── Microsoft.Extensions.Http.Resilience.csproj │ │ ├── Microsoft.Extensions.Http.Resilience.json │ │ ├── Polly │ │ │ ├── HttpCircuitBreakerStrategyOptions.cs │ │ │ ├── HttpClientResiliencePredicates.cs │ │ │ ├── HttpRateLimiterStrategyOptions.cs │ │ │ ├── HttpRetryStrategyOptions.cs │ │ │ ├── HttpRetryStrategyOptionsExtensions.cs │ │ │ └── HttpTimeoutStrategyOptions.cs │ │ ├── README.md │ │ ├── Resilience │ │ │ ├── HttpResilienceContextExtensions.cs │ │ │ ├── HttpResilienceHttpRequestMessageExtensions.cs │ │ │ ├── HttpResiliencePipelineBuilderExtensions.cs │ │ │ ├── HttpStandardResilienceOptions.cs │ │ │ ├── HttpStandardResiliencePipelineBuilderExtensions.cs │ │ │ ├── IHttpResiliencePipelineBuilder.cs │ │ │ ├── IHttpStandardResiliencePipelineBuilder.cs │ │ │ ├── Internal │ │ │ │ ├── ByAuthorityPipelineKeyProvider.cs │ │ │ │ ├── HttpResilienceMetricsEnricher.cs │ │ │ │ ├── HttpResilienceTagNames.cs │ │ │ │ ├── PipelineKeyOptions.cs │ │ │ │ ├── PipelineKeyProviderHelper.cs │ │ │ │ ├── PipelineNameHelper.cs │ │ │ │ ├── StandardPipelineNames.cs │ │ │ │ └── Validators │ │ │ │ │ ├── HttpStandardResilienceOptionsCustomValidator.cs │ │ │ │ │ └── HttpStandardResilienceOptionsValidator.cs │ │ │ ├── ResilienceHandler.cs │ │ │ ├── ResilienceHandlerContext.cs │ │ │ ├── ResilienceHttpClientBuilderExtensions.Resilience.cs │ │ │ └── ResilienceHttpClientBuilderExtensions.StandardResilience.cs │ │ ├── Routing │ │ │ ├── IRoutingStrategyBuilder.cs │ │ │ ├── Internal │ │ │ │ ├── OrderedGroups │ │ │ │ │ ├── OrderedGroupsRoutingOptionsValidator.cs │ │ │ │ │ ├── OrderedGroupsRoutingStrategy.cs │ │ │ │ │ └── OrderedGroupsRoutingStrategyFactory.cs │ │ │ │ ├── RequestRoutingOptions.cs │ │ │ │ ├── RequestRoutingStrategy.cs │ │ │ │ ├── RoutingHelper.cs │ │ │ │ ├── RoutingResilienceStrategy.cs │ │ │ │ ├── RoutingStrategyBuilder.cs │ │ │ │ └── WeightedGroups │ │ │ │ │ ├── WeightedGroupsRoutingOptionsValidator.cs │ │ │ │ │ ├── WeightedGroupsRoutingStrategy.cs │ │ │ │ │ └── WeightedGroupsRoutingStrategyFactory.cs │ │ │ ├── OrderedGroupsRoutingOptions.cs │ │ │ ├── RoutingStrategyBuilderExtensions.cs │ │ │ ├── UriEndpoint.cs │ │ │ ├── UriEndpointGroup.cs │ │ │ ├── WeightedGroupSelectionMode.cs │ │ │ ├── WeightedGroupsRoutingOptions.cs │ │ │ ├── WeightedUriEndpoint.cs │ │ │ └── WeightedUriEndpointGroup.cs │ │ └── buildTransitive │ │ │ └── Microsoft.Extensions.Http.Resilience.targets │ ├── Microsoft.Extensions.ObjectPool.DependencyInjection │ │ ├── DependencyInjectionPoolOptions.cs │ │ ├── DependencyInjectionPooledObjectPolicy.cs │ │ ├── Microsoft.Extensions.ObjectPool.DependencyInjection.csproj │ │ ├── Microsoft.Extensions.ObjectPool.DependencyInjection.json │ │ ├── ObjectPoolServiceCollectionExtensions.cs │ │ └── README.md │ ├── Microsoft.Extensions.Options.Contextual │ │ ├── ContextualOptionsServiceCollectionExtensions.cs │ │ ├── IContextualOptions.cs │ │ ├── INamedContextualOptions.cs │ │ ├── IOptionsContext.cs │ │ ├── Internal │ │ │ ├── ConfigureContextualOptions.cs │ │ │ ├── ContextualOptions.cs │ │ │ ├── ContextualOptionsFactory.cs │ │ │ ├── IContextualOptionsFactory.cs │ │ │ └── LoadContextualOptions.cs │ │ ├── Microsoft.Extensions.Options.Contextual.csproj │ │ ├── Microsoft.Extensions.Options.Contextual.json │ │ ├── OptionsContextAttribute.cs │ │ ├── Provider │ │ │ ├── IConfigureContextualOptions.cs │ │ │ ├── ILoadContextualOptions.cs │ │ │ ├── IOptionsContextReceiver.cs │ │ │ ├── NullConfigureContextualOptions.cs │ │ │ └── NullConfigureContextualOptions_1.cs │ │ ├── README.md │ │ └── buildTransitive │ │ │ ├── Microsoft.Extensions.Options.Contextual.props │ │ │ └── Microsoft.Extensions.Options.Contextual.targets │ ├── Microsoft.Extensions.Resilience │ │ ├── Microsoft.Extensions.Resilience.csproj │ │ ├── Microsoft.Extensions.Resilience.json │ │ ├── README.md │ │ └── Resilience │ │ │ ├── Internal │ │ │ ├── ResilienceMetricsEnricher.cs │ │ │ └── ResilienceTagNames.cs │ │ │ ├── ResilienceContextExtensions.cs │ │ │ └── ResilienceServiceCollectionExtensions.cs │ ├── Microsoft.Extensions.Telemetry.Abstractions │ │ ├── Buffering │ │ │ ├── GlobalLogBuffer.cs │ │ │ ├── LogBuffer.cs │ │ │ └── PerRequestLogBuffer.cs │ │ ├── Enrichment │ │ │ ├── EnrichmentServiceCollectionExtensions.cs │ │ │ ├── IEnrichmentTagCollector.cs │ │ │ ├── ILogEnricher.cs │ │ │ └── IStaticLogEnricher.cs │ │ ├── Http │ │ │ ├── HttpRouteParameterRedactionMode.cs │ │ │ ├── IDownstreamDependencyMetadata.cs │ │ │ ├── IOutgoingRequestContext.cs │ │ │ ├── RequestMetadata.cs │ │ │ └── TelemetryConstants.cs │ │ ├── Latency │ │ │ ├── Checkpoint.cs │ │ │ ├── ILatencyContext.cs │ │ │ ├── ILatencyContextProvider.cs │ │ │ ├── ILatencyDataExporter.cs │ │ │ ├── LatencyData.cs │ │ │ ├── Measure.cs │ │ │ ├── NullLatencyContext.cs │ │ │ ├── NullLatencyContextServiceCollectionExtensions.cs │ │ │ ├── Registration │ │ │ │ ├── CheckpointToken.cs │ │ │ │ ├── ILatencyContextTokenIssuer.cs │ │ │ │ ├── LatencyContextRegistrationOptions.cs │ │ │ │ ├── LatencyContextRegistrationOptionsValidator.cs │ │ │ │ ├── LatencyRegistryServiceCollectionExtensions.cs │ │ │ │ ├── MeasureToken.cs │ │ │ │ └── TagToken.cs │ │ │ └── Tag.cs │ │ ├── Logging │ │ │ ├── ITagCollector.cs │ │ │ ├── LogPropertiesAttribute.cs │ │ │ ├── LogPropertyIgnoreAttribute.cs │ │ │ ├── LoggerMessageHelper.cs │ │ │ ├── LoggerMessageState.ClassifiedTag.cs │ │ │ ├── LoggerMessageState.EnrichmentTagCollector.cs │ │ │ ├── LoggerMessageState.ReadOnlyList.cs │ │ │ ├── LoggerMessageState.TagCollector.cs │ │ │ ├── LoggerMessageState.cs │ │ │ ├── TagNameAttribute.cs │ │ │ └── TagProviderAttribute.cs │ │ ├── Metrics │ │ │ ├── CounterAttribute.cs │ │ │ ├── CounterAttributeT.cs │ │ │ ├── GaugeAttribute.cs │ │ │ ├── HistogramAttribute.cs │ │ │ ├── HistogramAttributeT.cs │ │ │ └── TagNameAttribute.cs │ │ ├── Microsoft.Extensions.Telemetry.Abstractions.csproj │ │ ├── Microsoft.Extensions.Telemetry.Abstractions.json │ │ ├── README.md │ │ ├── Sampling │ │ │ └── LoggingSampler.cs │ │ └── buildTransitive │ │ │ ├── net6.0 │ │ │ ├── Microsoft.Extensions.Telemetry.Abstractions.props │ │ │ └── Microsoft.Extensions.Telemetry.Abstractions.targets │ │ │ └── net8.0 │ │ │ ├── Microsoft.Extensions.Telemetry.Abstractions.props │ │ │ └── Microsoft.Extensions.Telemetry.Abstractions.targets │ ├── Microsoft.Extensions.Telemetry │ │ ├── Buffering │ │ │ ├── BufferedLoggerProxy.cs │ │ │ ├── GlobalBuffer.cs │ │ │ ├── GlobalBufferLoggingBuilderExtensions.cs │ │ │ ├── GlobalLogBufferManager.cs │ │ │ ├── GlobalLogBufferingConfigureOptions.cs │ │ │ ├── GlobalLogBufferingOptions.cs │ │ │ ├── GlobalLogBufferingOptionsCustomValidator.cs │ │ │ ├── GlobalLogBufferingOptionsValidator.cs │ │ │ ├── LogBufferingFilterRule.cs │ │ │ ├── LogBufferingFilterRuleSelector.cs │ │ │ └── StringifyComprarer.cs │ │ ├── Enrichment │ │ │ ├── ApplicationEnricherServiceCollectionExtensions.cs │ │ │ ├── ApplicationEnricherTags.cs │ │ │ ├── ApplicationLogEnricher.cs │ │ │ ├── ApplicationLogEnricherOptions.cs │ │ │ ├── ProcessEnricherServiceCollectionExtensions.cs │ │ │ ├── ProcessEnricherTagNames.cs │ │ │ ├── ProcessLogEnricher.cs │ │ │ ├── ProcessLogEnricherOptions.cs │ │ │ └── StaticProcessLogEnricher.cs │ │ ├── Http │ │ │ ├── HttpRouteFormatter.cs │ │ │ ├── HttpRouteParameter.cs │ │ │ ├── HttpRouteParser.cs │ │ │ ├── IHttpRouteFormatter.cs │ │ │ ├── IHttpRouteParser.cs │ │ │ ├── ParsedRouteSegments.cs │ │ │ ├── Segment.cs │ │ │ └── TelemetryCommonExtensions.cs │ │ ├── Latency │ │ │ ├── Internal │ │ │ │ ├── CheckpointTracker.cs │ │ │ │ ├── LatencyConsoleExporter.cs │ │ │ │ ├── LatencyContext.cs │ │ │ │ ├── LatencyContextPool.cs │ │ │ │ ├── LatencyContextProvider.cs │ │ │ │ ├── LatencyContextRegistrySet.cs │ │ │ │ ├── LatencyContextTokenIssuer.cs │ │ │ │ ├── LatencyInstrumentProvider.cs │ │ │ │ ├── MeasureTracker.cs │ │ │ │ ├── Registry.cs │ │ │ │ ├── ResetOnGetObjectPool.cs │ │ │ │ └── TagCollection.cs │ │ │ ├── LatencyConsoleExtensions.cs │ │ │ ├── LatencyConsoleOptions.cs │ │ │ ├── LatencyContextExtensions.cs │ │ │ └── LatencyContextOptions.cs │ │ ├── Logging │ │ │ ├── ExtendedLogger.EnrichmentTagCollector.cs │ │ │ ├── ExtendedLogger.LegacyTagJoiner.cs │ │ │ ├── ExtendedLogger.ModernTagJoiner.cs │ │ │ ├── ExtendedLogger.Scope.cs │ │ │ ├── ExtendedLogger.ThreadLocals.cs │ │ │ ├── ExtendedLogger.cs │ │ │ ├── ExtendedLoggerFactory.cs │ │ │ ├── Import │ │ │ │ ├── LoggerFactoryScopeProvider.cs │ │ │ │ ├── LoggerInformation.cs │ │ │ │ ├── LoggerRuleSelector.cs │ │ │ │ ├── NullScope.cs │ │ │ │ └── ProviderAliasUtilities.cs │ │ │ ├── JustInTimeRedactor.cs │ │ │ ├── LoggerConfig.cs │ │ │ ├── LoggerEnrichmentOptions.cs │ │ │ ├── LoggerEnrichmentOptionsValidator.cs │ │ │ ├── LoggerRedactionOptions.cs │ │ │ ├── LoggingEnrichmentExtensions.cs │ │ │ ├── LoggingEventSource.cs │ │ │ └── LoggingRedactionExtensions.cs │ │ ├── Microsoft.Extensions.Telemetry.csproj │ │ ├── Microsoft.Extensions.Telemetry.json │ │ ├── README.md │ │ └── Sampling │ │ │ ├── ILogSamplingFilterRule.cs │ │ │ ├── LogSamplingRuleSelector.cs │ │ │ ├── LogSamplingRuleSelectorExtensions.cs │ │ │ ├── RandomProbabilisticSampler.cs │ │ │ ├── RandomProbabilisticSamplerConfigureOptions.cs │ │ │ ├── RandomProbabilisticSamplerFilterRule.cs │ │ │ ├── RandomProbabilisticSamplerOptions.cs │ │ │ ├── RandomProbabilisticSamplerOptionsValidator.cs │ │ │ ├── SamplingLoggerBuilderExtensions.cs │ │ │ └── TraceBasedSampler.cs │ └── Microsoft.Extensions.TimeProvider.Testing │ │ ├── FakeTimeProvider.cs │ │ ├── Microsoft.Extensions.TimeProvider.Testing.csproj │ │ ├── Microsoft.Extensions.TimeProvider.Testing.json │ │ ├── README.md │ │ ├── Timer.cs │ │ └── Waiter.cs ├── Packages │ ├── Directory.Build.props │ ├── Directory.Build.targets │ ├── Microsoft.Extensions.AuditReports │ │ ├── EmptyInternalClass.cs │ │ ├── Microsoft.Extensions.AuditReports.csproj │ │ ├── README.md │ │ └── buildTransitive │ │ │ └── Microsoft.Extensions.AuditReports.props │ ├── Microsoft.Extensions.StaticAnalysis │ │ ├── Microsoft.Extensions.StaticAnalysis.csproj │ │ ├── README.md │ │ └── build │ │ │ ├── Microsoft.Extensions.StaticAnalysis.props │ │ │ └── config │ │ │ ├── Benchmark-Tier1.globalconfig │ │ │ ├── Benchmark-Tier2.globalconfig │ │ │ ├── Benchmark.globalconfig │ │ │ ├── General-Tier1.globalconfig │ │ │ ├── General-Tier2.globalconfig │ │ │ ├── General.globalconfig │ │ │ ├── NonProdExe-Tier1.globalconfig │ │ │ ├── NonProdExe-Tier2.globalconfig │ │ │ ├── NonProdExe.globalconfig │ │ │ ├── NonProdLib-Tier1.globalconfig │ │ │ ├── NonProdLib-Tier2.globalconfig │ │ │ ├── NonProdLib.globalconfig │ │ │ ├── ProdExe-Tier1.globalconfig │ │ │ ├── ProdExe-Tier2.globalconfig │ │ │ ├── ProdExe.globalconfig │ │ │ ├── ProdLib-Tier1.globalconfig │ │ │ ├── ProdLib-Tier2.globalconfig │ │ │ ├── ProdLib.globalconfig │ │ │ ├── Test-Tier1.globalconfig │ │ │ ├── Test-Tier2.globalconfig │ │ │ └── Test.globalconfig │ └── Microsoft.Internal.Extensions.DotNetApiDocs.Transport │ │ └── Microsoft.Internal.Extensions.DotNetApiDocs.Transport.proj ├── ProjectTemplates │ ├── .gitignore │ ├── Directory.Build.props │ ├── GenerateTemplateContent │ │ └── GenerateTemplateContent.csproj │ ├── GeneratedContent.targets │ ├── Microsoft.Extensions.AI.Templates │ │ ├── Microsoft.Extensions.AI.Templates.csproj │ │ ├── README.md │ │ ├── THIRD-PARTY-NOTICES.TXT │ │ └── src │ │ │ └── ChatWithCustomData │ │ │ ├── .template.config │ │ │ ├── dotnetcli.host.json │ │ │ ├── ide.host.json │ │ │ ├── ide │ │ │ │ └── icon.ico │ │ │ └── template.json │ │ │ ├── ChatWithCustomData-CSharp.AppHost │ │ │ ├── ChatWithCustomData-CSharp.AppHost.csproj.in │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ ├── appsettings.Development.json │ │ │ └── appsettings.json │ │ │ ├── ChatWithCustomData-CSharp.ServiceDefaults │ │ │ ├── ChatWithCustomData-CSharp.ServiceDefaults.csproj.in │ │ │ └── Extensions.cs │ │ │ ├── ChatWithCustomData-CSharp.Web │ │ │ ├── ChatWithCustomData-CSharp.Web.csproj.in │ │ │ ├── Components │ │ │ │ ├── App.razor │ │ │ │ ├── Layout │ │ │ │ │ ├── LoadingSpinner.razor │ │ │ │ │ ├── LoadingSpinner.razor.css │ │ │ │ │ ├── MainLayout.razor │ │ │ │ │ ├── MainLayout.razor.css │ │ │ │ │ ├── SurveyPrompt.razor │ │ │ │ │ └── SurveyPrompt.razor.css │ │ │ │ ├── Pages │ │ │ │ │ ├── Chat │ │ │ │ │ │ ├── Chat.razor │ │ │ │ │ │ ├── Chat.razor.css │ │ │ │ │ │ ├── ChatCitation.razor │ │ │ │ │ │ ├── ChatCitation.razor.css │ │ │ │ │ │ ├── ChatHeader.razor │ │ │ │ │ │ ├── ChatHeader.razor.css │ │ │ │ │ │ ├── ChatInput.razor │ │ │ │ │ │ ├── ChatInput.razor.css │ │ │ │ │ │ ├── ChatInput.razor.js │ │ │ │ │ │ ├── ChatMessageItem.razor │ │ │ │ │ │ ├── ChatMessageItem.razor.css │ │ │ │ │ │ ├── ChatMessageList.razor │ │ │ │ │ │ ├── ChatMessageList.razor.css │ │ │ │ │ │ ├── ChatMessageList.razor.js │ │ │ │ │ │ ├── ChatSuggestions.razor │ │ │ │ │ │ └── ChatSuggestions.razor.css │ │ │ │ │ └── Error.razor │ │ │ │ ├── Routes.razor │ │ │ │ └── _Imports.razor │ │ │ ├── Directory.Build.targets.in │ │ │ ├── Program.Aspire.cs │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ ├── README.md │ │ │ ├── Services │ │ │ │ ├── IngestedChunk.cs │ │ │ │ ├── IngestedDocument.cs │ │ │ │ ├── Ingestion │ │ │ │ │ ├── DataIngestor.cs │ │ │ │ │ ├── IIngestionSource.cs │ │ │ │ │ └── PDFDirectorySource.cs │ │ │ │ └── SemanticSearch.cs │ │ │ ├── appsettings.Development.json │ │ │ ├── appsettings.json │ │ │ └── wwwroot │ │ │ │ ├── Data │ │ │ │ ├── Example_Emergency_Survival_Kit.pdf │ │ │ │ └── Example_GPS_Watch.pdf │ │ │ │ ├── app.css │ │ │ │ ├── app.js │ │ │ │ ├── favicon.ico │ │ │ │ └── lib │ │ │ │ ├── dompurify │ │ │ │ ├── README.md │ │ │ │ └── dist │ │ │ │ │ └── purify.es.mjs │ │ │ │ ├── marked │ │ │ │ ├── README.md │ │ │ │ └── dist │ │ │ │ │ └── marked.esm.js │ │ │ │ ├── pdf_viewer │ │ │ │ ├── viewer.html │ │ │ │ └── viewer.mjs │ │ │ │ ├── pdfjs-dist │ │ │ │ ├── README.md │ │ │ │ └── dist │ │ │ │ │ ├── build │ │ │ │ │ ├── pdf.min.mjs │ │ │ │ │ └── pdf.worker.min.mjs │ │ │ │ │ └── web │ │ │ │ │ ├── images │ │ │ │ │ └── loading-icon.gif │ │ │ │ │ ├── pdf_viewer.css │ │ │ │ │ └── pdf_viewer.mjs │ │ │ │ └── tailwindcss │ │ │ │ ├── README.md │ │ │ │ └── dist │ │ │ │ └── preflight.css │ │ │ ├── ChatWithCustomData-CSharp.sln.in │ │ │ ├── Directory.Build.props.in │ │ │ ├── Directory.Build.targets.in │ │ │ ├── NuGet.config.in │ │ │ └── README.Aspire.md │ ├── README.md │ ├── copyDependency.mjs │ ├── package-lock.json │ └── package.json └── Shared │ ├── .editorconfig │ ├── AzureSync │ ├── CopyToAzure.cmd │ ├── CopyToAzure.sh │ ├── CopyToDotNet.sh │ ├── CopyToDotnet.cmd │ └── ReadMe.SharedCode.md │ ├── BufferWriterPool │ ├── BufferWriter.cs │ ├── BufferWriterPool.cs │ ├── BufferWriterPooledObjectPolicy.cs │ ├── README.md │ └── ReturnableBufferWriter.cs │ ├── Data.Validation │ ├── LengthAttribute.cs │ ├── README.md │ ├── TimeSpanAttribute.cs │ └── ValidationContextExtensions.cs │ ├── Debugger │ ├── AttachedDebugger.cs │ ├── DebuggerExtensions.cs │ ├── DebuggerState.cs │ ├── DetachedDebugger.cs │ ├── IDebuggerState.cs │ ├── README.md │ └── SystemDebugger.cs │ ├── DiagnosticIds │ ├── DiagnosticIds.cs │ └── README.md │ ├── EmptyCollections │ ├── Empty.cs │ ├── EmptyCollectionExtensions.cs │ ├── EmptyReadOnlyList.cs │ ├── EmptyReadonlyDictionary.cs │ └── README.md │ ├── Instruments │ ├── README.md │ └── ResourceUtilizationInstruments.cs │ ├── JsonSchemaExporter │ ├── JsonSchemaExporter.JsonSchema.cs │ ├── JsonSchemaExporter.ReflectionHelpers.cs │ ├── JsonSchemaExporter.cs │ ├── JsonSchemaExporterContext.cs │ ├── JsonSchemaExporterOptions.cs │ ├── NullabilityInfoContext │ │ ├── NullabilityInfo.cs │ │ ├── NullabilityInfoContext.cs │ │ └── NullabilityInfoHelpers.cs │ └── README.md │ ├── LogBuffering │ ├── DeserializedLogRecord.cs │ ├── SerializedLogRecord.cs │ └── SerializedLogRecordFactory.cs │ ├── Memoization │ ├── Memoize.cs │ ├── MemoizedFunction.cs │ └── README.md │ ├── NumericExtensions │ ├── NumericExtensions.cs │ └── README.md │ ├── Pools │ ├── NoopPooledObjectPolicy.cs │ ├── PoolFactory.cs │ ├── PooledCancellationTokenSourcePolicy.cs │ ├── PooledDictionaryPolicy.cs │ ├── PooledListPolicy.cs │ ├── PooledListWithCapacityPolicy.cs │ ├── PooledSetPolicy.cs │ └── README.md │ ├── RentedSpan │ ├── README.md │ └── RentedSpan.cs │ ├── ServerSentEvents │ ├── ArrayBuffer.cs │ ├── Helpers.cs │ ├── PooledByteBufferWriter.cs │ ├── README.md │ ├── SseFormatter.cs │ ├── SseItem.cs │ ├── SseItemParser.cs │ ├── SseParser.cs │ ├── SseParser_1.cs │ └── ThrowHelper.cs │ ├── Shared.csproj │ ├── StringSplit │ ├── README.md │ ├── StringRange.cs │ └── StringSplitExtensions.cs │ └── Throw │ ├── README.md │ └── Throw.cs ├── start-code.cmd ├── start-code.sh ├── start-vs.cmd ├── test ├── .editorconfig ├── Analyzers │ ├── Microsoft.Analyzers.Extra.Tests │ │ ├── AsyncCallInsideUsingBlockAnalyzerTests.cs │ │ ├── AsyncMethodWithoutCancellationTests.cs │ │ ├── CallAnalysis │ │ │ ├── ArraysTests.cs │ │ │ ├── LegacyCollectionTests.cs │ │ │ ├── LegacyLoggingTests.Extra.cs │ │ │ ├── LegacyLoggingTests.cs │ │ │ ├── SplitTests.cs │ │ │ ├── StartsEndsWithTests.cs │ │ │ ├── StaticTimeTests.cs │ │ │ └── ValueTupleTests.cs │ │ ├── CoalesceAnalyzerTests.cs │ │ ├── ConditionalAccessAnalyzerTests.cs │ │ ├── MakeExeTypesInternalTests.cs │ │ ├── Microsoft.Analyzers.Extra.Tests.csproj │ │ ├── Resources │ │ │ ├── AnalyzerOptionsFactory.cs │ │ │ ├── FileVisibleToAnalyzer.cs │ │ │ └── RoslynTestUtils.cs │ │ ├── SyntaxNodeExtensionsTests.cs │ │ └── UsingToStringInLoggersTests.cs │ └── Microsoft.Analyzers.Local.Tests │ │ ├── ApiLifecycle │ │ ├── AnalysisModelTest.cs │ │ ├── ApiLifecycleAnalyzerTest.cs │ │ └── Data │ │ │ ├── Analyzers.json │ │ │ ├── AsyncState.json │ │ │ ├── AsyncState2.json │ │ │ ├── BufferWriter2.json │ │ │ ├── Buffers.Abstractions.json │ │ │ ├── Caching.Abstractions.json │ │ │ ├── Caching.Abstractions2.json │ │ │ ├── Collections.Frozen.json │ │ │ ├── CompletelyEmpty.json │ │ │ ├── Data.Classification.json │ │ │ ├── Data.Classification2.json │ │ │ ├── Delegates.json │ │ │ ├── Empty.json │ │ │ ├── Essentials.json │ │ │ ├── Experimental.json │ │ │ ├── ExperimentalDeletedNoErorr.json │ │ │ ├── Freezer.json │ │ │ ├── FrozenSet.json │ │ │ ├── Histogram.json │ │ │ ├── HttpClientResiliencePolly.json │ │ │ ├── ICounterT.json │ │ │ ├── ImplicitOperator.json │ │ │ ├── Indexer.json │ │ │ ├── Metrics.Abstractions.json │ │ │ ├── Microsoft.Extensions.TimeProvider.Testing.json │ │ │ ├── Pools.json │ │ │ ├── Protected.json │ │ │ ├── SimpleTaxonomy.json │ │ │ ├── SomePackage.json │ │ │ ├── StringSplit.json │ │ │ ├── Time.json │ │ │ └── WindowsCountersOptions.json │ │ ├── CallAnalysis │ │ ├── ToInvariantStringTests.cs │ │ └── UseThrowsTests.cs │ │ ├── InternalReferencedInPublicDocAnalyzerTests.cs │ │ ├── Json │ │ ├── JsonArrayTest.cs │ │ ├── JsonObjectTest.cs │ │ ├── JsonParseExceptionTest.cs │ │ ├── JsonReaderTest.cs │ │ ├── JsonScannerTest.cs │ │ └── JsonValueTest.cs │ │ ├── Microsoft.Analyzers.Local.Tests.csproj │ │ └── Resources │ │ ├── AnalyzerOptionsFactory.cs │ │ ├── FileVisibleToAnalyzer.cs │ │ └── RoslynTestUtils.cs ├── Directory.Build.props ├── Directory.Build.targets ├── Generators │ ├── Directory.Build.props │ ├── Microsoft.Gen.ComplianceReports │ │ ├── GoldenReports │ │ │ ├── Basic.json │ │ │ ├── Inheritance.json │ │ │ ├── LogMethod.json │ │ │ └── RecordProperty.json │ │ ├── TestClasses │ │ │ ├── Basic.cs │ │ │ ├── Inheritance.cs │ │ │ ├── LogMethod.cs │ │ │ └── RecordProperty.cs │ │ └── Unit │ │ │ ├── GeneratorTests.cs │ │ │ └── Microsoft.Gen.ComplianceReports.Unit.Tests.csproj │ ├── Microsoft.Gen.ContextualOptions │ │ ├── Generated │ │ │ ├── ContextualOptionsTests.cs │ │ │ └── Microsoft.Gen.ContextualOptions.Generated.Tests.csproj │ │ ├── TestClasses │ │ │ ├── Class1.cs │ │ │ ├── Class2A.cs │ │ │ ├── Class2B.cs │ │ │ ├── ClassWithNoAttribute.cs │ │ │ ├── ClassWithUnusableProperties.txt │ │ │ ├── NamespacelessRecord.cs │ │ │ ├── NonPartialClass.txt │ │ │ ├── NonPublicStruct.cs │ │ │ ├── Record1.cs │ │ │ ├── RefStruct.txt │ │ │ ├── StaticClass.txt │ │ │ └── Struct1.cs │ │ └── Unit │ │ │ ├── ContextualOptionsTests.cs │ │ │ ├── DiagDescriptorsTests.cs │ │ │ ├── EmitterTests.cs │ │ │ ├── Microsoft.Gen.ContextualOptions.Unit.Tests.csproj │ │ │ ├── ParserTests.cs │ │ │ └── SyntaxContextReceiverTests.cs │ ├── Microsoft.Gen.Logging │ │ ├── Generated │ │ │ ├── DataClassificationTests.cs │ │ │ ├── LogMethodTests.cs │ │ │ ├── LogPropertiesRedactionTests.cs │ │ │ ├── LogPropertiesTests.cs │ │ │ ├── LoggerFromMemberTests.cs │ │ │ ├── LoggerMessageAttributeTests.cs │ │ │ ├── Microsoft.Gen.Logging.Generated.Tests.csproj │ │ │ ├── PrimaryConstructorTests.cs │ │ │ ├── SensitiveRecordTests.cs │ │ │ ├── SimpleRedactorProvider.cs │ │ │ ├── SimpleRedactors.cs │ │ │ ├── TagNameTests.cs │ │ │ ├── TagProviderTests.cs │ │ │ ├── TransitiveTests.cs │ │ │ └── Utils.cs │ │ ├── TestClasses │ │ │ ├── ArgTestExtensions.cs │ │ │ ├── AtSymbolsTestExtensions.cs │ │ │ ├── AttributeTestExtensions.cs │ │ │ ├── CollectionTestExtensions.cs │ │ │ ├── ConstraintsTestExtensions.cs │ │ │ ├── ConstructorVariationsTestExtensions.cs │ │ │ ├── CustomToStringTestClass.cs │ │ │ ├── DataClassificationTestExtensions.cs │ │ │ ├── EnumerableTestExtensions.cs │ │ │ ├── EventNameTestExtensions.cs │ │ │ ├── ExceptionTestExtensions.cs │ │ │ ├── FormattableTestExtensions.cs │ │ │ ├── InParameterTestExtensions.cs │ │ │ ├── InvariantTestExtensions.cs │ │ │ ├── LevelTestExtensions.cs │ │ │ ├── LogPropertiesExtensions.cs │ │ │ ├── LogPropertiesNullHandlingExtensions.cs │ │ │ ├── LogPropertiesOmitParameterNameExtensions.cs │ │ │ ├── LogPropertiesRecordExtensions.cs │ │ │ ├── LogPropertiesRedactionExtensions.cs │ │ │ ├── LogPropertiesSimpleExtensions.cs │ │ │ ├── LogPropertiesSpecialTypesExtensions.cs │ │ │ ├── MessageTestExtensions.cs │ │ │ ├── MiscTestExtensions.cs │ │ │ ├── NamespaceTestExtensions.cs │ │ │ ├── NestedClassTestExtensions.cs │ │ │ ├── NonFormattable.cs │ │ │ ├── NonSensitiveRecordExtensions.cs │ │ │ ├── NonStaticNullableTestClass.cs │ │ │ ├── NonStaticTestClass.cs │ │ │ ├── NonStaticTestClasses.cs │ │ │ ├── NullableTestExtensions.cs │ │ │ ├── OriginalFormatTestExtensions.cs │ │ │ ├── OverloadsTestExtensions.cs │ │ │ ├── PrimaryConstructorsExtensions.cs │ │ │ ├── RecordTestExtensions.cs │ │ │ ├── SensitiveRecordExtensions.cs │ │ │ ├── SignatureTestExtensions.cs │ │ │ ├── SkipEnabledCheckTestExtensions.cs │ │ │ ├── StructTestExtensions.cs │ │ │ ├── TagNameExtensions.cs │ │ │ ├── TagProviderExtensions.cs │ │ │ ├── TagProviderWithObjectExtensions.cs │ │ │ ├── TemplateTestExtensions.cs │ │ │ ├── TestInstances.cs │ │ │ └── TransitiveTestExtensions.cs │ │ ├── Unit │ │ │ ├── AttributeParserTests.cs │ │ │ ├── CompilationHelper.cs │ │ │ ├── DiagDescriptorsTests.cs │ │ │ ├── EmitterTests.cs │ │ │ ├── EmitterUtilsTests.cs │ │ │ ├── LogParserUtilitiesTests.cs │ │ │ ├── LoggingMethodParameterTests.cs │ │ │ ├── LoggingMethodTests.cs │ │ │ ├── LoggingTypeTests.cs │ │ │ ├── Microsoft.Gen.Logging.Unit.Tests.csproj │ │ │ ├── ParserTests.LogMethod.cs │ │ │ ├── ParserTests.LogProperties.cs │ │ │ ├── ParserTests.TagProvider.cs │ │ │ ├── ParserTests.cs │ │ │ ├── ParserUtilitiesTests.cs │ │ │ ├── SymbolLoaderTests.cs │ │ │ ├── TemplatesExtractorTests.cs │ │ │ └── TypeSymbolExtensionsTests.cs │ │ └── Verified │ │ │ ├── ParserTests.ClassWithNullableProperty.verified.txt │ │ │ └── ParserTests.MultipleTypeDefinitions.verified.txt │ ├── Microsoft.Gen.MetadataExtractor │ │ ├── GoldenReports │ │ │ ├── Basic.json │ │ │ ├── Inheritance.json │ │ │ ├── LogMethod.json │ │ │ ├── MeterAttributedWithXmlDescriptions.json │ │ │ ├── MeterAttributedWithXmlDescriptions_RecordProperty.json │ │ │ ├── MeterDimensionsAttributedWithXmlDescriptions.json │ │ │ ├── MeterDimensionsAttributedWithXmlDescriptions_LogMethod.json │ │ │ └── RecordProperty.json │ │ ├── TestClasses │ │ │ ├── Basic.cs │ │ │ ├── Inheritance.cs │ │ │ ├── LogMethod.cs │ │ │ ├── MeterAttributedWithXmlDescriptions.cs │ │ │ ├── MeterAttributedWithXmlDescriptions_RecordProperty.cs │ │ │ ├── MeterDimensionsAttributedWithXmlDescriptions.cs │ │ │ ├── MeterDimensionsAttributedWithXmlDescriptions_LogMethod.cs │ │ │ └── RecordProperty.cs │ │ └── Unit │ │ │ ├── GeneratorTests.cs │ │ │ └── Microsoft.Gen.MetadataExtractor.Unit.Tests.csproj │ ├── Microsoft.Gen.Metrics │ │ ├── Generated │ │ │ ├── MetricTests.Ext.cs │ │ │ ├── MetricTests.cs │ │ │ └── Microsoft.Gen.Metrics.Generated.Tests.csproj │ │ ├── TestClasses │ │ │ ├── AttributedWithoutNamespace.cs │ │ │ ├── CounterDimensions.cs │ │ │ ├── CounterTestExtensions.cs │ │ │ ├── FileScopedNamespaceExtensions.cs │ │ │ ├── HistogramTestExtensions.cs │ │ │ ├── MetricConstants.cs │ │ │ ├── MetricRecordClassTestExtensions.cs │ │ │ ├── MetricRecordStructTestExtensions.cs │ │ │ ├── MetricStructTestExtensions.cs │ │ │ ├── NestedClassMetrics.cs │ │ │ ├── NestedRecordClassMetrics.cs │ │ │ ├── NestedRecordStructMetrics.cs │ │ │ ├── NestedStructMetrics.cs │ │ │ ├── OverlappingNamesTestExtensions.cs │ │ │ └── Public.cs │ │ └── Unit │ │ │ ├── DiagDescriptorsTests.cs │ │ │ ├── EmitterTests.cs │ │ │ ├── MetricMethodTests.cs │ │ │ ├── MetricParameterTests.cs │ │ │ ├── MetricTypeTests.cs │ │ │ ├── Microsoft.Gen.Metrics.Unit.Tests.csproj │ │ │ ├── ParserTests.Diagnostics.cs │ │ │ ├── ParserTests.StrongTypes.cs │ │ │ ├── ParserTests.cs │ │ │ └── StrongTypeConfigTests.cs │ ├── Microsoft.Gen.MetricsReports │ │ ├── GoldenReports │ │ │ ├── MeterAttributedWithXmlDescriptions.json │ │ │ └── MeterDimensionsAttributedWithXmlDescriptions.json │ │ ├── TestClasses │ │ │ ├── MeterAttributedWithXmlDescriptions.cs │ │ │ └── MeterDimensionsAttributedWithXmlDescriptions.cs │ │ └── Unit │ │ │ ├── EmitterTests.cs │ │ │ ├── GeneratorTests.cs │ │ │ └── Microsoft.Gen.MetricsReports.Unit.Tests.csproj │ └── Shared │ │ └── RoslynTestUtils.cs ├── Libraries │ ├── Directory.Build.props │ ├── Microsoft.AspNetCore.AsyncState.Tests │ │ ├── AsyncContextHttpContextOfTTests.cs │ │ ├── AsyncStateHttpContextExtensionsTests.cs │ │ ├── IThing.cs │ │ ├── Microsoft.AspNetCore.AsyncState.Tests.csproj │ │ └── Thing.cs │ ├── Microsoft.AspNetCore.Diagnostics.Middleware.Tests │ │ ├── Buffering │ │ │ ├── PerIncomingRequestLoggingBuilderExtensionsTests.cs │ │ │ ├── PerRequestLogBufferingOptionsConfigureOptionsTests.cs │ │ │ ├── PerRequestLogBufferingOptionsCustomValidatorTests.cs │ │ │ └── TestConfiguration.cs │ │ ├── Latency │ │ │ ├── AcceptanceTests.cs │ │ │ ├── AddServerTimingHeaderMiddlewareTests.cs │ │ │ ├── ChecpointAcceptanceTests.cs │ │ │ ├── LatencyContextControlExtensionsTests.cs │ │ │ ├── RequestCheckpointExtensionsTests.cs │ │ │ ├── RequestLatencyTelemetryExtensionsTests.cs │ │ │ ├── RequestLatencyTelemetryMiddlewareTests.cs │ │ │ └── RequestLatencyTelemetryOptionsValidatorTests.cs │ │ ├── Logging │ │ │ ├── AcceptanceTests.Mvc.cs │ │ │ ├── AcceptanceTests.Routing.cs │ │ │ ├── AcceptanceTests.cs │ │ │ ├── ApiRoutingController.cs │ │ │ ├── AttributeRoutingController.cs │ │ │ ├── ConventionalRoutingController.cs │ │ │ ├── CustomHttpLogEnricher.cs │ │ │ ├── HeaderNormalizerTests.cs │ │ │ ├── HeaderReaderTests.cs │ │ │ ├── HttpLoggingServiceExtensionsTests.cs │ │ │ ├── HttpUtilityExtensionsTests.cs │ │ │ ├── IncomingHttpDimensionsTests.cs │ │ │ ├── IncomingHttpRouteUtilityTests.cs │ │ │ ├── LoggingOptionsValidationTests.cs │ │ │ ├── MixedRoutingController.cs │ │ │ ├── RequestHeadersEnricherExtensionsTests.cs │ │ │ ├── RequestHeadersEnricherTests.cs │ │ │ ├── TestController.cs │ │ │ ├── TestExtensions.cs │ │ │ ├── TestHttpLogEnricher.cs │ │ │ └── TestLogEnrichmentTagCollector.cs │ │ ├── Microsoft.AspNetCore.Diagnostics.Middleware.Tests.csproj │ │ └── appsettings.json │ ├── Microsoft.AspNetCore.HeaderParsing.Tests │ │ ├── CommonHeadersTests.cs │ │ ├── HeaderKeyTests.cs │ │ ├── HeaderParsingExtensionsTests.cs │ │ ├── HeaderParsingFeatureTests.cs │ │ ├── HeaderParsingOptionsTests.cs │ │ ├── HeaderRegistryTests.cs │ │ ├── HeaderSetupTests.cs │ │ ├── HostHeaderValueTests.cs │ │ ├── Microsoft.AspNetCore.HeaderParsing.Tests.csproj │ │ └── ParserTests.cs │ ├── Microsoft.AspNetCore.Testing.Tests │ │ ├── FakeCertificateFactoryTests.cs │ │ ├── FakeCertificateHttpClientHandlerTests.cs │ │ ├── FakeStartupTests.cs │ │ ├── FakesExtensionsTests.cs │ │ ├── Microsoft.AspNetCore.Testing.Tests.csproj │ │ └── TestResources │ │ │ ├── ReturningHttpClientHandler.cs │ │ │ ├── Startup.cs │ │ │ └── TestHandler.cs │ ├── Microsoft.Extensions.AI.Abstractions.Tests │ │ ├── AIToolTests.cs │ │ ├── AdditionalPropertiesDictionaryTests.cs │ │ ├── AssertExtensions.cs │ │ ├── ChatCompletion │ │ │ ├── ChatClientExtensionsTests.cs │ │ │ ├── ChatClientMetadataTests.cs │ │ │ ├── ChatFinishReasonTests.cs │ │ │ ├── ChatMessageTests.cs │ │ │ ├── ChatOptionsTests.cs │ │ │ ├── ChatResponseFormatTests.cs │ │ │ ├── ChatResponseTests.cs │ │ │ ├── ChatResponseUpdateExtensionsTests.cs │ │ │ ├── ChatResponseUpdateTests.cs │ │ │ ├── ChatRoleTests.cs │ │ │ ├── ChatToolModeTests.cs │ │ │ └── DelegatingChatClientTests.cs │ │ ├── Contents │ │ │ ├── AIContentTests.cs │ │ │ ├── DataContentTests.cs │ │ │ ├── ErrorContentTests.cs │ │ │ ├── FunctionCallContentTests..cs │ │ │ ├── FunctionResultContentTests.cs │ │ │ ├── TextContentTests.cs │ │ │ ├── TextReasoningContentTests.cs │ │ │ ├── UriContentTests.cs │ │ │ └── UsageContentTests.cs │ │ ├── Embeddings │ │ │ ├── BinaryEmbeddingTests.cs │ │ │ ├── DelegatingEmbeddingGeneratorTests.cs │ │ │ ├── EmbeddingGenerationOptionsTests.cs │ │ │ ├── EmbeddingGeneratorExtensionsTests.cs │ │ │ ├── EmbeddingGeneratorMetadataTests.cs │ │ │ ├── EmbeddingTests.cs │ │ │ └── GeneratedEmbeddingsTests.cs │ │ ├── Functions │ │ │ ├── AIFunctionArgumentsTests.cs │ │ │ └── AIFunctionTests.cs │ │ ├── HostedCodeInterpreterToolTests.cs │ │ ├── HostedWebSearchToolTests.cs │ │ ├── Microsoft.Extensions.AI.Abstractions.Tests.csproj │ │ ├── SpeechToText │ │ │ ├── DelegatingSpeechToTextClientTests.cs │ │ │ ├── SpeechToTextClientExtensionsTests.cs │ │ │ ├── SpeechToTextClientMetadataTests.cs │ │ │ ├── SpeechToTextClientTests.cs │ │ │ ├── SpeechToTextOptionsTests.cs │ │ │ ├── SpeechToTextResponseTests.cs │ │ │ ├── SpeechToTextResponseUpdateExtensionsTests.cs │ │ │ ├── SpeechToTextResponseUpdateKindTests.cs │ │ │ └── SpeechToTextResponseUpdateTests.cs │ │ ├── TestChatClient.cs │ │ ├── TestEmbeddingGenerator.cs │ │ ├── TestJsonSerializerContext.cs │ │ ├── TestSpeechToTextClient.cs │ │ └── Utilities │ │ │ ├── AIJsonSchemaTransformCacheTests.cs │ │ │ └── AIJsonUtilitiesTests.cs │ ├── Microsoft.Extensions.AI.AzureAIInference.Tests │ │ ├── AzureAIInferenceChatClientIntegrationTests.cs │ │ ├── AzureAIInferenceChatClientTests.cs │ │ ├── AzureAIInferenceEmbeddingGeneratorIntegrationTests.cs │ │ ├── AzureAIInferenceEmbeddingGeneratorTests.cs │ │ ├── AzureAIInferenceImageEmbeddingGeneratorTests.cs │ │ ├── IntegrationTestHelpers.cs │ │ └── Microsoft.Extensions.AI.AzureAIInference.Tests.csproj │ ├── Microsoft.Extensions.AI.Evaluation.Console.Tests │ │ ├── ExceptionUtilitiesTests.cs │ │ └── Microsoft.Extensions.AI.Evaluation.Console.Tests.csproj │ ├── Microsoft.Extensions.AI.Evaluation.Integration.Tests │ │ ├── .gitignore │ │ ├── Microsoft.Extensions.AI.Evaluation.Integration.Tests.csproj │ │ ├── QualityEvaluatorTests.cs │ │ ├── README.md │ │ ├── ResultsTests.cs │ │ ├── SafetyEvaluatorTests.cs │ │ ├── Settings.cs │ │ ├── Setup.cs │ │ ├── TestEvaluator.cs │ │ └── appsettings.json │ ├── Microsoft.Extensions.AI.Evaluation.Reporting.Tests │ │ ├── .gitignore │ │ ├── AzureStorage │ │ │ ├── AzureResponseCacheTests.cs │ │ │ └── AzureResultStoreTests.cs │ │ ├── CacheEntryTests.cs │ │ ├── DiskBased │ │ │ ├── DiskBasedResponseCacheTests.cs │ │ │ └── DiskBasedResultStoreTests.cs │ │ ├── EmbeddingTests.cs │ │ ├── Microsoft.Extensions.AI.Evaluation.Reporting.Tests.csproj │ │ ├── README.md │ │ ├── ResponseCacheTester.cs │ │ ├── ResultStoreTester.cs │ │ ├── ScenarioRunResultTests.cs │ │ ├── SerializationChainingTests.cs │ │ ├── Settings.cs │ │ └── appsettings.json │ ├── Microsoft.Extensions.AI.Evaluation.Tests │ │ ├── ChatMessageUtilities.cs │ │ ├── Microsoft.Extensions.AI.Evaluation.Tests.csproj │ │ └── RelevanceTruthAndCompletenessEvaluatorRatingTests.cs │ ├── Microsoft.Extensions.AI.Integration.Tests │ │ ├── CallCountingChatClient.cs │ │ ├── CallCountingEmbeddingGenerator.cs │ │ ├── ChatClientIntegrationTests.cs │ │ ├── EmbeddingGeneratorIntegrationTests.cs │ │ ├── Microsoft.Extensions.AI.Integration.Tests.csproj │ │ ├── PromptBasedFunctionCallingChatClient.cs │ │ ├── QuantizationEmbeddingGenerator.cs │ │ ├── README.md │ │ ├── ReducingChatClientTests.cs │ │ ├── Resources │ │ │ └── audio001.mp3 │ │ ├── SpeechToTextClientIntegrationTests.cs │ │ ├── TestRunnerConfiguration.cs │ │ ├── VerbatimHttpHandler.cs │ │ └── VerbatimMultiPartHttpHandler.cs │ ├── Microsoft.Extensions.AI.Ollama.Tests │ │ ├── IntegrationTestHelpers.cs │ │ ├── Microsoft.Extensions.AI.Ollama.Tests.csproj │ │ ├── OllamaChatClientIntegrationTests.cs │ │ ├── OllamaChatClientTests.cs │ │ ├── OllamaEmbeddingGeneratorIntegrationTests.cs │ │ ├── OllamaEmbeddingGeneratorTests.cs │ │ └── TestJsonSerializerContext.cs │ ├── Microsoft.Extensions.AI.OllamaSharp.Integration.Tests │ │ ├── Microsoft.Extensions.AI.OllamaSharp.Integration.Tests.csproj │ │ ├── OllamaSharpChatClientIntegrationTests.cs │ │ └── OllamaSharpEmbeddingGeneratorIntegrationTests.cs │ ├── Microsoft.Extensions.AI.OpenAI.Tests │ │ ├── IntegrationTestHelpers.cs │ │ ├── Microsoft.Extensions.AI.OpenAI.Tests.csproj │ │ ├── OpenAIChatClientIntegrationTests.cs │ │ ├── OpenAIChatClientTests.cs │ │ ├── OpenAIEmbeddingGeneratorIntegrationTests.cs │ │ ├── OpenAIEmbeddingGeneratorTests.cs │ │ ├── OpenAIResponseClientIntegrationTests.cs │ │ ├── OpenAIResponseClientTests.cs │ │ ├── OpenAISpeechToTextClientIntegrationTests.cs │ │ └── OpenAISpeechToTextClientTests.cs │ ├── Microsoft.Extensions.AI.Tests │ │ ├── ChatCompletion │ │ │ ├── ChatClientBuilderTest.cs │ │ │ ├── ChatClientStructuredOutputExtensionsTests.cs │ │ │ ├── ConfigureOptionsChatClientTests.cs │ │ │ ├── CustomAIContentJsonContext.cs │ │ │ ├── DependencyInjectionPatterns.cs │ │ │ ├── DistributedCachingChatClientTest.cs │ │ │ ├── FunctionInvocationContextTests.cs │ │ │ ├── FunctionInvokingChatClientTests.cs │ │ │ ├── LoggingChatClientTests.cs │ │ │ ├── OpenTelemetryChatClientTests.cs │ │ │ ├── SingletonChatClientExtensions.cs │ │ │ └── UseDelegateChatClientTests.cs │ │ ├── Embeddings │ │ │ ├── ConfigureOptionsEmbeddingGeneratorTests.cs │ │ │ ├── DistributedCachingEmbeddingGeneratorTest.cs │ │ │ ├── EmbeddingGeneratorBuilderTests.cs │ │ │ ├── LoggingEmbeddingGeneratorTests.cs │ │ │ ├── OpenTelemetryEmbeddingGeneratorTests.cs │ │ │ └── UseDelegateEmbeddingGeneratorTests.cs │ │ ├── Functions │ │ │ └── AIFunctionFactoryTest.cs │ │ ├── Microsoft.Extensions.AI.Tests.csproj │ │ ├── SpeechToText │ │ │ ├── ConfigureOptionsSpeechToTextClientTests.cs │ │ │ ├── LoggingSpeechToTextClientTests.cs │ │ │ ├── SingletonSpeechToTextClientExtensions.cs │ │ │ └── SpeechToTextClientDependencyInjectionPatterns.cs │ │ ├── TestInMemoryCacheStorage.cs │ │ └── TestJsonSerializerContext.cs │ ├── Microsoft.Extensions.AmbientMetadata.Application.Tests │ │ ├── AcceptanceTests.cs │ │ ├── ApplicationMetadataExtensionsTests.cs │ │ ├── ApplicationMetadataSourceTests.cs │ │ ├── ApplicationMetadataTests.cs │ │ ├── ApplicationMetadataValidatorTests.cs │ │ └── Microsoft.Extensions.AmbientMetadata.Application.Tests.csproj │ ├── Microsoft.Extensions.AotCompatibility.TestApp │ │ ├── Microsoft.Extensions.AotCompatibility.TestApp.csproj │ │ └── Program.cs │ ├── Microsoft.Extensions.AsyncState.Tests │ │ ├── AssemblyInfo.cs │ │ ├── AsyncContextServiceCollectionExtensionsTests.cs │ │ ├── AsyncContextTests.cs │ │ ├── AsyncStateTests.cs │ │ ├── AsyncStateTokenTests.cs │ │ ├── FeaturesPooledPolicyTests.cs │ │ ├── Microsoft.Extensions.AsyncState.Tests.csproj │ │ └── Mock │ │ │ ├── AnotherThing.cs │ │ │ ├── IThing.cs │ │ │ └── Thing.cs │ ├── Microsoft.Extensions.Caching.Hybrid.Tests │ │ ├── BasicConfig.json │ │ ├── BufferReleaseTests.cs │ │ ├── DistributedCacheTests.cs │ │ ├── ExpirationTests.cs │ │ ├── FunctionalTests.cs │ │ ├── HybridCacheEventSourceTests.cs │ │ ├── L2Tests.cs │ │ ├── LocalInvalidationTests.cs │ │ ├── LogCollector.cs │ │ ├── Microsoft.Extensions.Caching.Hybrid.Tests.csproj │ │ ├── NullDistributedCache.cs │ │ ├── Options.cs │ │ ├── PayloadTests.cs │ │ ├── RedisFixture.cs │ │ ├── RedisTests.cs │ │ ├── SampleUsage.cs │ │ ├── SerializerTests.cs │ │ ├── ServiceConstructionTests.cs │ │ ├── SizeTests.cs │ │ ├── SqlServerTests.cs │ │ ├── StampedeTests.cs │ │ ├── TagSetTests.cs │ │ ├── TestEventListener.cs │ │ ├── TypeTests.cs │ │ └── UnreliableL2Tests.cs │ ├── Microsoft.Extensions.Compliance.Abstractions.Tests │ │ ├── Classification │ │ │ ├── DataClassificationAttributeTests.cs │ │ │ ├── DataClassificationSetTests.cs │ │ │ ├── DataClassificationTests.cs │ │ │ ├── DataClassificationTypeConverterTests.cs │ │ │ ├── NoDataClassificationAttributeTests.cs │ │ │ └── UnknownDataClassificationAttributeTests.cs │ │ ├── Microsoft.Extensions.Compliance.Abstractions.Tests.csproj │ │ └── Redaction │ │ │ ├── NullRedactorTest.cs │ │ │ ├── RedactionAbstractionsExtensionsTest.cs │ │ │ ├── RedactorTest.cs │ │ │ ├── TestFormattable.cs │ │ │ ├── TestObject.cs │ │ │ └── TestSpanFormattable.cs │ ├── Microsoft.Extensions.Compliance.Redaction.Tests │ │ ├── ErasingRedactorTests.cs │ │ ├── FakePlaintextRedactor.cs │ │ ├── FakeStartup.cs │ │ ├── HmacRedactorExtensionsTests.cs │ │ ├── HmacRedactorTest.cs │ │ ├── Microsoft.Extensions.Compliance.Redaction.Tests.csproj │ │ ├── RedactionAcceptanceTests.cs │ │ └── RedactorProviderTests.cs │ ├── Microsoft.Extensions.Compliance.Testing.Tests │ │ ├── AttributeTests.cs │ │ ├── FakeRedactorOptionsValidatorTests.cs │ │ ├── FakeRedactorProviderTests.cs │ │ ├── FakeRedactorTests.cs │ │ ├── Microsoft.Extensions.Compliance.Testing.Tests.csproj │ │ ├── RedactionFakesAcceptanceTests.cs │ │ ├── RedactionFakesEventCollectorTests.cs │ │ └── Setup.cs │ ├── Microsoft.Extensions.DependencyInjection.AutoActivation.Tests │ │ ├── AcceptanceTest.Keyed.cs │ │ ├── AcceptanceTest.cs │ │ ├── AutoActivationExtensionsKeyedTests.cs │ │ ├── AutoActivationExtensionsTests.cs │ │ ├── AutoActivationHostedServiceTests.cs │ │ ├── Fakes │ │ │ ├── AnotherFakeService.cs │ │ │ ├── DifferentPocoClass.cs │ │ │ ├── FactoryService.cs │ │ │ ├── FakeOneMultipleService.cs │ │ │ ├── FakeOpenGenericService.cs │ │ │ ├── FakeService.cs │ │ │ ├── IFactoryService.cs │ │ │ ├── IFakeMultipleService.cs │ │ │ ├── IFakeOpenGenericService.cs │ │ │ ├── IFakeService.cs │ │ │ └── PocoClass.cs │ │ ├── Helpers │ │ │ ├── AnotherFakeServiceCounter.cs │ │ │ ├── IAnotherFakeServiceCounter.cs │ │ │ ├── IFactoryServiceCounter.cs │ │ │ ├── IFakeMultipleCounter.cs │ │ │ ├── IFakeOpenGenericCounter.cs │ │ │ ├── IFakeServiceCounter.cs │ │ │ └── InstanceCreatingCounter.cs │ │ └── Microsoft.Extensions.DependencyInjection.AutoActivation.Tests.csproj │ ├── Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests │ │ ├── ExceptionSummarizerTests.cs │ │ ├── ExceptionSummaryExtensionsTests.cs │ │ ├── ExceptionSummaryTests.cs │ │ ├── HttpExceptionSummaryProviderExtensionsTests.cs │ │ ├── HttpExceptionSummaryProviderTests.cs │ │ ├── Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests.csproj │ │ └── TestException.cs │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests │ │ ├── ApplicationLifecycleHealthCheckTests.cs │ │ ├── ApplicationLifecycleHealthChecksExtensionsTests.cs │ │ ├── ManualHealthCheckExtensionsTests.cs │ │ ├── ManualHealthCheckTests.cs │ │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests.csproj │ │ ├── MockHostApplicationLifetime.cs │ │ ├── TelemetryHealthChecksPublisherExtensionsTests.cs │ │ └── TelemetryHealthChecksPublisherTests.cs │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests │ │ ├── HealthCheckTestData.cs │ │ ├── Linux │ │ │ └── LinuxResourceHealthCheckTests.cs │ │ ├── Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests.csproj │ │ ├── ResourceHealthCheckExtensionsTests.cs │ │ └── ResourceHealthCheckTests.cs │ ├── Microsoft.Extensions.Diagnostics.Probes.Tests │ │ ├── KubernetesProbesExtensionsTests.cs │ │ ├── KubernetesProbesOptionsValidatorTests.cs │ │ ├── Microsoft.Extensions.Diagnostics.Probes.Tests.csproj │ │ ├── MockHealthCheckService.cs │ │ ├── TcpEndpointProbesExtensionsTests.cs │ │ └── TcpEndpointProbesServiceTests.cs │ ├── Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests │ │ ├── ByteArrayEqualityComparerTests.cs │ │ ├── CalculatorTests.cs │ │ ├── CircularBufferTests.cs │ │ ├── Helpers │ │ │ ├── DummyProvider.cs │ │ │ ├── DummyTracker.cs │ │ │ └── TestMeterFactory.cs │ │ ├── IResourceUtilizationSnapshotProviderTests.cs │ │ ├── IResourceUtilizationTrackerTests.cs │ │ ├── Linux │ │ │ ├── AcceptanceTest.cs │ │ │ ├── Disk │ │ │ │ ├── DiskStatsReaderTests.cs │ │ │ │ ├── FakeDiskStatsReader.cs │ │ │ │ └── LinuxSystemDiskMetricsTests.cs │ │ │ ├── LinuxCountersTests.cs │ │ │ ├── LinuxNetworkMetricsTests.cs │ │ │ ├── LinuxNetworkUtilizationParserTests.cs │ │ │ ├── LinuxUtilizationParserCgroupV1Tests.cs │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.cs │ │ │ ├── LinuxUtilizationProviderTests.cs │ │ │ ├── OSFileSystemTests.cs │ │ │ ├── Resources │ │ │ │ ├── DummyLinuxUtilizationParser.cs │ │ │ │ ├── FakeUserHz.cs │ │ │ │ ├── FileNamesOnlyFileSystem.cs │ │ │ │ ├── GenericPublisher.cs │ │ │ │ ├── HardcodedValueFileSystem.cs │ │ │ │ └── TestResources.cs │ │ │ └── Verified │ │ │ │ ├── LinuxNetworkUtilizationParserTests.1.DotNet6_0.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.1.DotNet8_0.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.1.DotNet9_0.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.2.DotNet6_0.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.2.DotNet8_0.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.2.DotNet9_0.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.3.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.4.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.5.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.6.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.Parser_Throws_When_Data_Is_Invalid_line=DFIJEUWGHFWGBWEFWOMDOWKSLA.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv4_line= .verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv4_line=!@#!$%!@.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv4_line=.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv4_line=DFIJEUWGHFWGBWEFWOMDOWKSLA.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv4_line=________________________Asdasdasdas dd.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv6_line= .verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv6_line=!@#!$%!@.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv6_line=.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv6_line=DFIJEUWGHFWGBWEFWOMDOWKSLA.verified.txt │ │ │ │ ├── LinuxNetworkUtilizationParserTests.ipv6_line=________________________Asdasdasdas dd.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Fallsback_To_Cpuset_When_Quota_And_Period_Are_Minus_One_.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_AvailableMemoryInBytes_Doesnt_Contain_Just_A_Number_content=Suspicious12312312.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_AvailableMemoryInBytes_Doesnt_Contain_Just_A_Number_content=string12312.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_AvailableMemoryInBytes_Doesnt_Contain_Just_A_Number_content=string@.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota= 12_period=eeeee 12.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=-----_period=18.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=-18_period=18.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=-_period=d'.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=-_period=d--.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=12 _period=.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=123_period=-----.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=2_period=d--.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=2d2d2d_period=e3.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=3d_period=d3.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Files_Contain_Invalid_Data_quota=dd1d_period=18.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Weight_Files_Contain_Invalid_Data_content=-1.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Weight_Files_Contain_Invalid_Data_content=0.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Weight_Files_Contain_Invalid_Data_content=10001.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Cgroup_Cpu_Weight_Files_Contain_Invalid_Data_content=dasrz3424.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuAcctUsage_Has_Invalid_Content_Both_Parts_content=@#dddada_value=342322.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuAcctUsage_Has_Invalid_Content_Both_Parts_content=dasd_value=-1.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuAcctUsage_Has_Invalid_Content_Both_Parts_content=usage__value=12222.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content= d 182-1923.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=--.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=-11.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=0-.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=1-18 --.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=1-18-22.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=22-18.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=22-d.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=aaaa.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuSet_Has_Invalid_Content_content=d-22.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuUsage_Invalid_content= 2.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuUsage_Invalid_content= 2569530 36700 245693 4860924 82283 0 4360 0dsa.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuUsage_Invalid_content= 2569530 36700 245693.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuUsage_Invalid_content=2569530367000.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuUsage_Invalid_content=asdasd 2569530 36700 245693 4860924 82283 0 4360 0 0 0.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_CpuUsage_Invalid_content=cpu 2569530 36700 245693.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Inactive_Memory_Is_Bigger_Than_Total_Memory_inactive=10000_total=100.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Inactive_Memory_Is_Bigger_Than_Total_Memory_inactive=104343_total=1.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Inactive_Memory_Is_Bigger_Than_Total_Memory_inactive=23423_total=22.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=Mem.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemTotal- 1024 .verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemTotal- 1024 @@ .verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemTotal- 1024 PB.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemTotal- 120.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemTotal- MB.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemTotal- PB.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemTotal- kb.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemTotal-.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemoryTotal- 1024 MB .verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_MemInfo_Does_Not_Contain_TotalMemory_totalMemory=MemoryTotal- 123123123123123123.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=----------------------.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=--.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=1024 KB d -- 1024.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=1024 KB.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=1231234124124.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=@ @#dddada.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=Suspicious.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=Total_Inactive_File 2.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=string12312.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=string@ -1.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=string@.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=total-inactive-file.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=total_active_file.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=total_inactive-file.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_TotalInactiveFile_Is_Invalid_content=total_inactive_file-_ 21391.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Doesnt_Contain_A_Number.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=----------------------.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=--.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=@ @#dddada.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=Suspicious.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=Suspicious12312312.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=_1231234124124.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=eee 1024 KB.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=string12312.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_UsageInBytes_Is_Invalid_content=string@.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Usage_Usec_Has_Negative_Value_value=-1.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Usage_Usec_Has_Negative_Value_value=-15.verified.txt │ │ │ │ ├── LinuxUtilizationParserCgroupV2Tests.Throws_When_Usage_Usec_Has_Negative_Value_value=-32131.verified.txt │ │ │ │ └── LinuxUtilizationProviderTests.Provider_EmitsLogRecord.verified.txt │ │ ├── Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests.csproj │ │ ├── Providers │ │ │ ├── ConditionallyFaultProvider.cs │ │ │ ├── FakeProvider.cs │ │ │ └── FaultProvider.cs │ │ ├── Publishers │ │ │ ├── AnotherPublisher.cs │ │ │ ├── EmptyPublisher.cs │ │ │ ├── FaultPublisher.cs │ │ │ └── GenericPublisher.cs │ │ ├── ResourceMonitoringBuilderTests.cs │ │ ├── ResourceMonitoringExtensionsTests.cs │ │ ├── ResourceMonitoringOptionsCustomValidatorTests.cs │ │ ├── ResourceMonitoringOptionsTests.cs │ │ ├── ResourceMonitoringOptionsValidatorTests.cs │ │ ├── ResourceMonitoringServiceTests.cs │ │ ├── ResourceUtilizationTests.cs │ │ ├── SnapshotTests.cs │ │ ├── SystemResourcesTests.cs │ │ ├── Verified │ │ │ └── ResourceMonitoringServiceTests.ResourceUtilizationTracker_LogsSnapshotInformation.verified.txt │ │ ├── Windows │ │ │ ├── Disk │ │ │ │ ├── WindowsDiskIoRatePerfCounterTests.cs │ │ │ │ ├── WindowsDiskIoTimePerfCounterTests.cs │ │ │ │ └── WindowsDiskMetricsTests.cs │ │ │ ├── FakePerformanceCounter.cs │ │ │ ├── MemoryInfoTests.cs │ │ │ ├── PerformanceCounterFactoryTests.cs │ │ │ ├── PerformanceCounterWrapperTests.cs │ │ │ ├── ProcessInfoTests.cs │ │ │ ├── SystemInfoTests.cs │ │ │ ├── Tcp6TableInfoTests.cs │ │ │ ├── TcpTableInfoTests.cs │ │ │ ├── Verified │ │ │ │ ├── WindowsContainerSnapshotProviderTests.SnapshotProvider_EmitsLogRecord.DotNet.verified.txt │ │ │ │ ├── WindowsContainerSnapshotProviderTests.SnapshotProvider_EmitsLogRecord.Net.verified.txt │ │ │ │ └── WindowsSnapshotProviderTests.SnapshotProvider_EmitsLogRecord.verified.txt │ │ │ ├── WindowsContainerSnapshotProviderTests.cs │ │ │ ├── WindowsCountersTests.cs │ │ │ ├── WindowsNetworkMetricsTests.cs │ │ │ └── WindowsSnapshotProviderTests.cs │ │ └── fixtures │ │ │ ├── FileWithRChars │ │ │ ├── cpu.cfs_period_us │ │ │ ├── cpu.cfs_quota_us │ │ │ ├── cpu.max │ │ │ ├── cpu.weight │ │ │ ├── cpuacct.stat │ │ │ ├── cpuset.cpus │ │ │ ├── cpuset.cpus.effective │ │ │ ├── meminfo │ │ │ ├── memory.limit_in_bytes │ │ │ ├── memory.usage_in_bytes │ │ │ ├── status │ │ │ ├── tcp │ │ │ ├── tcp6 │ │ │ ├── tcpacct.stat │ │ │ ├── test.cpuacct.stat │ │ │ └── testing.slice │ │ │ └── memory.current │ ├── Microsoft.Extensions.Diagnostics.Testing.Tests │ │ ├── Logging │ │ │ ├── FakeLogCollectorOptionsTests.cs │ │ │ ├── FakeLogCollectorTests.cs │ │ │ ├── FakeLoggerExtensionsTests.cs │ │ │ ├── FakeLoggerProviderTests.cs │ │ │ ├── FakeLoggerTests.cs │ │ │ └── TestLog.cs │ │ ├── Metrics │ │ │ ├── MeasurementExtensionsTests.cs │ │ │ └── MetricCollectorTests.cs │ │ └── Microsoft.Extensions.Diagnostics.Testing.Tests.csproj │ ├── Microsoft.Extensions.Hosting.Testing.Tests │ │ ├── FakeConfigurationSourceTests.cs │ │ ├── FakeHostBuilderTests.cs │ │ ├── FakeHostTests.cs │ │ ├── HostTerminatorServiceTests.cs │ │ ├── HostingFakesExtensionsTests.cs │ │ ├── Microsoft.Extensions.Hosting.Testing.Tests.csproj │ │ └── TestResources │ │ │ ├── DependentClass.cs │ │ │ ├── InnerClass.cs │ │ │ └── OuterClass.cs │ ├── Microsoft.Extensions.Http.Diagnostics.Tests │ │ ├── HttpHeadersRedactorTests.cs │ │ ├── Latency │ │ │ ├── HttpClientLatencyTelemetryExtensionsTest.cs │ │ │ └── Internal │ │ │ │ ├── HttpCheckpointsTest.cs │ │ │ │ ├── HttpClientLatencyLogEnricherTest.cs │ │ │ │ ├── HttpLatencyTelemetryHandlerTest.cs │ │ │ │ ├── HttpMockProvider.cs │ │ │ │ └── HttpRequestLatencyListenerTest.cs │ │ ├── Logging │ │ │ ├── AcceptanceTests.cs │ │ │ ├── HttpClientLoggerTest.cs │ │ │ ├── HttpClientLoggingExtensionsTest.cs │ │ │ ├── HttpClientLoggingTagNamesTest.cs │ │ │ ├── HttpHeadersReaderTest.cs │ │ │ ├── HttpRequestBodyReaderTest.cs │ │ │ ├── HttpRequestReaderTest.cs │ │ │ ├── HttpResponseBodyReaderTest.cs │ │ │ ├── Internal │ │ │ │ ├── EmptyEnricher.cs │ │ │ │ ├── EnricherWithCounter.cs │ │ │ │ ├── HelperExtensions.cs │ │ │ │ ├── ITestHttpClient1.cs │ │ │ │ ├── ITestHttpClient2.cs │ │ │ │ ├── LogRecordExtensions.cs │ │ │ │ ├── MockedRequestReader.cs │ │ │ │ ├── NoRemoteCallHandler.cs │ │ │ │ ├── NotSeekableStream.cs │ │ │ │ ├── RandomStringGenerator.cs │ │ │ │ ├── TestConfiguration.cs │ │ │ │ ├── TestEnricher.cs │ │ │ │ ├── TestHttpClient1.cs │ │ │ │ ├── TestHttpClient2.cs │ │ │ │ ├── TestHttpMessageHandlerBuilder.cs │ │ │ │ ├── TestLoggingHandler.cs │ │ │ │ └── TestingHandlerStub.cs │ │ │ ├── LogRecordPoolingTest.cs │ │ │ ├── LoggerMessageStateExtensionsTests.cs │ │ │ ├── LoggingOptionsTest.cs │ │ │ ├── LoggingOptionsValidatorTest.cs │ │ │ └── MediaTypeCollectionExtensionsTest.cs │ │ ├── Microsoft.Extensions.Http.Diagnostics.Tests.csproj │ │ ├── Telemetry │ │ │ ├── BackslashDownstreamDependencyMetadata.cs │ │ │ ├── DownstreamDependencyMetadataManagerTests.cs │ │ │ └── EmptyRouteDependencyMetadata.cs │ │ ├── TelemetryCommonExtensionsTests.cs │ │ └── Text.txt │ ├── Microsoft.Extensions.Http.Resilience.Tests │ │ ├── Hedging │ │ │ ├── HedgingTests.cs │ │ │ ├── HttpClientHedgingResiliencePredicatesTests.cs │ │ │ ├── HttpStandardHedgingResilienceOptionsCustomValidatorTests.cs │ │ │ ├── HttpStandardHedgingResilienceOptionsTests.cs │ │ │ ├── OperationCanceledExceptionMock.cs │ │ │ └── StandardHedgingTests.cs │ │ ├── Helpers │ │ │ ├── ConfigurationStubFactory.cs │ │ │ ├── OptionsUtilities.cs │ │ │ └── TestHandlerStub.cs │ │ ├── Internal │ │ │ ├── RandomizerTest.cs │ │ │ ├── RequestMessageSnapshotStrategyTests.cs │ │ │ └── RetryAfterHelperTests.cs │ │ ├── Microsoft.Extensions.Http.Resilience.Tests.csproj │ │ ├── Polly │ │ │ ├── HttpCircuitBreakerStrategyOptionsTests.cs │ │ │ ├── HttpClientResiliencePredicatesTests.cs │ │ │ ├── HttpRateLimiterStrategyOptionsTests.cs │ │ │ ├── HttpRetryStrategyOptionsExtensionsTests.cs │ │ │ ├── HttpRetryStrategyOptionsTests.cs │ │ │ └── HttpTimeoutStrategyOptionsTests.cs │ │ ├── Protos │ │ │ └── greet.proto │ │ ├── Resilience │ │ │ ├── GrpcResilienceTests.cs │ │ │ ├── HttpClientBuilderExtensionsTests.BySelector.cs │ │ │ ├── HttpClientBuilderExtensionsTests.Resilience.cs │ │ │ ├── HttpClientBuilderExtensionsTests.Standard.cs │ │ │ ├── HttpResilienceContextExtensionsTests.cs │ │ │ ├── HttpResilienceMetricsEnricherTests.cs │ │ │ ├── HttpStandardResilienceOptionsCustomValidatorTests.cs │ │ │ ├── HttpStandardResilienceOptionsTests.cs │ │ │ ├── PipelineNameHelperTest.cs │ │ │ ├── RequestMessageSnapshotTests.cs │ │ │ ├── ResilienceHandlerTest.cs │ │ │ └── UriExtensionsTests.cs │ │ ├── Routing │ │ │ ├── EndpointTests.cs │ │ │ ├── IStubRoutingService.cs │ │ │ ├── MockRoutingStrategy.cs │ │ │ ├── OrderedRoutingStrategyTest.cs │ │ │ ├── RoutingHelperTest.cs │ │ │ ├── RoutingResilienceStrategyTests.cs │ │ │ ├── RoutingStrategyTest.cs │ │ │ └── WeightedRoutingStrategyTest.cs │ │ └── configs │ │ │ └── appsettings.json │ ├── Microsoft.Extensions.ObjectPool.DependencyInjection.Tests │ │ ├── DependencyInjectionExtensionsTests.cs │ │ ├── Microsoft.Extensions.ObjectPool.DependencyInjection.Tests.csproj │ │ └── TestResources │ │ │ ├── ITestClass.cs │ │ │ ├── OtherTestClass.cs │ │ │ ├── Pooled.cs │ │ │ ├── TestClass.cs │ │ │ └── TestDependency.cs │ ├── Microsoft.Extensions.Options.ContextualOptions.Tests │ │ ├── AcceptanceTests.cs │ │ ├── ContextualOptionsFactoryTests.cs │ │ ├── ContextualOptionsServiceCollectionExtensionsTests.cs │ │ └── Microsoft.Extensions.Options.Contextual.Tests.csproj │ ├── Microsoft.Extensions.Resilience.Tests │ │ ├── Microsoft.Extensions.Resilience.Tests.csproj │ │ ├── Resilience │ │ │ ├── ResilienceContextExtensionsTests.cs │ │ │ ├── ResilienceMetricsEnricherTests.cs │ │ │ └── ResilienceServiceCollectionExtensionsTests.cs │ │ └── configs │ │ │ ├── appsettings.json │ │ │ ├── optionsOnChangeTestNew.json │ │ │ └── optionsOnChangeTestOriginal.json │ ├── Microsoft.Extensions.Telemetry.Abstractions.Tests │ │ ├── Enrichment │ │ │ └── EnricherExtensionsTests.cs │ │ ├── Http │ │ │ └── AbstractionTests.cs │ │ ├── Latency │ │ │ ├── CheckpointTests.cs │ │ │ ├── LatencyDataTests.cs │ │ │ ├── LatencyRegistryExtensionsTests.cs │ │ │ ├── MeasureTests.cs │ │ │ ├── NoopLatencyContextTests.cs │ │ │ └── TagTests.cs │ │ ├── Logging │ │ │ ├── LogPropertiesAttributeTests.cs │ │ │ ├── LoggerMessageHelperTests.cs │ │ │ ├── LoggerMessageStateTests.cs │ │ │ ├── TagNameAttributeTests.cs │ │ │ └── TagProviderAttributeTests.cs │ │ ├── Metrics │ │ │ └── MetricAttributeTests.cs │ │ └── Microsoft.Extensions.Telemetry.Abstractions.Tests.csproj │ ├── Microsoft.Extensions.Telemetry.Tests │ │ ├── Buffering │ │ │ ├── GlobalBufferLoggerBuilderExtensionsTests.cs │ │ │ ├── GlobalLogBufferingConfigureOptionsTests.cs │ │ │ ├── GlobalLogBufferingOptionsCustomValidatorTests.cs │ │ │ └── LogBufferingFilterRuleTests.cs │ │ ├── Enrichment │ │ │ ├── ApplicationEnricherExtensionsTests.cs │ │ │ ├── ApplicationEnricherOptionsTests.cs │ │ │ ├── ApplicationEnricherTagTests.cs │ │ │ ├── ApplicationLogEnricherTests.cs │ │ │ ├── Internals │ │ │ │ ├── TestExtensions.cs │ │ │ │ ├── TestLogEnrichmentTagCollector.cs │ │ │ │ └── TestMetricEnrichmentTagCollector.cs │ │ │ ├── ProcessEnricherDimensionsTests.cs │ │ │ ├── ProcessEnricherExtensionsTests.cs │ │ │ └── ProcessLogEnricherTests.cs │ │ ├── Http │ │ │ ├── HttpParserTests.cs │ │ │ ├── HttpRouteFormatterTests.cs │ │ │ ├── Telemetry.Internal.Test.xunit.runner.json │ │ │ ├── TelemetryCommonExtensionsTests.cs │ │ │ ├── TestEventListener.cs │ │ │ └── TestEventSource.cs │ │ ├── Latency │ │ │ ├── Internal │ │ │ │ ├── CheckpointTrackerTests.cs │ │ │ │ ├── LatencyConsoleExporterTests.cs │ │ │ │ ├── LatencyContextExtensions.cs │ │ │ │ ├── LatencyContextPoolTests.cs │ │ │ │ ├── LatencyContextProviderTests.cs │ │ │ │ ├── LatencyContextRegistrySetTests.cs │ │ │ │ ├── LatencyContextTests.cs │ │ │ │ ├── LatencyContextTokenIssuerTests.cs │ │ │ │ ├── MeasureTrackerTests.cs │ │ │ │ ├── MockLatencyContextRegistrationOptions.cs │ │ │ │ ├── RegistryTests.cs │ │ │ │ └── TagCollectionTests.cs │ │ │ ├── LatencyConsoleExtensionsTests.cs │ │ │ ├── LatencyConsoleOptionsTests.cs │ │ │ └── LatencyContextExtensionTests.cs │ │ ├── Logging │ │ │ ├── ExtendedLoggerFactoryTests.cs │ │ │ ├── ExtendedLoggerTests.cs │ │ │ ├── JustInTimeRedactorTests.cs │ │ │ ├── LoggerEnrichmentOptionsTests.cs │ │ │ ├── SerialExtendedLoggerTests.cs │ │ │ ├── TestConfiguration.cs │ │ │ └── Utils.cs │ │ ├── Microsoft.Extensions.Telemetry.Tests.csproj │ │ ├── Sampling │ │ │ ├── LogSamplingRuleSelectorTests.cs │ │ │ ├── RandomProbabilisticSamplerTests.cs │ │ │ ├── SamplingLoggerBuilderExtensionsTests.cs │ │ │ └── TraceBasedSamplerTests.cs │ │ └── appsettings.json │ └── Microsoft.Extensions.TimeProvider.Testing.Tests │ │ ├── FakeTimeProviderTests.cs │ │ ├── Microsoft.Extensions.TimeProvider.Testing.Tests.csproj │ │ └── TimerTests.cs ├── ProjectTemplates │ └── Microsoft.Extensions.AI.Templates.IntegrationTests │ │ ├── AIChatWebExecutionTests.cs │ │ ├── AIChatWebSnapshotTests.cs │ │ ├── Infrastructure │ │ ├── DotNetCommand.cs │ │ ├── DotNetNewCommand.cs │ │ ├── ITemplateExecutionTestConfigurationProvider.cs │ │ ├── MessageSinkTestOutputHelper.cs │ │ ├── ProcessExtensions.cs │ │ ├── Project.cs │ │ ├── TemplateExecutionTestBase.cs │ │ ├── TemplateExecutionTestClassFixtureBase.cs │ │ ├── TemplateExecutionTestCollection.cs │ │ ├── TemplateExecutionTestCollectionFixture.cs │ │ ├── TemplateExecutionTestConfiguration.cs │ │ ├── TestCommand.cs │ │ ├── TestCommandExtensions.cs │ │ ├── TestCommandResult.cs │ │ ├── TestCommandResultExtensions.cs │ │ └── WellKnownPaths.cs │ │ ├── Microsoft.Extensions.AI.Templates.Tests.csproj │ │ ├── ProjectRootHelper.cs │ │ ├── README.md │ │ ├── Snapshots │ │ ├── aichatweb.AzureOpenAI_Qdrant_Aspire.verified │ │ │ └── aichatweb │ │ │ │ ├── README.md │ │ │ │ ├── aichatweb.AppHost │ │ │ │ ├── Program.cs │ │ │ │ ├── Properties │ │ │ │ │ └── launchSettings.json │ │ │ │ ├── aichatweb.AppHost.csproj │ │ │ │ ├── appsettings.Development.json │ │ │ │ └── appsettings.json │ │ │ │ ├── aichatweb.ServiceDefaults │ │ │ │ ├── Extensions.cs │ │ │ │ └── aichatweb.ServiceDefaults.csproj │ │ │ │ ├── aichatweb.Web │ │ │ │ ├── Components │ │ │ │ │ ├── App.razor │ │ │ │ │ ├── Layout │ │ │ │ │ │ ├── LoadingSpinner.razor │ │ │ │ │ │ ├── LoadingSpinner.razor.css │ │ │ │ │ │ ├── MainLayout.razor │ │ │ │ │ │ ├── MainLayout.razor.css │ │ │ │ │ │ ├── SurveyPrompt.razor │ │ │ │ │ │ └── SurveyPrompt.razor.css │ │ │ │ │ ├── Pages │ │ │ │ │ │ ├── Chat │ │ │ │ │ │ │ ├── Chat.razor │ │ │ │ │ │ │ ├── Chat.razor.css │ │ │ │ │ │ │ ├── ChatCitation.razor │ │ │ │ │ │ │ ├── ChatCitation.razor.css │ │ │ │ │ │ │ ├── ChatHeader.razor │ │ │ │ │ │ │ ├── ChatHeader.razor.css │ │ │ │ │ │ │ ├── ChatInput.razor │ │ │ │ │ │ │ ├── ChatInput.razor.css │ │ │ │ │ │ │ ├── ChatInput.razor.js │ │ │ │ │ │ │ ├── ChatMessageItem.razor │ │ │ │ │ │ │ ├── ChatMessageItem.razor.css │ │ │ │ │ │ │ ├── ChatMessageList.razor │ │ │ │ │ │ │ ├── ChatMessageList.razor.css │ │ │ │ │ │ │ ├── ChatMessageList.razor.js │ │ │ │ │ │ │ ├── ChatSuggestions.razor │ │ │ │ │ │ │ └── ChatSuggestions.razor.css │ │ │ │ │ │ └── Error.razor │ │ │ │ │ ├── Routes.razor │ │ │ │ │ └── _Imports.razor │ │ │ │ ├── Program.cs │ │ │ │ ├── Properties │ │ │ │ │ └── launchSettings.json │ │ │ │ ├── Services │ │ │ │ │ ├── IngestedChunk.cs │ │ │ │ │ ├── IngestedDocument.cs │ │ │ │ │ ├── Ingestion │ │ │ │ │ │ ├── DataIngestor.cs │ │ │ │ │ │ ├── IIngestionSource.cs │ │ │ │ │ │ └── PDFDirectorySource.cs │ │ │ │ │ └── SemanticSearch.cs │ │ │ │ ├── aichatweb.Web.csproj │ │ │ │ ├── appsettings.Development.json │ │ │ │ ├── appsettings.json │ │ │ │ └── wwwroot │ │ │ │ │ ├── Data │ │ │ │ │ ├── Example_Emergency_Survival_Kit.pdf │ │ │ │ │ └── Example_GPS_Watch.pdf │ │ │ │ │ ├── app.css │ │ │ │ │ ├── app.js │ │ │ │ │ ├── favicon.ico │ │ │ │ │ └── lib │ │ │ │ │ ├── dompurify │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ │ └── purify.es.mjs │ │ │ │ │ ├── marked │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ │ └── marked.esm.js │ │ │ │ │ ├── pdf_viewer │ │ │ │ │ ├── viewer.html │ │ │ │ │ └── viewer.mjs │ │ │ │ │ ├── pdfjs-dist │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ │ ├── build │ │ │ │ │ │ ├── pdf.min.mjs │ │ │ │ │ │ └── pdf.worker.min.mjs │ │ │ │ │ │ └── web │ │ │ │ │ │ ├── images │ │ │ │ │ │ └── loading-icon.gif │ │ │ │ │ │ ├── pdf_viewer.css │ │ │ │ │ │ └── pdf_viewer.mjs │ │ │ │ │ └── tailwindcss │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ └── preflight.css │ │ │ │ └── aichatweb.sln │ │ ├── aichatweb.Basic.verified │ │ │ └── aichatweb │ │ │ │ ├── Components │ │ │ │ ├── App.razor │ │ │ │ ├── Layout │ │ │ │ │ ├── LoadingSpinner.razor │ │ │ │ │ ├── LoadingSpinner.razor.css │ │ │ │ │ ├── MainLayout.razor │ │ │ │ │ ├── MainLayout.razor.css │ │ │ │ │ ├── SurveyPrompt.razor │ │ │ │ │ └── SurveyPrompt.razor.css │ │ │ │ ├── Pages │ │ │ │ │ ├── Chat │ │ │ │ │ │ ├── Chat.razor │ │ │ │ │ │ ├── Chat.razor.css │ │ │ │ │ │ ├── ChatCitation.razor │ │ │ │ │ │ ├── ChatCitation.razor.css │ │ │ │ │ │ ├── ChatHeader.razor │ │ │ │ │ │ ├── ChatHeader.razor.css │ │ │ │ │ │ ├── ChatInput.razor │ │ │ │ │ │ ├── ChatInput.razor.css │ │ │ │ │ │ ├── ChatInput.razor.js │ │ │ │ │ │ ├── ChatMessageItem.razor │ │ │ │ │ │ ├── ChatMessageItem.razor.css │ │ │ │ │ │ ├── ChatMessageList.razor │ │ │ │ │ │ ├── ChatMessageList.razor.css │ │ │ │ │ │ ├── ChatMessageList.razor.js │ │ │ │ │ │ ├── ChatSuggestions.razor │ │ │ │ │ │ └── ChatSuggestions.razor.css │ │ │ │ │ └── Error.razor │ │ │ │ ├── Routes.razor │ │ │ │ └── _Imports.razor │ │ │ │ ├── Program.cs │ │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ │ ├── README.md │ │ │ │ ├── Services │ │ │ │ ├── IngestedChunk.cs │ │ │ │ ├── IngestedDocument.cs │ │ │ │ ├── Ingestion │ │ │ │ │ ├── DataIngestor.cs │ │ │ │ │ ├── IIngestionSource.cs │ │ │ │ │ └── PDFDirectorySource.cs │ │ │ │ └── SemanticSearch.cs │ │ │ │ ├── aichatweb.csproj │ │ │ │ ├── appsettings.Development.json │ │ │ │ ├── appsettings.json │ │ │ │ └── wwwroot │ │ │ │ ├── Data │ │ │ │ ├── Example_Emergency_Survival_Kit.pdf │ │ │ │ └── Example_GPS_Watch.pdf │ │ │ │ ├── app.css │ │ │ │ ├── app.js │ │ │ │ ├── favicon.ico │ │ │ │ └── lib │ │ │ │ ├── dompurify │ │ │ │ ├── README.md │ │ │ │ └── dist │ │ │ │ │ └── purify.es.mjs │ │ │ │ ├── marked │ │ │ │ ├── README.md │ │ │ │ └── dist │ │ │ │ │ └── marked.esm.js │ │ │ │ ├── pdf_viewer │ │ │ │ ├── viewer.html │ │ │ │ └── viewer.mjs │ │ │ │ ├── pdfjs-dist │ │ │ │ ├── README.md │ │ │ │ └── dist │ │ │ │ │ ├── build │ │ │ │ │ ├── pdf.min.mjs │ │ │ │ │ └── pdf.worker.min.mjs │ │ │ │ │ └── web │ │ │ │ │ ├── images │ │ │ │ │ └── loading-icon.gif │ │ │ │ │ ├── pdf_viewer.css │ │ │ │ │ └── pdf_viewer.mjs │ │ │ │ └── tailwindcss │ │ │ │ ├── README.md │ │ │ │ └── dist │ │ │ │ └── preflight.css │ │ ├── aichatweb.BasicAspire.verified │ │ │ └── aichatweb │ │ │ │ ├── README.md │ │ │ │ ├── aichatweb.AppHost │ │ │ │ ├── Program.cs │ │ │ │ ├── Properties │ │ │ │ │ └── launchSettings.json │ │ │ │ ├── aichatweb.AppHost.csproj │ │ │ │ ├── appsettings.Development.json │ │ │ │ └── appsettings.json │ │ │ │ ├── aichatweb.ServiceDefaults │ │ │ │ ├── Extensions.cs │ │ │ │ └── aichatweb.ServiceDefaults.csproj │ │ │ │ ├── aichatweb.Web │ │ │ │ ├── Components │ │ │ │ │ ├── App.razor │ │ │ │ │ ├── Layout │ │ │ │ │ │ ├── LoadingSpinner.razor │ │ │ │ │ │ ├── LoadingSpinner.razor.css │ │ │ │ │ │ ├── MainLayout.razor │ │ │ │ │ │ ├── MainLayout.razor.css │ │ │ │ │ │ ├── SurveyPrompt.razor │ │ │ │ │ │ └── SurveyPrompt.razor.css │ │ │ │ │ ├── Pages │ │ │ │ │ │ ├── Chat │ │ │ │ │ │ │ ├── Chat.razor │ │ │ │ │ │ │ ├── Chat.razor.css │ │ │ │ │ │ │ ├── ChatCitation.razor │ │ │ │ │ │ │ ├── ChatCitation.razor.css │ │ │ │ │ │ │ ├── ChatHeader.razor │ │ │ │ │ │ │ ├── ChatHeader.razor.css │ │ │ │ │ │ │ ├── ChatInput.razor │ │ │ │ │ │ │ ├── ChatInput.razor.css │ │ │ │ │ │ │ ├── ChatInput.razor.js │ │ │ │ │ │ │ ├── ChatMessageItem.razor │ │ │ │ │ │ │ ├── ChatMessageItem.razor.css │ │ │ │ │ │ │ ├── ChatMessageList.razor │ │ │ │ │ │ │ ├── ChatMessageList.razor.css │ │ │ │ │ │ │ ├── ChatMessageList.razor.js │ │ │ │ │ │ │ ├── ChatSuggestions.razor │ │ │ │ │ │ │ └── ChatSuggestions.razor.css │ │ │ │ │ │ └── Error.razor │ │ │ │ │ ├── Routes.razor │ │ │ │ │ └── _Imports.razor │ │ │ │ ├── Program.cs │ │ │ │ ├── Properties │ │ │ │ │ └── launchSettings.json │ │ │ │ ├── Services │ │ │ │ │ ├── IngestedChunk.cs │ │ │ │ │ ├── IngestedDocument.cs │ │ │ │ │ ├── Ingestion │ │ │ │ │ │ ├── DataIngestor.cs │ │ │ │ │ │ ├── IIngestionSource.cs │ │ │ │ │ │ └── PDFDirectorySource.cs │ │ │ │ │ └── SemanticSearch.cs │ │ │ │ ├── aichatweb.Web.csproj │ │ │ │ ├── appsettings.Development.json │ │ │ │ ├── appsettings.json │ │ │ │ └── wwwroot │ │ │ │ │ ├── Data │ │ │ │ │ ├── Example_Emergency_Survival_Kit.pdf │ │ │ │ │ └── Example_GPS_Watch.pdf │ │ │ │ │ ├── app.css │ │ │ │ │ ├── app.js │ │ │ │ │ ├── favicon.ico │ │ │ │ │ └── lib │ │ │ │ │ ├── dompurify │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ │ └── purify.es.mjs │ │ │ │ │ ├── marked │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ │ └── marked.esm.js │ │ │ │ │ ├── pdf_viewer │ │ │ │ │ ├── viewer.html │ │ │ │ │ └── viewer.mjs │ │ │ │ │ ├── pdfjs-dist │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ │ ├── build │ │ │ │ │ │ ├── pdf.min.mjs │ │ │ │ │ │ └── pdf.worker.min.mjs │ │ │ │ │ │ └── web │ │ │ │ │ │ ├── images │ │ │ │ │ │ └── loading-icon.gif │ │ │ │ │ │ ├── pdf_viewer.css │ │ │ │ │ │ └── pdf_viewer.mjs │ │ │ │ │ └── tailwindcss │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ └── preflight.css │ │ │ │ └── aichatweb.sln │ │ ├── aichatweb.Ollama_Qdrant.verified │ │ │ └── aichatweb │ │ │ │ ├── README.md │ │ │ │ ├── aichatweb.AppHost │ │ │ │ ├── Program.cs │ │ │ │ ├── Properties │ │ │ │ │ └── launchSettings.json │ │ │ │ ├── aichatweb.AppHost.csproj │ │ │ │ ├── appsettings.Development.json │ │ │ │ └── appsettings.json │ │ │ │ ├── aichatweb.ServiceDefaults │ │ │ │ ├── Extensions.cs │ │ │ │ └── aichatweb.ServiceDefaults.csproj │ │ │ │ ├── aichatweb.Web │ │ │ │ ├── Components │ │ │ │ │ ├── App.razor │ │ │ │ │ ├── Layout │ │ │ │ │ │ ├── LoadingSpinner.razor │ │ │ │ │ │ ├── LoadingSpinner.razor.css │ │ │ │ │ │ ├── MainLayout.razor │ │ │ │ │ │ ├── MainLayout.razor.css │ │ │ │ │ │ ├── SurveyPrompt.razor │ │ │ │ │ │ └── SurveyPrompt.razor.css │ │ │ │ │ ├── Pages │ │ │ │ │ │ ├── Chat │ │ │ │ │ │ │ ├── Chat.razor │ │ │ │ │ │ │ ├── Chat.razor.css │ │ │ │ │ │ │ ├── ChatCitation.razor │ │ │ │ │ │ │ ├── ChatCitation.razor.css │ │ │ │ │ │ │ ├── ChatHeader.razor │ │ │ │ │ │ │ ├── ChatHeader.razor.css │ │ │ │ │ │ │ ├── ChatInput.razor │ │ │ │ │ │ │ ├── ChatInput.razor.css │ │ │ │ │ │ │ ├── ChatInput.razor.js │ │ │ │ │ │ │ ├── ChatMessageItem.razor │ │ │ │ │ │ │ ├── ChatMessageItem.razor.css │ │ │ │ │ │ │ ├── ChatMessageList.razor │ │ │ │ │ │ │ ├── ChatMessageList.razor.css │ │ │ │ │ │ │ ├── ChatMessageList.razor.js │ │ │ │ │ │ │ ├── ChatSuggestions.razor │ │ │ │ │ │ │ └── ChatSuggestions.razor.css │ │ │ │ │ │ └── Error.razor │ │ │ │ │ ├── Routes.razor │ │ │ │ │ └── _Imports.razor │ │ │ │ ├── Program.cs │ │ │ │ ├── Properties │ │ │ │ │ └── launchSettings.json │ │ │ │ ├── Services │ │ │ │ │ ├── IngestedChunk.cs │ │ │ │ │ ├── IngestedDocument.cs │ │ │ │ │ ├── Ingestion │ │ │ │ │ │ ├── DataIngestor.cs │ │ │ │ │ │ ├── IIngestionSource.cs │ │ │ │ │ │ └── PDFDirectorySource.cs │ │ │ │ │ └── SemanticSearch.cs │ │ │ │ ├── aichatweb.Web.csproj │ │ │ │ ├── appsettings.Development.json │ │ │ │ ├── appsettings.json │ │ │ │ └── wwwroot │ │ │ │ │ ├── Data │ │ │ │ │ ├── Example_Emergency_Survival_Kit.pdf │ │ │ │ │ └── Example_GPS_Watch.pdf │ │ │ │ │ ├── app.css │ │ │ │ │ ├── app.js │ │ │ │ │ ├── favicon.ico │ │ │ │ │ └── lib │ │ │ │ │ ├── dompurify │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ │ └── purify.es.mjs │ │ │ │ │ ├── marked │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ │ └── marked.esm.js │ │ │ │ │ ├── pdf_viewer │ │ │ │ │ ├── viewer.html │ │ │ │ │ └── viewer.mjs │ │ │ │ │ ├── pdfjs-dist │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ │ ├── build │ │ │ │ │ │ ├── pdf.min.mjs │ │ │ │ │ │ └── pdf.worker.min.mjs │ │ │ │ │ │ └── web │ │ │ │ │ │ ├── images │ │ │ │ │ │ └── loading-icon.gif │ │ │ │ │ │ ├── pdf_viewer.css │ │ │ │ │ │ └── pdf_viewer.mjs │ │ │ │ │ └── tailwindcss │ │ │ │ │ ├── README.md │ │ │ │ │ └── dist │ │ │ │ │ └── preflight.css │ │ │ │ └── aichatweb.sln │ │ └── aichatweb.OpenAI_AzureAISearch.verified │ │ │ └── aichatweb │ │ │ ├── Components │ │ │ ├── App.razor │ │ │ ├── Layout │ │ │ │ ├── LoadingSpinner.razor │ │ │ │ ├── LoadingSpinner.razor.css │ │ │ │ ├── MainLayout.razor │ │ │ │ ├── MainLayout.razor.css │ │ │ │ ├── SurveyPrompt.razor │ │ │ │ └── SurveyPrompt.razor.css │ │ │ ├── Pages │ │ │ │ ├── Chat │ │ │ │ │ ├── Chat.razor │ │ │ │ │ ├── Chat.razor.css │ │ │ │ │ ├── ChatCitation.razor │ │ │ │ │ ├── ChatCitation.razor.css │ │ │ │ │ ├── ChatHeader.razor │ │ │ │ │ ├── ChatHeader.razor.css │ │ │ │ │ ├── ChatInput.razor │ │ │ │ │ ├── ChatInput.razor.css │ │ │ │ │ ├── ChatInput.razor.js │ │ │ │ │ ├── ChatMessageItem.razor │ │ │ │ │ ├── ChatMessageItem.razor.css │ │ │ │ │ ├── ChatMessageList.razor │ │ │ │ │ ├── ChatMessageList.razor.css │ │ │ │ │ ├── ChatMessageList.razor.js │ │ │ │ │ ├── ChatSuggestions.razor │ │ │ │ │ └── ChatSuggestions.razor.css │ │ │ │ └── Error.razor │ │ │ ├── Routes.razor │ │ │ └── _Imports.razor │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ └── launchSettings.json │ │ │ ├── README.md │ │ │ ├── Services │ │ │ ├── IngestedChunk.cs │ │ │ ├── IngestedDocument.cs │ │ │ ├── Ingestion │ │ │ │ ├── DataIngestor.cs │ │ │ │ ├── IIngestionSource.cs │ │ │ │ └── PDFDirectorySource.cs │ │ │ └── SemanticSearch.cs │ │ │ ├── aichatweb.csproj │ │ │ ├── appsettings.Development.json │ │ │ ├── appsettings.json │ │ │ └── wwwroot │ │ │ ├── Data │ │ │ ├── Example_Emergency_Survival_Kit.pdf │ │ │ └── Example_GPS_Watch.pdf │ │ │ ├── app.css │ │ │ ├── app.js │ │ │ ├── favicon.ico │ │ │ └── lib │ │ │ ├── dompurify │ │ │ ├── README.md │ │ │ └── dist │ │ │ │ └── purify.es.mjs │ │ │ ├── marked │ │ │ ├── README.md │ │ │ └── dist │ │ │ │ └── marked.esm.js │ │ │ ├── pdf_viewer │ │ │ ├── viewer.html │ │ │ └── viewer.mjs │ │ │ ├── pdfjs-dist │ │ │ ├── README.md │ │ │ └── dist │ │ │ │ ├── build │ │ │ │ ├── pdf.min.mjs │ │ │ │ └── pdf.worker.min.mjs │ │ │ │ └── web │ │ │ │ ├── images │ │ │ │ └── loading-icon.gif │ │ │ │ ├── pdf_viewer.css │ │ │ │ └── pdf_viewer.mjs │ │ │ └── tailwindcss │ │ │ ├── README.md │ │ │ └── dist │ │ │ └── preflight.css │ │ ├── TemplateSandbox │ │ ├── .editorconfig │ │ ├── .gitignore │ │ ├── Directory.Build.props │ │ ├── Directory.Build.targets │ │ ├── README.md │ │ ├── activate.ps1 │ │ ├── nuget.template_install.config │ │ └── nuget.template_test.config │ │ ├── VerifyScrubbers.cs │ │ └── xunit.runner.json ├── Shared │ ├── Data.Validation │ │ ├── LengthAttributeTests.cs │ │ └── TimeSpanAttributeTests.cs │ ├── Debugger │ │ └── DebuggerTest.cs │ ├── EmptyCollections │ │ ├── EmptyCollectionExtensionsTests.cs │ │ ├── EmptyReadOnlyListTests.cs │ │ ├── EmptyReadonlyDictionaryTests.cs │ │ └── EmptyTests.cs │ ├── ImageDataUri │ │ ├── ImageDataUri.cs │ │ └── dotnet.png │ ├── JsonSchemaExporter │ │ ├── JsonSchemaExporterConfigurationTests.cs │ │ ├── JsonSchemaExporterTests.cs │ │ ├── SchemaTestHelpers.cs │ │ ├── TestData.cs │ │ └── TestTypes.cs │ ├── Memoization │ │ └── MemoizeTests.cs │ ├── NumericExtensions │ │ └── NumericExtensionsTests.cs │ ├── Pools │ │ ├── PoolTests.cs │ │ └── TestResources │ │ │ ├── ITestClass.cs │ │ │ ├── TestClass.cs │ │ │ └── TestDependency.cs │ ├── RentedSpan │ │ └── RentedSpanTest.cs │ ├── Shared.Tests.csproj │ ├── StringSplit │ │ ├── SplitExtensionsTests.cs │ │ └── StringRangeTests.cs │ └── Throw │ │ ├── DoubleTests.cs │ │ ├── IntegerTests.cs │ │ ├── LongTests.cs │ │ └── ThrowTest.cs └── TestUtilities │ ├── TestUtilities.csproj │ └── XUnit │ ├── ConditionalFactAttribute.cs │ ├── ConditionalFactDiscoverer.cs │ ├── ConditionalTheoryAttribute.cs │ ├── ConditionalTheoryDiscoverer.cs │ ├── ITestCondition.cs │ ├── OSSkipConditionAttribute.cs │ ├── OperatingSystems.cs │ ├── SkipTestException.cs │ ├── SkippedFactTestCase.cs │ ├── SkippedTestCase.cs │ ├── SkippedTestMessageBus.cs │ ├── TestMethodExtensions.cs │ └── WORKAROUND_SkippedDataRowTestCase.cs └── testEnvironments.json /.config/CredScanSuppressions.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.config/PoliCheckExclusions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.config/tsaoptions.json: -------------------------------------------------------------------------------- 1 | { 2 | "instanceUrl": "https://devdiv.visualstudio.com/", 3 | "template": "TFSDEVDIV", 4 | "projectName": "DEVDIV", 5 | "areaPath": "DevDiv\\ASP.NET Core\\Policy Violations", 6 | "iterationPath": "DevDiv", 7 | "notificationAliases": [ "aspnetcore-build@microsoft.com" ], 8 | "repositoryName": "dotnetextensions", 9 | "codebaseName": "dotnetextensions", 10 | "serviceTreeId": "4db45fa9-fb0f-43ce-b523-ad1da773dfbc" 11 | } 12 | -------------------------------------------------------------------------------- /.devcontainer/scripts/onCreateCommand.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | # Dev Container can run out of disk space if we try to build all TFMs, so only build net8.0 6 | echo "net8.0" > .targetframeworks 7 | 8 | # Build the repo 9 | ./build.sh 10 | 11 | # save the commit hash of the currently built assemblies, so developers know which version was built 12 | git rev-parse HEAD > ./artifacts/prebuild.sha -------------------------------------------------------------------------------- /.devcontainer/scripts/postCreateCommand.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | # reset the repo to the commit hash that was used to build the prebuilt Codespace 6 | git reset --hard $(cat ./artifacts/prebuild.sha) -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/03_blank_issue.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Blank issue 3 | about: Something that doesn't fit the other categories 4 | title: '' 5 | labels: 'untriaged' 6 | assignees: '' 7 | 8 | --- 9 | -------------------------------------------------------------------------------- /.github/workflows/inter-branch-merge-flow.yml: -------------------------------------------------------------------------------- 1 | name: Inter-branch merge workflow 2 | on: 3 | push: 4 | branches: 5 | - release/** 6 | - main 7 | 8 | permissions: 9 | contents: write 10 | pull-requests: write 11 | 12 | jobs: 13 | Merge: 14 | uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@1912d9f4fc410d421a01b5a09131aae234b603fa # main -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | registry=https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/ 2 | always-auth=true 3 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "dotnet.automaticallyCreateSolutionInWorkspace": false 3 | } 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | This project has adopted the code of conduct defined by the Contributor Covenant 4 | to clarify expected behavior in our community. 5 | 6 | For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct). 7 | -------------------------------------------------------------------------------- /Directory.Packages.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /THIRD-PARTY-NOTICES.TXT: -------------------------------------------------------------------------------- 1 | .NET Core uses third-party libraries or other resources that may be 2 | distributed under licenses different than the .NET Core software. 3 | 4 | In the event that we accidentally failed to list a required notice, please 5 | bring it to our attention. Post an issue or email us: 6 | 7 | dotnet@microsoft.com 8 | 9 | The attached notices are provided for information only. 10 | -------------------------------------------------------------------------------- /bench/Directory.Build.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | $(NoWarn);RT0000 7 | 8 | 9 | -------------------------------------------------------------------------------- /bench/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests/RouteSegment.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.AspNetCore.Diagnostics; 5 | 6 | internal readonly struct RouteSegment 7 | { 8 | public RouteSegment(string segment, bool isParameter) 9 | { 10 | Segment = segment; 11 | IsParameter = isParameter; 12 | } 13 | 14 | public string Segment { get; } 15 | 16 | public bool IsParameter { get; } 17 | } 18 | -------------------------------------------------------------------------------- /bench/Libraries/Microsoft.Extensions.Telemetry.PerformanceTests/BenchLoggerProvider.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Logging; 5 | 6 | namespace Microsoft.Extensions.Telemetry.Bench; 7 | 8 | internal sealed class BenchLoggerProvider : ILoggerProvider 9 | { 10 | public ILogger CreateLogger(string categoryName) => new BenchLogger(); 11 | 12 | public void Dispose() 13 | { 14 | // nop 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /build.cmd: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | SET _args=%* 4 | IF "%~1"=="-?" SET _args=-help 5 | IF "%~1"=="/?" SET _args=-help 6 | 7 | IF ["%_args%"] == [""] ( 8 | :: Perform restore and build, IF no args are supplied. 9 | SET _args=-restore -build 10 | ) 11 | 12 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\build.ps1""" %_args%" 13 | EXIT /b %ERRORLEVEL% 14 | -------------------------------------------------------------------------------- /eng/AfterSolutionBuild.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /eng/Diags/README.md: -------------------------------------------------------------------------------- 1 | # Diagnostic Configuration 2 | 3 | This folder defines the configuration state for all analyzers used and recommended by the Microsoft.Extensions.StaticAnalysis package. 4 | 5 | These files are processed by the DiagConfig tool. Check out the README file for eng/Tools/DiagConfig to learn 6 | more about these mysterious YAML files. 7 | -------------------------------------------------------------------------------- /eng/MSBuild/Generators.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | false 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /eng/MSBuild/LegacySupport.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /eng/MSSharedLibSN2048.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/eng/MSSharedLibSN2048.snk -------------------------------------------------------------------------------- /eng/Publishing.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 3 5 | true 6 | 7 | -------------------------------------------------------------------------------- /eng/Signing.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /eng/Tools/ApiChief/ApiChief.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | ApiChief 4 | ApiChief 5 | Tool to help with .NET API management activities 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /eng/Tools/ApiChief/Model/ApiStage.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace ApiChief.Model; 5 | 6 | internal enum ApiStage 7 | { 8 | Experimental, 9 | Stable, 10 | Obsolete, 11 | } 12 | -------------------------------------------------------------------------------- /eng/Tools/DiagConfig/ConfigStore/Analyzer.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace DiagConfig.ConfigStore; 7 | 8 | internal sealed class Analyzer 9 | { 10 | public Origin? Origin { get; set; } 11 | public IDictionary Diagnostics { get; set; } = new SortedDictionary(); 12 | } 13 | -------------------------------------------------------------------------------- /eng/Tools/DiagConfig/ConfigStore/Diagnostic.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace DiagConfig.ConfigStore; 7 | 8 | internal sealed class Diagnostic 9 | { 10 | public Metadata Metadata { get; set; } = new Metadata(); 11 | public int Tier { get; set; } = 1; 12 | public IDictionary Attributes { get; set; } = new Dictionary(); 13 | } 14 | -------------------------------------------------------------------------------- /eng/Tools/DiagConfig/ConfigStore/DiagnosticSetting.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace DiagConfig.ConfigStore; 7 | 8 | internal sealed class DiagnosticSetting 9 | { 10 | public Severity Severity { get; set; } 11 | public string? Comment { get; set; } 12 | public string? Redundant { get; set; } 13 | public IList? Options { get; set; } 14 | } 15 | -------------------------------------------------------------------------------- /eng/Tools/DiagConfig/ConfigStore/Origin.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace DiagConfig.ConfigStore; 5 | 6 | internal sealed class Origin 7 | { 8 | public string? AssemblyName { get; set; } 9 | public string? Version { get; set; } 10 | } 11 | -------------------------------------------------------------------------------- /eng/Tools/DiagConfig/ConfigStore/Severity.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace DiagConfig.ConfigStore; 5 | 6 | internal enum Severity 7 | { 8 | Default, 9 | None, 10 | Silent, 11 | Suggestion, 12 | Warning, 13 | Error, 14 | } 15 | -------------------------------------------------------------------------------- /eng/Tools/DiagPublisher/README.md: -------------------------------------------------------------------------------- 1 | This tool is used to generate or update diagnostic IDs described in /docs/list-of-diagnostics.md. -------------------------------------------------------------------------------- /eng/Tools/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | false 4 | 5 | 6 | 7 | 8 | 9 | Exe 10 | $(LatestTargetFramework) 11 | 12 | 13 | -------------------------------------------------------------------------------- /eng/Tools/Directory.Build.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /eng/_._: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/eng/_._ -------------------------------------------------------------------------------- /eng/common/BuildConfiguration/build-configuration.json: -------------------------------------------------------------------------------- 1 | { 2 | "RetryCountLimit": 1, 3 | "RetryByAnyError": false 4 | } 5 | -------------------------------------------------------------------------------- /eng/common/CIBuild.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -build -test -sign -pack -publish -ci %*" -------------------------------------------------------------------------------- /eng/common/PSScriptAnalyzerSettings.psd1: -------------------------------------------------------------------------------- 1 | @{ 2 | IncludeRules=@('PSAvoidUsingCmdletAliases', 3 | 'PSAvoidUsingWMICmdlet', 4 | 'PSAvoidUsingPositionalParameters', 5 | 'PSAvoidUsingInvokeExpression', 6 | 'PSUseDeclaredVarsMoreThanAssignments', 7 | 'PSUseCmdletCorrectly', 8 | 'PSStandardDSCFunctionsInResource', 9 | 'PSUseIdenticalMandatoryParametersForDSC', 10 | 'PSUseIdenticalParametersForDSC') 11 | } -------------------------------------------------------------------------------- /eng/common/build.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0build.ps1""" %*" 3 | exit /b %ErrorLevel% 4 | -------------------------------------------------------------------------------- /eng/common/cibuild.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | source="${BASH_SOURCE[0]}" 4 | 5 | # resolve $SOURCE until the file is no longer a symlink 6 | while [[ -h $source ]]; do 7 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 8 | source="$(readlink "$source")" 9 | 10 | # if $source was a relative symlink, we need to resolve it relative to the path where 11 | # the symlink file was located 12 | [[ $source != /* ]] && source="$scriptroot/$source" 13 | done 14 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 15 | 16 | . "$scriptroot/build.sh" --restore --build --test --pack --publish --ci $@ -------------------------------------------------------------------------------- /eng/common/core-templates/variables/pool-providers.yml: -------------------------------------------------------------------------------- 1 | parameters: 2 | is1ESPipeline: false 3 | 4 | variables: 5 | - ${{ if eq(parameters.is1ESPipeline, 'true') }}: 6 | - template: /eng/common/templates-official/variables/pool-providers.yml 7 | - ${{ else }}: 8 | - template: /eng/common/templates/variables/pool-providers.yml -------------------------------------------------------------------------------- /eng/common/cross/arm/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so 2 | --- a/usr/lib/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf32-littlearm) 8 | -GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux-armhf.so.3 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux-armhf.so.3 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/cross/arm64/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so 2 | --- a/usr/lib64/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib64/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf64-littleaarch64) 8 | -GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib/ld-linux-aarch64.so.1 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux-aarch64.so.1 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/cross/armel/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so 2 | --- a/usr/lib/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf32-littlearm) 8 | -GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.3 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux.so.3 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/cross/riscv64/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so 2 | --- a/usr/lib64/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib64/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf64-littleriscv) 8 | -GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib64/ld-linux-riscv64-lp64d.so.1 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux-riscv64-lp64d.so.1 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/dotnet-install.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0dotnet-install.ps1""" %*" -------------------------------------------------------------------------------- /eng/common/init-tools-native.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -NoProfile -NoLogo -ExecutionPolicy ByPass -command "& """%~dp0init-tools-native.ps1""" %*" 3 | exit /b %ErrorLevel% -------------------------------------------------------------------------------- /eng/common/internal/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | false 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /eng/common/internal/NuGet.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /eng/common/sdl/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /eng/common/templates-official/job/onelocbuild.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/onelocbuild.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/job/publish-build-assets.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/publish-build-assets.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/job/source-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/source-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/job/source-index-stage1.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/source-index-stage1.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/jobs/codeql-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/codeql-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/jobs/jobs.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/jobs.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/jobs/source-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/source-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/post-build/common-variables.yml: -------------------------------------------------------------------------------- 1 | variables: 2 | - template: /eng/common/core-templates/post-build/common-variables.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: true 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/post-build/post-build.yml: -------------------------------------------------------------------------------- 1 | stages: 2 | - template: /eng/common/core-templates/post-build/post-build.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: true 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} 9 | -------------------------------------------------------------------------------- /eng/common/templates-official/post-build/setup-maestro-vars.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: true 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/steps/component-governance.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/component-governance.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/enable-internal-runtimes.yml: -------------------------------------------------------------------------------- 1 | # Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64' 2 | # variable with the base64-encoded SAS token, by default 3 | steps: 4 | - template: /eng/common/core-templates/steps/enable-internal-runtimes.yml 5 | parameters: 6 | is1ESPipeline: true 7 | 8 | ${{ each parameter in parameters }}: 9 | ${{ parameter.key }}: ${{ parameter.value }} 10 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/enable-internal-sources.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/enable-internal-sources.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/steps/generate-sbom.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/generate-sbom.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/get-delegation-sas.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/get-delegation-sas.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/get-federated-access-token.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/get-federated-access-token.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/steps/publish-logs.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/publish-logs.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/retain-build.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/retain-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/send-to-helix.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/send-to-helix.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/source-build.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/source-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/variables/sdl-variables.yml: -------------------------------------------------------------------------------- 1 | variables: 2 | # The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in 3 | # sync with the packages.config file. 4 | - name: DefaultGuardianVersion 5 | value: 0.109.0 6 | - name: GuardianPackagesConfigFile 7 | value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config -------------------------------------------------------------------------------- /eng/common/templates/job/onelocbuild.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/onelocbuild.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/job/publish-build-assets.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/publish-build-assets.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/job/source-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/source-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/job/source-index-stage1.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/source-index-stage1.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/jobs/codeql-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/codeql-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/jobs/jobs.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/jobs.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/jobs/source-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/source-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/post-build/common-variables.yml: -------------------------------------------------------------------------------- 1 | variables: 2 | - template: /eng/common/core-templates/post-build/common-variables.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: false 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/post-build/post-build.yml: -------------------------------------------------------------------------------- 1 | stages: 2 | - template: /eng/common/core-templates/post-build/post-build.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: false 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/post-build/setup-maestro-vars.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: false 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/steps/component-governance.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/component-governance.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/enable-internal-runtimes.yml: -------------------------------------------------------------------------------- 1 | # Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64' 2 | # variable with the base64-encoded SAS token, by default 3 | 4 | steps: 5 | - template: /eng/common/core-templates/steps/enable-internal-runtimes.yml 6 | parameters: 7 | is1ESPipeline: false 8 | 9 | ${{ each parameter in parameters }}: 10 | ${{ parameter.key }}: ${{ parameter.value }} 11 | -------------------------------------------------------------------------------- /eng/common/templates/steps/enable-internal-sources.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/enable-internal-sources.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/steps/generate-sbom.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/generate-sbom.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/get-delegation-sas.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/get-delegation-sas.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/get-federated-access-token.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/get-federated-access-token.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/steps/publish-logs.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/publish-logs.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/retain-build.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/retain-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/send-to-helix.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/send-to-helix.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/source-build.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/source-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/spellchecking_exclusions.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/eng/spellchecking_exclusions.dic -------------------------------------------------------------------------------- /eng/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "diagnosticMessages": true, 3 | "longRunningTestSeconds": 300, 4 | "shadowCopy": false 5 | } 6 | -------------------------------------------------------------------------------- /github-merge-flow.jsonc: -------------------------------------------------------------------------------- 1 | // IMPORTANT: This file is read by the merge flow from main branch only. 2 | { 3 | "merge-flow-configurations": { 4 | // Automate opening PRs to merge extensions main branch back to dev 5 | // Disable this for now as dev branch has been merged to main 6 | "main":{ 7 | "MergeToBranch": "dev", 8 | "ExtraSwitches": "-QuietComments" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "version": "9.0.106" 4 | }, 5 | "tools": { 6 | "dotnet": "9.0.106", 7 | "runtimes": { 8 | "dotnet": [ 9 | "8.0.0", 10 | "9.0.0-rc.1.24431.7" 11 | ], 12 | "aspnetcore": [ 13 | "8.0.0", 14 | "9.0.0-rc.1.24452.1" 15 | ] 16 | } 17 | }, 18 | "msbuild-sdks": { 19 | "Microsoft.Build.NoTargets": "3.7.0", 20 | "Microsoft.Build.Traversal": "3.2.0", 21 | "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.25271.1", 22 | "Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.25271.1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /restore.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | SETLOCAL 3 | 4 | set _args=%* 5 | if "%~1"=="-?" set _args=-help 6 | if "%~1"=="/?" set _args=-help 7 | 8 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\build.ps1""" -restore %_args%" 9 | exit /b %ErrorLevel% -------------------------------------------------------------------------------- /restore.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -euo pipefail 4 | 5 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 6 | "$DIR/eng/build.sh" --restore "$@" 7 | -------------------------------------------------------------------------------- /src/Analyzers/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | netstandard2.0 6 | n/a 7 | true 8 | false 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/Analyzers/Directory.Build.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | false 7 | 8 | 9 | 10 | 11 | $(NoWarn);RT0000 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/Generators/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | netstandard2.0 6 | n/a 7 | false 8 | true 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/Generators/Directory.Build.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | false 7 | 8 | 9 | 10 | 11 | $(NoWarn);RT0000 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/Generators/Microsoft.Gen.ComplianceReports/Model/Classification.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Gen.ComplianceReports; 5 | 6 | /// 7 | /// A classified field or property. 8 | /// 9 | internal sealed class Classification 10 | { 11 | public string Name = string.Empty; 12 | public string? Notes; 13 | } 14 | -------------------------------------------------------------------------------- /src/Generators/Microsoft.Gen.ComplianceReports/Model/ClassifiedType.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace Microsoft.Gen.ComplianceReports; 7 | 8 | /// 9 | /// A type holding classified members and/or log methods. 10 | /// 11 | internal sealed class ClassifiedType 12 | { 13 | public string TypeName = string.Empty; 14 | public List? Members; 15 | public List? LogMethods; 16 | } 17 | -------------------------------------------------------------------------------- /src/Generators/Microsoft.Gen.ComplianceReports/SymbolHolder.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Diagnostics.CodeAnalysis; 5 | using Microsoft.CodeAnalysis; 6 | 7 | namespace Microsoft.Gen.ComplianceReports; 8 | 9 | [ExcludeFromCodeCoverage] 10 | internal sealed record class SymbolHolder( 11 | INamedTypeSymbol DataClassificationAttributeSymbol, 12 | INamedTypeSymbol? LoggerMessageAttribute); 13 | -------------------------------------------------------------------------------- /src/Generators/Microsoft.Gen.ContextualOptions/SymbolHolder.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Diagnostics.CodeAnalysis; 5 | using Microsoft.CodeAnalysis; 6 | 7 | namespace Microsoft.Gen.ContextualOptions; 8 | 9 | [ExcludeFromCodeCoverage] 10 | internal sealed record class SymbolHolder(INamedTypeSymbol OptionsContextAttribute); 11 | -------------------------------------------------------------------------------- /src/Generators/Microsoft.Gen.Logging/Model/TagProvider.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Diagnostics.CodeAnalysis; 5 | 6 | namespace Microsoft.Gen.Logging.Model; 7 | 8 | [ExcludeFromCodeCoverage] 9 | internal sealed record class TagProvider( 10 | string MethodName, 11 | string ContainingType); 12 | -------------------------------------------------------------------------------- /src/Generators/Microsoft.Gen.Metrics/Model/InstrumentKind.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Gen.Metrics.Model; 5 | 6 | internal enum InstrumentKind 7 | { 8 | None = 0, 9 | Counter = 1, 10 | Histogram = 2, 11 | Gauge = 3, 12 | CounterT = 4, 13 | HistogramT = 5, 14 | } 15 | -------------------------------------------------------------------------------- /src/Generators/Microsoft.Gen.Metrics/Model/MetricParameter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Gen.Metrics.Model; 5 | 6 | internal sealed class MetricParameter 7 | { 8 | public string Name = string.Empty; 9 | public string Type = string.Empty; 10 | public bool IsMeter; 11 | } 12 | -------------------------------------------------------------------------------- /src/Generators/Microsoft.Gen.Metrics/Model/StrongTypeMetricObjectType.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Gen.Metrics.Model; 5 | 6 | internal enum StrongTypeMetricObjectType 7 | { 8 | String = 0, 9 | Enum = 1, 10 | Class = 2, 11 | Struct = 3 12 | } 13 | -------------------------------------------------------------------------------- /src/LegacySupport/BitOperations/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/CallerAttributes/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/CompilerFeatureRequiredAttribute/README.md: -------------------------------------------------------------------------------- 1 | Enables use of C# required members on older frameworks. 2 | 3 | To use this source in your project, add the following to your `.csproj` file: 4 | 5 | ```xml 6 | 7 | true 8 | 9 | ``` 10 | -------------------------------------------------------------------------------- /src/LegacySupport/DiagnosticAttributes/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/DictionaryExtensions/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/GetOrAdd/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/IsExternalInit/IsExternalInit.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | #pragma warning disable IDE0079 5 | #pragma warning disable S3903 6 | 7 | /* This enables support for C# 9/10 records on older frameworks */ 8 | 9 | namespace System.Runtime.CompilerServices; 10 | 11 | internal static class IsExternalInit 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /src/LegacySupport/IsExternalInit/README.md: -------------------------------------------------------------------------------- 1 | Enables use of C# record types on older frameworks. 2 | 3 | To use this source in your project, add the following to your `.csproj` file: 4 | 5 | ```xml 6 | 7 | true 8 | 9 | ``` 10 | -------------------------------------------------------------------------------- /src/LegacySupport/ObsoleteAttribute/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/PlatformAttributes/README.md: -------------------------------------------------------------------------------- 1 | Enables use of C# OSPlatform attributes on older frameworks. 2 | 3 | To use this source in your project, add the following to your `.csproj` file: 4 | 5 | ```xml 6 | 7 | true 8 | 9 | ``` -------------------------------------------------------------------------------- /src/LegacySupport/README.md: -------------------------------------------------------------------------------- 1 | # About this Folder 2 | 3 | This folder contains a bunch of sources copied from newer versions of .NET which we pull in to 4 | our sources as necessary. This enables us to compile source code that depends on these newer 5 | features from .NET even when targeting older frameworks. 6 | 7 | Please see the `eng/MSBuild/LegacySupport.props` file for the set of project properties that control importing 8 | these source files into your project. 9 | -------------------------------------------------------------------------------- /src/LegacySupport/RequiredMemberAttribute/README.md: -------------------------------------------------------------------------------- 1 | Enables use of C# required members on older frameworks. 2 | 3 | To use this source in your project, add the following to your `.csproj` file: 4 | 5 | ```xml 6 | 7 | true 8 | 9 | ``` 10 | -------------------------------------------------------------------------------- /src/LegacySupport/SkipLocalsInitAttribute/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/StringBuilderExtensions/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/StringHash/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/StringSyntaxAttribute/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/TaskWaitAsync/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/LegacySupport/TrimAttributes/README.md: -------------------------------------------------------------------------------- 1 | To use this source in your project, add the following to your `.csproj` file: 2 | 3 | ```xml 4 | 5 | true 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware/Buffering/PerRequestLogBufferingOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | #if NET9_0_OR_GREATER 4 | 5 | using Microsoft.Extensions.Options; 6 | 7 | namespace Microsoft.AspNetCore.Diagnostics.Buffering; 8 | 9 | [OptionsValidator] 10 | internal sealed partial class PerRequestLogBufferingOptionsValidator : IValidateOptions 11 | { 12 | } 13 | #endif 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware/Log.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System; 5 | using Microsoft.Extensions.Logging; 6 | 7 | namespace Microsoft.AspNetCore.Diagnostics; 8 | 9 | internal static partial class Log 10 | { 11 | [LoggerMessage(0, LogLevel.Warning, "Enricher failed: {Enricher}.")] 12 | internal static partial void EnricherFailed(this ILogger logger, Exception exception, string enricher); 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware/Logging/LoggingRedactionOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | #if NET8_0_OR_GREATER 5 | 6 | using Microsoft.Extensions.Options; 7 | 8 | namespace Microsoft.AspNetCore.Diagnostics.Logging; 9 | 10 | [OptionsValidator] 11 | internal sealed partial class LoggingRedactionOptionsValidator : IValidateOptions 12 | { 13 | } 14 | #endif 15 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware/Logging/RequestHeadersLogEnricherOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.AspNetCore.Diagnostics.Logging; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class RequestHeadersLogEnricherOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.AspNetCore.HeaderParsing/HeaderParsingOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.AspNetCore.HeaderParsing; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class HeaderParsingOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.AspNetCore.Testing/FakeCertificateOptions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Security.Cryptography.X509Certificates; 5 | 6 | namespace Microsoft.AspNetCore.Testing; 7 | 8 | internal sealed class FakeCertificateOptions 9 | { 10 | public X509Certificate2? Certificate { get; set; } 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.AzureAIInference/Microsoft.Extensions.AI.AzureAIInference.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/Libraries/Microsoft.Extensions.AI.AzureAIInference/Microsoft.Extensions.AI.AzureAIInference.json -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Commands/ReportCommand.Format.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI.Evaluation.Console.Commands; 5 | 6 | internal partial class ReportCommand 7 | { 8 | internal enum Format 9 | { 10 | html, 11 | json 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Microsoft.Extensions.AI.Evaluation.Console.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": "Microsoft.Extensions.AI.Evaluation.Console, Version=9.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", 3 | "Types": [] 4 | } -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/CSharp/JsonSerialization/CamelCaseEnumConverter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Text.Json; 5 | using System.Text.Json.Serialization; 6 | 7 | namespace Microsoft.Extensions.AI.Evaluation.Reporting.JsonSerialization; 8 | 9 | internal sealed class CamelCaseEnumConverter() : 10 | JsonStringEnumConverter(JsonNamingPolicy.CamelCase) 11 | where TEnum : struct, System.Enum; 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | 26 | *.tsbuildinfo -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/.gitignore: -------------------------------------------------------------------------------- 1 | override.json 2 | package-lock.json 3 | VSIXPackageVersion.json 4 | LICENSE 5 | 6 | !Build -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/index.html: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | HTML View 12 | 13 | 14 |
15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/logo.png -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/src/azure-devops-extension-api/Build/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Build"; 2 | export * from "./BuildClient"; -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/src/azure-devops-extension-api/Common/index.ts: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | export * from "./Client"; 5 | export * from "./CommonServices"; 6 | export type * from "./Context.d.ts"; -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/src/azure-devops-extension-api/Core/Core.ts: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | /** 5 | * Represents a shallow reference to a TeamProject. 6 | */ 7 | export interface TeamProjectReference { 8 | /** 9 | * Project name. 10 | */ 11 | name: string; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/src/azure-devops-extension-api/Core/index.ts: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | export * from "./Core"; -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/src/azure-devops-extension-api/index.ts: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | export * from "./Common/index"; -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/src/index.css: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the .NET Foundation under one or more agreements. 3 | The .NET Foundation licenses this file to you under the MIT license. 4 | */ 5 | 6 | :root { 7 | background-color: white; 8 | } 9 | 10 | .error { 11 | color: darkred; 12 | font-size: 20pt; 13 | margin: auto; 14 | } -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | /// -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/tasks/PublishAIEvaluationReport/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module", 3 | "dependencies": { 4 | "azure-pipelines-task-lib": "^5.0.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": [], 3 | "references": [ 4 | { "path": "./tsconfig.app.json" }, 5 | { "path": "./tsconfig.node.json" } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/vite.config.ts: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | import { defineConfig } from 'vite'; 5 | import react from '@vitejs/plugin-react'; 6 | 7 | // https://vitejs.dev/config/ 8 | export default defineConfig({ 9 | base: './', 10 | plugins: [ 11 | react(), 12 | ], 13 | }) 14 | 15 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/components/App.css: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the .NET Foundation under one or more agreements. 3 | The .NET Foundation licenses this file to you under the MIT license. 4 | */ 5 | 6 | #root { 7 | margin: 0 auto; 8 | background-color: white; 9 | } 10 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/html-report/.gitignore: -------------------------------------------------------------------------------- 1 | devdata*.json 2 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/html-report/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | /// -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/html-report/vite.config.ts: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | import { resolve } from 'path'; 5 | import { defineConfig } from 'vite' 6 | import react from '@vitejs/plugin-react' 7 | import { viteSingleFile } from 'vite-plugin-singlefile' 8 | 9 | // https://vitejs.dev/config/ 10 | export default defineConfig({ 11 | root: resolve(__dirname), 12 | plugins: [react(), viteSingleFile()], 13 | }) 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": [], 3 | "references": [ 4 | { "path": "./tsconfig.app.json" }, 5 | { "path": "./tsconfig.node.json" } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Safety/ChatResponseExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI.Evaluation.Safety; 5 | 6 | internal static class ChatResponseExtensions 7 | { 8 | internal static bool ContainsImageWithSupportedFormat(this ChatResponse response) 9 | => response.Messages.ContainsImageWithSupportedFormat(); 10 | } 11 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Safety/ContentSafetyServicePayloadFormat.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI.Evaluation.Safety; 5 | 6 | internal enum ContentSafetyServicePayloadFormat 7 | { 8 | HumanSystem, 9 | QuestionAnswer, 10 | QueryResponse, 11 | ContextCompletion, 12 | Conversation 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Evaluation.Safety/ContentSafetyServicePayloadStrategy.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI.Evaluation.Safety; 5 | 6 | internal enum ContentSafetyServicePayloadStrategy 7 | { 8 | AnnotateEachTurn, 9 | AnnotateLastTurn, 10 | AnnotateConversation 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/Microsoft.Extensions.AI.Ollama.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/Libraries/Microsoft.Extensions.AI.Ollama/Microsoft.Extensions.AI.Ollama.json -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaChatRequestMessage.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace Microsoft.Extensions.AI; 7 | 8 | internal sealed class OllamaChatRequestMessage 9 | { 10 | public required string Role { get; set; } 11 | public string? Content { get; set; } 12 | public IList? Images { get; set; } 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaChatResponseMessage.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI; 5 | 6 | internal sealed class OllamaChatResponseMessage 7 | { 8 | public required string Role { get; set; } 9 | public required string Content { get; set; } 10 | public OllamaToolCall[]? ToolCalls { get; set; } 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaEmbeddingRequest.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI; 5 | 6 | internal sealed class OllamaEmbeddingRequest 7 | { 8 | public required string Model { get; set; } 9 | public required string[] Input { get; set; } 10 | public OllamaRequestOptions? Options { get; set; } 11 | public bool? Truncate { get; set; } 12 | public long? KeepAlive { get; set; } 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaFunctionCallContent.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Text.Json; 5 | 6 | namespace Microsoft.Extensions.AI; 7 | 8 | internal sealed class OllamaFunctionCallContent 9 | { 10 | public string? CallId { get; set; } 11 | public string? Name { get; set; } 12 | public JsonElement Arguments { get; set; } 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaFunctionResultContent.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Text.Json; 5 | 6 | namespace Microsoft.Extensions.AI; 7 | 8 | internal sealed class OllamaFunctionResultContent 9 | { 10 | public string? CallId { get; set; } 11 | public JsonElement Result { get; set; } 12 | } 13 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaFunctionTool.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI; 5 | 6 | internal sealed class OllamaFunctionTool 7 | { 8 | public required string Name { get; set; } 9 | public required string Description { get; set; } 10 | public required OllamaFunctionToolParameters Parameters { get; set; } 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaFunctionToolCall.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace Microsoft.Extensions.AI; 7 | 8 | internal sealed class OllamaFunctionToolCall 9 | { 10 | public required string Name { get; set; } 11 | public IDictionary? Arguments { get; set; } 12 | } 13 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaFunctionToolParameter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace Microsoft.Extensions.AI; 7 | 8 | internal sealed class OllamaFunctionToolParameter 9 | { 10 | public string? Type { get; set; } 11 | public string? Description { get; set; } 12 | public IEnumerable? Enum { get; set; } 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaFunctionToolParameters.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | using System.Text.Json; 6 | 7 | namespace Microsoft.Extensions.AI; 8 | 9 | internal sealed class OllamaFunctionToolParameters 10 | { 11 | public string Type { get; set; } = "object"; 12 | public required IDictionary Properties { get; set; } 13 | public IList? Required { get; set; } 14 | } 15 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaTool.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI; 5 | 6 | internal sealed class OllamaTool 7 | { 8 | public required string Type { get; set; } 9 | public required OllamaFunctionTool Function { get; set; } 10 | } 11 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.Ollama/OllamaToolCall.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI; 5 | 6 | internal sealed class OllamaToolCall 7 | { 8 | public OllamaFunctionToolCall? Function { get; set; } 9 | } 10 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AI.OpenAI/Microsoft.Extensions.AI.OpenAI.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/Libraries/Microsoft.Extensions.AI.OpenAI/Microsoft.Extensions.AI.OpenAI.json -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/ApplicationMetadataValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.AmbientMetadata; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class ApplicationMetadataValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Caching.Hybrid/Internal/HybridCacheBuilder.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.DependencyInjection; 5 | 6 | namespace Microsoft.Extensions.Caching.Hybrid.Internal; 7 | 8 | internal sealed class HybridCacheBuilder : IHybridCacheBuilder 9 | { 10 | public HybridCacheBuilder(IServiceCollection services) 11 | { 12 | Services = services; 13 | } 14 | 15 | public IServiceCollection Services { get; } 16 | } 17 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Caching.Hybrid/Microsoft.Extensions.Caching.Hybrid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/Libraries/Microsoft.Extensions.Caching.Hybrid/Microsoft.Extensions.Caching.Hybrid.json -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Compliance.Redaction/HmacRedactorOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Compliance.Redaction; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class HmacRedactorOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Compliance.Testing/FakeRedactorOptionsAutoValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Compliance.Testing; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class FakeRedactorOptionsAutoValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation/AutoActivatorOptions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | 7 | namespace Microsoft.Extensions.DependencyInjection; 8 | 9 | internal sealed class AutoActivatorOptions 10 | { 11 | public HashSet AutoActivators { get; } = []; 12 | public HashSet<(Type serviceType, object? serviceKey)> KeyedAutoActivators { get; } = []; 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization/ResourceUtilizationHealthCheckOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Diagnostics.HealthChecks; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class ResourceUtilizationHealthCheckOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Diagnostics.Probes/Log.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System; 5 | using Microsoft.Extensions.Logging; 6 | 7 | namespace Microsoft.Extensions.Diagnostics.Probes; 8 | 9 | internal static partial class Log 10 | { 11 | [LoggerMessage(LogLevel.Error, "Error updating health status through TCP endpoint")] 12 | public static partial void SocketExceptionCaughtTcpEndpoint(this ILogger logger, Exception e); 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Diagnostics.Probes/TcpEndpointProbesOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Diagnostics.Probes; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class TcpEndpointProbesOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring/Linux/IUserHz.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Diagnostics.ResourceMonitoring.Linux; 5 | 6 | /// 7 | /// Mock Linux OS call to run tests on windows. 8 | /// 9 | internal interface IUserHz 10 | { 11 | /// 12 | /// Gets value of Linux UserHz. 13 | /// 14 | long Value { get; } 15 | } 16 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring/ResourceMonitoringOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Diagnostics.ResourceMonitoring; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class ResourceMonitoringOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring/Windows/Network/MIB_TCPTABLE.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Runtime.InteropServices; 5 | 6 | namespace Microsoft.Extensions.Diagnostics.ResourceMonitoring.Windows.Network; 7 | 8 | [StructLayout(LayoutKind.Sequential)] 9 | internal struct MIB_TCPTABLE 10 | { 11 | public uint NumberOfEntries; 12 | public MIB_TCPROW Table; 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Hosting.Testing/FakeConfigurationSource.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | using Microsoft.Extensions.Configuration.Memory; 6 | 7 | namespace Microsoft.Extensions.Hosting; 8 | 9 | internal sealed class FakeConfigurationSource : MemoryConfigurationSource 10 | { 11 | public FakeConfigurationSource(params KeyValuePair[] initialData) 12 | { 13 | InitialData = initialData; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Diagnostics/Logging/Internal/Constants.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Http.Logging.Internal; 5 | 6 | internal static class Constants 7 | { 8 | public const string NoContent = "[no-content-type]"; 9 | public const string UnreadableContent = "[unreadable-content-type]"; 10 | public const string ReadCancelledByTimeout = "[read-timeout]"; 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Diagnostics/Logging/Internal/LoggingOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Http.Logging.Internal; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class LoggingOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Hedging/Internals/HedgingConstants.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Http.Resilience.Hedging.Internals; 5 | 6 | internal static class HedgingConstants 7 | { 8 | public const string InnerHandlerPostfix = "standard-hedging-endpoint"; 9 | 10 | public const string HandlerPostfix = "standard-hedging"; 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Hedging/Internals/Validators/HttpStandardHedgingResilienceOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Http.Resilience.Internal.Validators; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class HttpStandardHedgingResilienceOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Polly/HttpRateLimiterStrategyOptions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Polly.RateLimiting; 5 | 6 | namespace Microsoft.Extensions.Http.Resilience; 7 | 8 | /// 9 | /// Implementation of the for HTTP scenarios. 10 | /// 11 | public class HttpRateLimiterStrategyOptions : RateLimiterStrategyOptions 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Polly/HttpTimeoutStrategyOptions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Polly.Timeout; 5 | 6 | namespace Microsoft.Extensions.Http.Resilience; 7 | 8 | /// 9 | /// Implementation of the for HTTP scenarios. 10 | /// 11 | public class HttpTimeoutStrategyOptions : TimeoutStrategyOptions 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Resilience/Internal/HttpResilienceTagNames.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Http.Resilience.Internal; 5 | 6 | internal static class HttpResilienceTagNames 7 | { 8 | public const string ErrorType = "error.type"; 9 | } 10 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Resilience/Internal/PipelineKeyOptions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System; 5 | using System.Net.Http; 6 | 7 | namespace Microsoft.Extensions.Http.Resilience.Internal; 8 | 9 | /// 10 | /// The provider that returns the pipeline key from the request message. 11 | /// 12 | internal sealed class PipelineKeyOptions 13 | { 14 | public Func? KeyProvider { get; set; } 15 | } 16 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Resilience/Internal/PipelineNameHelper.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Http.Resilience.Internal; 5 | 6 | internal static class PipelineNameHelper 7 | { 8 | public static string GetName(string httpClientName, string pipelineIdentifier) => $"{httpClientName}-{pipelineIdentifier}"; 9 | } 10 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Resilience/Internal/Validators/HttpStandardResilienceOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Http.Resilience.Internal.Validators; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class HttpStandardResilienceOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Routing/Internal/OrderedGroups/OrderedGroupsRoutingOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Http.Resilience.Internal.Routing; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class OrderedGroupsRoutingOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Routing/Internal/RequestRoutingOptions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System; 5 | 6 | namespace Microsoft.Extensions.Http.Resilience.Routing.Internal; 7 | 8 | internal sealed class RequestRoutingOptions 9 | { 10 | public Func? RoutingStrategyProvider { get; set; } 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Routing/Internal/RoutingStrategyBuilder.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.DependencyInjection; 5 | 6 | namespace Microsoft.Extensions.Http.Resilience.Routing.Internal; 7 | 8 | internal sealed record RoutingStrategyBuilder(string Name, IServiceCollection Services) : IRoutingStrategyBuilder; 9 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Http.Resilience/Routing/Internal/WeightedGroups/WeightedGroupsRoutingOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Http.Resilience.Internal.Routing; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class WeightedGroupsRoutingOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Options.Contextual/buildTransitive/Microsoft.Extensions.Options.Contextual.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Options.Contextual/buildTransitive/Microsoft.Extensions.Options.Contextual.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Resilience/Resilience/Internal/ResilienceTagNames.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Resilience.Internal; 5 | 6 | internal static class ResilienceTagNames 7 | { 8 | public const string ErrorType = "error.type"; 9 | 10 | public const string DependencyName = "request.dependency.name"; 11 | 12 | public const string RequestName = "request.name"; 13 | } 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry.Abstractions/Buffering/GlobalLogBuffer.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | #if NET9_0_OR_GREATER 4 | 5 | namespace Microsoft.Extensions.Diagnostics.Buffering; 6 | 7 | /// 8 | /// Buffers logs into global circular buffers and drops them after some time if not flushed. 9 | /// 10 | public abstract class GlobalLogBuffer : LogBuffer 11 | { 12 | } 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry.Abstractions/Buffering/PerRequestLogBuffer.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | #if NET9_0_OR_GREATER 4 | 5 | namespace Microsoft.Extensions.Diagnostics.Buffering; 6 | 7 | /// 8 | /// Buffers logs into per-request circular buffers and drops them after some time if not flushed or when the request ends. 9 | /// 10 | public abstract class PerRequestLogBuffer : LogBuffer 11 | { 12 | } 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry.Abstractions/Latency/Registration/LatencyContextRegistrationOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Diagnostics.Latency; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class LatencyContextRegistrationOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry.Abstractions/Logging/LoggerMessageState.EnrichmentTagCollector.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Diagnostics.Enrichment; 5 | 6 | namespace Microsoft.Extensions.Logging; 7 | 8 | public partial class LoggerMessageState : IEnrichmentTagCollector 9 | { 10 | /// 11 | void IEnrichmentTagCollector.Add(string key, object value) 12 | { 13 | AddTag(key, value); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry.Abstractions/buildTransitive/net6.0/Microsoft.Extensions.Telemetry.Abstractions.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | true 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry.Abstractions/buildTransitive/net8.0/Microsoft.Extensions.Telemetry.Abstractions.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | true 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry/Buffering/GlobalLogBufferingOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | #if NET9_0_OR_GREATER 4 | 5 | using Microsoft.Extensions.Options; 6 | 7 | namespace Microsoft.Extensions.Diagnostics.Buffering; 8 | 9 | [OptionsValidator] 10 | internal sealed partial class GlobalLogBufferingOptionsValidator : IValidateOptions 11 | { 12 | } 13 | #endif 14 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry/Logging/LoggerEnrichmentOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Logging; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class LoggerEnrichmentOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry/Sampling/RandomProbabilisticSamplerOptionsValidator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options; 5 | 6 | namespace Microsoft.Extensions.Diagnostics.Sampling; 7 | 8 | [OptionsValidator] 9 | internal sealed partial class RandomProbabilisticSamplerOptionsValidator : IValidateOptions 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Libraries/Microsoft.Extensions.Telemetry/Sampling/TraceBasedSampler.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Diagnostics; 5 | using Microsoft.Extensions.Logging; 6 | using Microsoft.Extensions.Logging.Abstractions; 7 | 8 | namespace Microsoft.Extensions.Diagnostics.Sampling; 9 | 10 | internal sealed class TraceBasedSampler : LoggingSampler 11 | { 12 | public override bool ShouldSample(in LogEntry _) => 13 | Activity.Current?.Recorded ?? true; 14 | } 15 | -------------------------------------------------------------------------------- /src/Packages/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | n/a 6 | true 7 | true 8 | false 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/Packages/Directory.Build.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Packages/Microsoft.Extensions.AuditReports/EmptyInternalClass.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | internal sealed class EmptyInternalClass 5 | { 6 | // This class is a place 7 | // holder so we can build a package without additional warnings. 8 | } 9 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $(NoWarn);SA1633;CS1591 6 | true 7 | false 8 | false 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/README.md: -------------------------------------------------------------------------------- 1 | # Microsoft.Extensions.AI.Templates 2 | 3 | Provides project templates for Microsoft.Extensions.AI. 4 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/.template.config/ide/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/.template.config/ide/icon.ico -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.AppHost/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.AppHost/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Aspire.Hosting.Dcp": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/Components/Layout/LoadingSpinner.razor: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/Components/Layout/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @Body 4 | 5 |
6 | An unhandled error has occurred. 7 | Reload 8 | 🗙 9 |
10 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/Components/Pages/Chat/Chat.razor.css: -------------------------------------------------------------------------------- 1 | .chat-container { 2 | position: sticky; 3 | bottom: 0; 4 | padding-left: 1.5rem; 5 | padding-right: 1.5rem; 6 | padding-top: 0.75rem; 7 | padding-bottom: 1.5rem; 8 | border-top-width: 1px; 9 | background-color: #F3F4F6; 10 | border-color: #E5E7EB; 11 | } 12 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/Components/Pages/Chat/ChatHeader.razor.css: -------------------------------------------------------------------------------- 1 | .chat-header-container { 2 | top: 0; 3 | padding: 1.5rem; 4 | } 5 | 6 | .chat-header-controls { 7 | margin-bottom: 1.5rem; 8 | } 9 | 10 | h1 { 11 | overflow: hidden; 12 | text-overflow: ellipsis; 13 | } 14 | 15 | .new-chat-icon { 16 | width: 1.25rem; 17 | height: 1.25rem; 18 | color: rgb(55, 65, 81); 19 | } 20 | 21 | @media (min-width: 768px) { 22 | .chat-header-container { 23 | position: sticky; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/Components/Pages/Chat/ChatSuggestions.razor.css: -------------------------------------------------------------------------------- 1 | .suggestions { 2 | text-align: right; 3 | white-space: nowrap; 4 | gap: 0.5rem; 5 | justify-content: flex-end; 6 | flex-wrap: wrap; 7 | display: flex; 8 | margin-bottom: 0.75rem; 9 | } 10 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/Components/Routes.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/Data/Example_Emergency_Survival_Kit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/Data/Example_Emergency_Survival_Kit.pdf -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/Data/Example_GPS_Watch.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/Data/Example_GPS_Watch.pdf -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/lib/dompurify/README.md: -------------------------------------------------------------------------------- 1 | dompurify version 3.2.4 2 | https://github.com/cure53/DOMPurify 3 | License: Apache 2.0 and Mozilla Public License 2.0 4 | 5 | To update, replace the `dist/purify.es.mjs` file with an updated version from https://www.npmjs.com/package/dompurify. 6 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/lib/marked/README.md: -------------------------------------------------------------------------------- 1 | marked version 15.0.6 2 | https://github.com/markedjs/marked 3 | License: MIT 4 | 5 | To update, replace the `dist/marked.esm.js` file with with an updated version from https://www.npmjs.com/package/marked. 6 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/lib/pdfjs-dist/README.md: -------------------------------------------------------------------------------- 1 | pdfjs-dist version 4.10.38 2 | https://github.com/mozilla/pdf.js 3 | License: Apache-2.0 4 | 5 | To update, replace the following files with updated versions from https://www.npmjs.com/package/pdfjs-dist: 6 | * `build/pdf.min.mjs` 7 | * `build/pdf.worker.min.mjs` 8 | * `web/pdf_viewer.css` 9 | * `web/pdf_viewer.mjs` 10 | * `web/images/loading-icon.gif` 11 | -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/ChatWithCustomData-CSharp.Web/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif -------------------------------------------------------------------------------- /src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/ChatWithCustomData/Directory.Build.props.in: -------------------------------------------------------------------------------- 1 | 5 | 6 | -------------------------------------------------------------------------------- /src/Shared/BufferWriterPool/README.md: -------------------------------------------------------------------------------- 1 | # Buffer Writer Pool 2 | 3 | Gives access to an object pool of buffer writer instances. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/Data.Validation/README.md: -------------------------------------------------------------------------------- 1 | # Data Validation Attributes 2 | 3 | Provides a number of data validation attributes to help validate models. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/Debugger/README.md: -------------------------------------------------------------------------------- 1 | # Debugger Support 2 | 3 | Enables debugger control to facilitate testing. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/DiagnosticIds/README.md: -------------------------------------------------------------------------------- 1 | # Diagnostic IDs 2 | 3 | Defines various diagnostic IDs reported by this repo. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/EmptyCollections/README.md: -------------------------------------------------------------------------------- 1 | # Empty collections 2 | 3 | Utility functions to create efficient read-only empty collections. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/Instruments/README.md: -------------------------------------------------------------------------------- 1 | # Diagnostic IDs 2 | 3 | Contains common telemetry instruments names that are created or consumed in other projects. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/JsonSchemaExporter/README.md: -------------------------------------------------------------------------------- 1 | # JsonSchemaExporter 2 | 3 | Provides a polyfill for the [.NET 9 `JsonSchemaExporter` component](https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/extract-schema) that is compatible with all supported targets using System.Text.Json version 8. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/NumericExtensions/README.md: -------------------------------------------------------------------------------- 1 | # Numeric Extensions 2 | 3 | `ToInvariantString` function to get fast ordinal numeric conversion. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/Pools/README.md: -------------------------------------------------------------------------------- 1 | # Pools 2 | 3 | Provides an efficient object pool implementation, along with a few supporting types. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/RentedSpan/README.md: -------------------------------------------------------------------------------- 1 | # Rented Span 2 | 3 | Utility to make it simpler to deal with stack allocated buffers. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/ServerSentEvents/README.md: -------------------------------------------------------------------------------- 1 | # System.Net.ServerSentEvents 2 | 3 | Polyfill for the System.Net.ServerSentEvents library, including the `SseFormatter` component available in .NET 10. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/StringSplit/README.md: -------------------------------------------------------------------------------- 1 | # Numeric Extensions 2 | 3 | `StringSplit` API to get allocation-free string splitting for .NET runtime before .NET 8 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /src/Shared/Throw/README.md: -------------------------------------------------------------------------------- 1 | # Throw 2 | 3 | Efficient exception throwing utilities. 4 | 5 | To use this in your project, add the following to your `.csproj` file: 6 | 7 | ```xml 8 | 9 | true 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /test/Analyzers/Microsoft.Analyzers.Local.Tests/ApiLifecycle/Data/Analyzers.json: -------------------------------------------------------------------------------- 1 | // Wrong json in purpose 2 | { 3 | "Name": "AsyncState", 4 | "Types": [ 5 | -------------------------------------------------------------------------------- /test/Analyzers/Microsoft.Analyzers.Local.Tests/ApiLifecycle/Data/CompletelyEmpty.json: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /test/Analyzers/Microsoft.Analyzers.Local.Tests/ApiLifecycle/Data/Data.Classification2.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": "Data.Classification2", 3 | "Types": [ 4 | { 5 | "Type": "interface Microsoft.Extensions.Data.Classification2.IClassifiedData", 6 | "Stage": "Stable", 7 | "Properties": [ 8 | { 9 | "Member": "Microsoft.Extensions.Data.Classification2.DataClass Microsoft.Extensions.Data.Classification2.IClassifiedData.DataClass { get; }", 10 | "Stage": "Stable" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /test/Analyzers/Microsoft.Analyzers.Local.Tests/ApiLifecycle/Data/Delegates.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": "Delegates", 3 | "Types": [ 4 | { 5 | "Type": "delegate string Microsoft.Extensions.HttpClient.Resilience.PipelineKeySelector(System.Net.Http.HttpRequestMessage requestMessage)", 6 | "Stage": "Stable" 7 | } 8 | ] 9 | } -------------------------------------------------------------------------------- /test/Analyzers/Microsoft.Analyzers.Local.Tests/ApiLifecycle/Data/Empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": "Empty" 3 | } 4 | -------------------------------------------------------------------------------- /test/Analyzers/Microsoft.Analyzers.Local.Tests/ApiLifecycle/Data/Protected.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": "Protected", 3 | "Types": [ 4 | { 5 | "Type": "class Microsoft.Extensions.Security.Identity.AdditionalContext2", 6 | "Stage": "Experimental", 7 | "Properties": [ 8 | { 9 | "Member": "System.Collections.Generic.IReadOnlyDictionary Microsoft.Extensions.Security.Identity.AdditionalContext2.Features { get; }", 10 | "Stage": "Experimental" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /test/Analyzers/Microsoft.Analyzers.Local.Tests/ApiLifecycle/Data/SomePackage.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": "SomePackage", 3 | "Types": [ 4 | { 5 | "Type": "static class SomePackage.Test", 6 | "Stage": "Obsolete", 7 | "Methods": [ 8 | { 9 | "Member": "static void SomePackage.Test.Load();", 10 | "Stage": "Obsolete" 11 | } 12 | ] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /test/Analyzers/Microsoft.Analyzers.Local.Tests/ApiLifecycle/Data/StringSplit.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": "StringSplit", 3 | "Types": [ 4 | { 5 | "Type": "static class System.Text.StringSplitExtensions", 6 | "Stage": "Stable" 7 | } 8 | ] 9 | } -------------------------------------------------------------------------------- /test/Analyzers/Microsoft.Analyzers.Local.Tests/ApiLifecycle/Data/WindowsCountersOptions.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": "WindowsCountersOptions", 3 | "Types": [ 4 | { 5 | "Type": "class Microsoft.Extensions.Diagnostics.WindowsCountersOptions2", 6 | "Stage": "Experimental", 7 | "Properties": [ 8 | { 9 | "Member": "System.Collections.Generic.ISet Microsoft.Extensions.Diagnostics.WindowsCountersOptions2.InstanceIpAddresses { get; set; }", 10 | "Stage": "Experimental" 11 | } 12 | ] 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /test/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 9 | 10 | 11 | $(LatestTargetFramework) 12 | 13 | 14 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ComplianceReports/TestClasses/Inheritance.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Logging; 5 | 6 | namespace Test; 7 | 8 | public class Base 9 | { 10 | [C1] 11 | public int P0 { get; } 12 | 13 | [C2] 14 | public virtual int P1 { get; } 15 | } 16 | 17 | public class Inherited : Base 18 | { 19 | [C3] 20 | public override int P1 { get; } 21 | } 22 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ComplianceReports/TestClasses/LogMethod.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Logging; 5 | 6 | namespace Test; 7 | 8 | public class LogMethod 9 | { 10 | [LoggerMessage("Hello {user}")] 11 | public void LogHello([C2(Notes = "Note 3")] string user, int port); 12 | } 13 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/Class1.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options.Contextual; 5 | 6 | namespace TestClasses 7 | { 8 | [OptionsContext] 9 | public partial class Class1 10 | { 11 | public string Foo { get; set; } = "FooValue"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/Class2A.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Diagnostics.CodeAnalysis; 5 | 6 | namespace TestClasses 7 | { 8 | public partial class Class2 9 | { 10 | [SuppressMessage("Performance", "CA1822:Mark members as static", Justification = "Needed for testing.")] 11 | public string Bar => "BarValue"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/Class2B.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options.Contextual; 5 | 6 | namespace TestClasses 7 | { 8 | [OptionsContext] 9 | public partial class Class2 10 | { 11 | public string Foo { get; } = "FooValue"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/NamespacelessRecord.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options.Contextual; 5 | 6 | [OptionsContext] 7 | public partial record NamespacelessRecord(string Foo); 8 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/NonPartialClass.txt: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options.Contextual; 5 | 6 | namespace TestClasses 7 | { 8 | [OptionsContext] 9 | public class NonPartialClass 10 | { 11 | public string Foo { get; } = "FooValue"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/NonPublicStruct.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options.Contextual; 5 | 6 | namespace TestClasses 7 | { 8 | [OptionsContext] 9 | internal partial struct NonPublicStruct 10 | { 11 | #pragma warning disable CA1822 // Mark members as static 12 | public readonly string Foo => "FooValue"; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/Record1.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options.Contextual; 5 | 6 | namespace TestClasses 7 | { 8 | [OptionsContext] 9 | public partial record Record1(string Foo); 10 | } 11 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/RefStruct.txt: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options.Contextual; 5 | 6 | namespace TestClasses 7 | { 8 | [OptionsContext] 9 | public ref partial struct RefStruct 10 | { 11 | public string Foo => "FooValue"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/StaticClass.txt: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options.Contextual; 5 | 6 | namespace TestClasses 7 | { 8 | [OptionsContext] 9 | public static partial class StaticClass 10 | { 11 | public static string Foo { get; } = "FooValue"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.ContextualOptions/TestClasses/Struct1.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Options.Contextual; 5 | 6 | namespace TestClasses 7 | { 8 | [OptionsContext] 9 | public partial struct Struct1 10 | { 11 | #pragma warning disable CA1822 // Mark members as static 12 | public readonly string Foo => "FooValue"; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.Logging/TestClasses/CustomToStringTestClass.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace TestClasses 5 | { 6 | public class CustomToStringTestClass 7 | { 8 | public override string ToString() => "Test"; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.Logging/TestClasses/InvariantTestExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System; 5 | using Microsoft.Extensions.Logging; 6 | 7 | namespace TestClasses 8 | { 9 | internal static partial class InvariantTestExtensions 10 | { 11 | [LoggerMessage(0, LogLevel.Debug, "M0 {p0}")] 12 | public static partial void M0(ILogger logger, DateTime p0); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.Logging/TestClasses/NamespaceTestExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Logging; 5 | 6 | namespace FileScopedNamespace; 7 | 8 | internal static partial class Log 9 | { 10 | [LoggerMessage(1, LogLevel.Critical, "Could not open socket to `{hostName}`")] 11 | public static partial void CouldNotOpenSocket(ILogger logger, string hostName); 12 | } 13 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.Logging/TestClasses/NonFormattable.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace TestClasses 5 | { 6 | public readonly struct NonFormattable 7 | { 8 | public override string ToString() => "I refuse to be formatted"; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.Logging/TestClasses/RecordTestExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Logging; 5 | 6 | namespace TestClasses 7 | { 8 | internal partial record RecordTestExtensions(string Name, string Address) 9 | { 10 | [LoggerMessage(12, LogLevel.Debug, "M0")] 11 | public static partial void M0(ILogger logger); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.Logging/TestClasses/StructTestExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Logging; 5 | 6 | namespace TestClasses 7 | { 8 | internal readonly partial struct StructTestExtensions 9 | { 10 | [LoggerMessage(0, LogLevel.Trace, "M0")] 11 | public static partial void M0(ILogger logger); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.MetadataExtractor/TestClasses/Inheritance.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Logging; 5 | 6 | namespace Test; 7 | 8 | public class Base 9 | { 10 | [C1] 11 | public int P0 { get; } 12 | 13 | [C2] 14 | public virtual int P1 { get; } 15 | } 16 | 17 | public class Inherited : Base 18 | { 19 | [C3] 20 | public override int P1 { get; } 21 | } 22 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.MetadataExtractor/TestClasses/LogMethod.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Logging; 5 | 6 | namespace Test; 7 | 8 | public class LogMethod 9 | { 10 | [LoggerMessage("Hello {user}")] 11 | public void LogHello([C2(Notes = "Note 3")] string user, int port); 12 | } 13 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.Metrics/TestClasses/MetricRecordClassTestExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Diagnostics.Metrics; 5 | using Microsoft.Extensions.Diagnostics.Metrics; 6 | 7 | namespace TestClasses 8 | { 9 | internal partial record class MetricRecordClassTestExtensions(string Name, string Address) 10 | { 11 | [Counter] 12 | public static partial CounterFromRecordClass CreateCounterFromRecordClass(Meter meter); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.Metrics/TestClasses/MetricStructTestExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Diagnostics.Metrics; 5 | using Microsoft.Extensions.Diagnostics.Metrics; 6 | 7 | namespace TestClasses 8 | { 9 | internal partial struct MetricStructTestExtensions 10 | { 11 | [Counter] 12 | public static partial CounterFromStruct CreateCounterFromStruct(Meter meter); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Generators/Microsoft.Gen.Metrics/Unit/MetricParameterTests.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Gen.Metrics.Model; 5 | using Xunit; 6 | 7 | namespace Microsoft.Gen.Metrics.Test; 8 | 9 | public class MetricParameterTests 10 | { 11 | [Fact] 12 | public void Fields_Should_BeInitialized() 13 | { 14 | var instance = new MetricParameter(); 15 | Assert.Empty(instance.Name); 16 | Assert.Empty(instance.Type); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/Libraries/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $(TestNetCoreTargetFrameworks) 6 | $(TestNetCoreTargetFrameworks)$(ConditionalNet462) 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.AspNetCore.AsyncState.Tests/IThing.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.AspNetCore.AsyncState.Test; 5 | 6 | public interface IThing 7 | { 8 | string Hello(); 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.AspNetCore.AsyncState.Tests/Thing.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.AspNetCore.AsyncState.Test; 5 | 6 | public class Thing : IThing 7 | { 8 | public string Hello() 9 | { 10 | return "Hello World!"; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AI.Evaluation.Integration.Tests/.gitignore: -------------------------------------------------------------------------------- 1 | appsettings.local.json -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AI.Evaluation.Integration.Tests/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Configured": false, 3 | "DeploymentName": "[deployment]", 4 | "ModelName": "[model]", 5 | "Endpoint": "https://[endpoint].openai.azure.com/", 6 | "StorageRootPath": "[storage-path]", 7 | "AzureSubscriptionId": "[subscription]", 8 | "AzureResourceGroupName": "[resource-group]", 9 | "AzureAIProjectName": "[project]" 10 | } 11 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting.Tests/.gitignore: -------------------------------------------------------------------------------- 1 | appsettings.local.json -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting.Tests/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Configured": false, 3 | "StorageAccountEndpoint": "https://[endpoint].dfs.core.windows.net/", 4 | "StorageContainerName": "[storage-container-name]" 5 | } 6 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AI.Integration.Tests/Resources/audio001.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/Libraries/Microsoft.Extensions.AI.Integration.Tests/Resources/audio001.mp3 -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AI.Ollama.Tests/TestJsonSerializerContext.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Collections.Generic; 5 | using System.Text.Json.Serialization; 6 | 7 | namespace Microsoft.Extensions.AI; 8 | 9 | [JsonSerializable(typeof(string))] 10 | [JsonSerializable(typeof(int))] 11 | [JsonSerializable(typeof(IDictionary))] 12 | internal sealed partial class TestJsonSerializerContext : JsonSerializerContext; 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AI.OpenAI.Tests/OpenAIChatClientIntegrationTests.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI; 5 | 6 | public class OpenAIChatClientIntegrationTests : ChatClientIntegrationTests 7 | { 8 | protected override IChatClient? CreateChatClient() => 9 | IntegrationTestHelpers.GetOpenAIClient() 10 | ?.GetChatClient(TestRunnerConfiguration.Instance["OpenAI:ChatModel"] ?? "gpt-4o-mini").AsIChatClient(); 11 | } 12 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AI.Tests/ChatCompletion/CustomAIContentJsonContext.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Text.Json.Serialization; 5 | 6 | namespace Microsoft.Extensions.AI; 7 | 8 | [JsonSerializable(typeof(DistributedCachingChatClientTest.CustomAIContent1))] 9 | [JsonSerializable(typeof(DistributedCachingChatClientTest.CustomAIContent2))] 10 | internal sealed partial class CustomAIContentJsonContext : JsonSerializerContext; 11 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AI.Tests/ChatCompletion/SingletonChatClientExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI; 5 | 6 | public static class SingletonChatClientExtensions 7 | { 8 | public static ChatClientBuilder UseSingletonMiddleware(this ChatClientBuilder builder) 9 | => builder.Use((inner, services) 10 | => new DependencyInjectionPatterns.SingletonMiddleware(inner, services)); 11 | } 12 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AotCompatibility.TestApp/Program.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | System.Console.WriteLine("Success!"); 5 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AsyncState.Tests/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Xunit; 5 | 6 | [assembly: CollectionBehavior(DisableTestParallelization = true)] -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AsyncState.Tests/Mock/AnotherThing.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AsyncState.Test; 5 | 6 | public class AnotherThing : IThing 7 | { 8 | public string Hello() 9 | { 10 | return "Hello World, in a different way!"; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AsyncState.Tests/Mock/IThing.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AsyncState.Test; 5 | 6 | public interface IThing 7 | { 8 | string Hello(); 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.AsyncState.Tests/Mock/Thing.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AsyncState.Test; 5 | 6 | public class Thing : IThing 7 | { 8 | public string Hello() 9 | { 10 | return "Hello World!"; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Caching.Hybrid.Tests/BasicConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "no_entry_options": { 3 | "MaximumKeyLength": 937 4 | }, 5 | "with_entry_options": { 6 | "MaximumKeyLength": 937, 7 | "DefaultEntryOptions": { 8 | "LocalCacheExpiration": "00:02:00", 9 | "Flags": "DisableCompression,DisableLocalCacheRead" 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Compliance.Abstractions.Tests/Redaction/TestObject.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Compliance.Redaction.Test; 5 | 6 | internal readonly struct TestObject 7 | { 8 | private readonly string _value; 9 | 10 | public TestObject(string value) 11 | { 12 | _value = value; 13 | } 14 | 15 | public override string ToString() => _value; 16 | } 17 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/AnotherFakeService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 7 | 8 | public class AnotherFakeService : IFakeService 9 | { 10 | public AnotherFakeService(IAnotherFakeServiceCounter count) 11 | { 12 | count.Counter += 1; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/DifferentPocoClass.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 5 | 6 | public class DifferentPocoClass 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/FakeOneMultipleService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 7 | 8 | public class FakeOneMultipleService : IFakeMultipleService 9 | { 10 | public FakeOneMultipleService(IFakeMultipleCounter count) 11 | { 12 | count.Counter += 1; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/FakeOpenGenericService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 7 | 8 | public class FakeOpenGenericService : IFakeOpenGenericService 9 | { 10 | public FakeOpenGenericService(IFakeOpenGenericCounter count) 11 | { 12 | count.Counter += 1; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/FakeService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 7 | 8 | public class FakeService : IFakeService 9 | { 10 | public FakeService(IFakeServiceCounter count) 11 | { 12 | count.Counter += 1; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/IFactoryService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 5 | 6 | public interface IFactoryService 7 | { 8 | IFakeService FakeService { get; } 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/IFakeMultipleService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 5 | 6 | public interface IFakeMultipleService : IFakeService 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/IFakeOpenGenericService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 5 | 6 | public interface IFakeOpenGenericService 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/IFakeService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 5 | 6 | public interface IFakeService : IFakeOpenGenericService 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Fakes/PocoClass.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Fakes; 5 | 6 | public class PocoClass 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Helpers/AnotherFakeServiceCounter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | public class AnotherFakeServiceCounter : IAnotherFakeServiceCounter 7 | { 8 | public int Counter { get; set; } 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Helpers/IAnotherFakeServiceCounter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | public interface IAnotherFakeServiceCounter 7 | { 8 | public int Counter { get; set; } 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Helpers/IFactoryServiceCounter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | public interface IFactoryServiceCounter 7 | { 8 | public int Counter { get; set; } 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Helpers/IFakeMultipleCounter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | public interface IFakeMultipleCounter 7 | { 8 | public int Counter { get; set; } 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Helpers/IFakeOpenGenericCounter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | public interface IFakeOpenGenericCounter 7 | { 8 | public int Counter { get; set; } 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Helpers/IFakeServiceCounter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | public interface IFakeServiceCounter 7 | { 8 | public int Counter { get; set; } 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Helpers/InstanceCreatingCounter.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.DependencyInjection.Test.Helpers; 5 | 6 | public class InstanceCreatingCounter : IFactoryServiceCounter, IFakeServiceCounter, IFakeMultipleCounter, IFakeOpenGenericCounter 7 | { 8 | public int Counter { get; set; } 9 | } 10 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/Linux/Resources/FakeUserHz.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Diagnostics.ResourceMonitoring.Linux.Test; 5 | 6 | internal sealed class FakeUserHz : IUserHz 7 | { 8 | public FakeUserHz(long value) 9 | { 10 | Value = value; 11 | } 12 | 13 | public long Value { get; } 14 | } 15 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/cpu.cfs_period_us: -------------------------------------------------------------------------------- 1 | 200000 -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/cpu.cfs_quota_us: -------------------------------------------------------------------------------- 1 | 200000 -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/cpu.max: -------------------------------------------------------------------------------- 1 | 20000 100000 2 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/cpu.weight: -------------------------------------------------------------------------------- 1 | 100 2 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/cpuacct.stat: -------------------------------------------------------------------------------- 1 | user 1399428 2 | system 1124053 3 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/cpuset.cpus: -------------------------------------------------------------------------------- 1 | 0-1 2 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/cpuset.cpus.effective: -------------------------------------------------------------------------------- 1 | 0-1 2 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/memory.limit_in_bytes: -------------------------------------------------------------------------------- 1 | 3082706944 2 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/memory.usage_in_bytes: -------------------------------------------------------------------------------- 1 | 30827 2 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/tcpacct.stat: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line 5 6 | line 6 7 | line 7 8 | line 8 9 | line 9 10 | line 10 11 | line 11 12 | line 12 13 | line 13 14 | line 14 15 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/test.cpuacct.stat: -------------------------------------------------------------------------------- 1 | user 1399428 2 | system 1124053 3 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/fixtures/testing.slice/memory.current: -------------------------------------------------------------------------------- 1 | 4234234 2 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Diagnostics.Testing.Tests/Logging/TestLog.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Logging; 5 | 6 | namespace Microsoft.Extensions.Logging.Testing.Test.Logging; 7 | 8 | internal static partial class TestLog 9 | { 10 | [LoggerMessage(0, LogLevel.Error, "Hello {name}")] 11 | public static partial void Hello(this ILogger logger, string name); 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Hosting.Testing.Tests/TestResources/DependentClass.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Hosting.Testing.Test.TestResources; 5 | 6 | public class DependentClass 7 | { 8 | public DependentClass(FakeHostTests _) 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Hosting.Testing.Tests/TestResources/InnerClass.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Hosting.Testing.Test.TestResources; 5 | 6 | public class InnerClass 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Hosting.Testing.Tests/TestResources/OuterClass.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.Hosting.Testing.Test.TestResources; 5 | 6 | public class OuterClass 7 | { 8 | public OuterClass(InnerClass _) 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Http.Diagnostics.Tests/Logging/Internal/ITestHttpClient1.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Net.Http; 5 | using System.Threading.Tasks; 6 | 7 | namespace Microsoft.Extensions.Http.Logging.Test.Internal; 8 | 9 | internal interface ITestHttpClient1 10 | { 11 | Task SendRequest(HttpRequestMessage httpRequestMessage); 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Http.Diagnostics.Tests/Logging/Internal/ITestHttpClient2.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System.Net.Http; 5 | using System.Threading.Tasks; 6 | 7 | namespace Microsoft.Extensions.Http.Logging.Test.Internal; 8 | 9 | internal interface ITestHttpClient2 10 | { 11 | Task SendRequest(HttpRequestMessage httpRequestMessage); 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Http.Resilience.Tests/Protos/greet.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | option csharp_namespace = "Microsoft.Extensions.Http.Resilience.Test.Grpc"; 4 | 5 | package greet; 6 | 7 | // The greeting service definition. 8 | service Greeter { 9 | // Sends a greeting 10 | rpc SayHello (HelloRequest) returns (HelloReply); 11 | } 12 | 13 | // The request message containing the user's name. 14 | message HelloRequest { 15 | string name = 1; 16 | } 17 | 18 | // The response message containing the greetings. 19 | message HelloReply { 20 | string message = 1; 21 | } 22 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Http.Resilience.Tests/Routing/IStubRoutingService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using System; 5 | 6 | namespace Microsoft.Extensions.Http.Resilience.Test.Routing; 7 | 8 | public interface IStubRoutingService 9 | { 10 | Uri Route { get; } 11 | } 12 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.ObjectPool.DependencyInjection.Tests/TestResources/ITestClass.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.ObjectPool.Test.TestResources; 5 | 6 | public interface ITestClass 7 | { 8 | int ResetCalled { get; } 9 | int DisposedCalled { get; } 10 | string ReadMessage(); 11 | } 12 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.ObjectPool.DependencyInjection.Tests/TestResources/TestDependency.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.ObjectPool.Test.TestResources; 5 | 6 | public class TestDependency 7 | { 8 | public const string DefaultMessage = "I'm here!"; 9 | public string Message { get; } = DefaultMessage; 10 | 11 | public string ReadMessage() => Message; 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Resilience.Tests/configs/optionsOnChangeTestNew.json: -------------------------------------------------------------------------------- 1 | { 2 | "ChaosPolicyConfigurations": { 3 | "ReloadOnChange": true, 4 | "ChaosPolicyOptionsGroups": { 5 | "OptionsGroupTest": { 6 | "LatencyPolicyOptions": { 7 | "Enabled": false 8 | } 9 | } 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Resilience.Tests/configs/optionsOnChangeTestOriginal.json: -------------------------------------------------------------------------------- 1 | { 2 | "ChaosPolicyConfigurations": { 3 | "ReloadOnChange": true, 4 | "ChaosPolicyOptionsGroups": { 5 | "OptionsGroupTest": { 6 | "LatencyPolicyOptions": { 7 | "Enabled": true 8 | } 9 | } 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Telemetry.Tests/Http/Telemetry.Internal.Test.xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", 3 | "diagnosticMessages": true, 4 | "longRunningTestSeconds": 300, 5 | "maxParallelThreads": 1, 6 | "parallelizeTestCollections": false 7 | } 8 | -------------------------------------------------------------------------------- /test/Libraries/Microsoft.Extensions.Telemetry.Tests/Latency/Internal/LatencyContextExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Microsoft.Extensions.Diagnostics.Latency.Internal; 5 | 6 | namespace Microsoft.Extensions.Diagnostics.Latency.Test.Internal; 7 | 8 | internal static class LatencyContextExtensions 9 | { 10 | public static bool IsRegistered(this Registry registry, string name) 11 | { 12 | return registry.GetRegisteredKeyIndex(name) > -1; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Infrastructure/ITemplateExecutionTestConfigurationProvider.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI.Templates.Tests; 5 | 6 | public interface ITemplateExecutionTestConfigurationProvider 7 | { 8 | static abstract TemplateExecutionTestConfiguration Configuration { get; } 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Infrastructure/TemplateExecutionTestCollection.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Xunit; 5 | 6 | namespace Microsoft.Extensions.AI.Templates.Tests; 7 | 8 | [CollectionDefinition(name: Name)] 9 | public sealed class TemplateExecutionTestCollection : ICollectionFixture 10 | { 11 | public const string Name = "Template execution test"; 12 | } 13 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Infrastructure/TemplateExecutionTestConfiguration.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Extensions.AI.Templates.Tests; 5 | 6 | public sealed class TemplateExecutionTestConfiguration 7 | { 8 | public required string TemplatePackageName { get; init; } 9 | 10 | public required string TestOutputFolderPrefix { get; init; } 11 | } 12 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/README.md: -------------------------------------------------------------------------------- 1 | # Microsoft.Extensions.AI.Templates tests 2 | 3 | Contains snapshot and execution tests for `Microsoft.Extensions.AI.Templates`. 4 | 5 | To update test snapshots, install and run the `DiffEngineTray` tool following [these instructions](https://github.com/VerifyTests/DiffEngine/blob/main/docs/tray.md), run the snapshot tests either in VS or using `dotnet test`, and use `DiffEngineTray` to accept or discard changes. 6 | 7 | For information on debugging template execution tests, see [this README](./TemplateSandbox/README.md). 8 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.AppHost/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.AppHost/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Aspire.Hosting.Dcp": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/Components/Layout/LoadingSpinner.razor: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/Components/Layout/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @Body 4 | 5 |
6 | An unhandled error has occurred. 7 | Reload 8 | 🗙 9 |
10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/Components/Pages/Chat/Chat.razor.css: -------------------------------------------------------------------------------- 1 | .chat-container { 2 | position: sticky; 3 | bottom: 0; 4 | padding-left: 1.5rem; 5 | padding-right: 1.5rem; 6 | padding-top: 0.75rem; 7 | padding-bottom: 1.5rem; 8 | border-top-width: 1px; 9 | background-color: #F3F4F6; 10 | border-color: #E5E7EB; 11 | } 12 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/Components/Pages/Chat/ChatSuggestions.razor.css: -------------------------------------------------------------------------------- 1 | .suggestions { 2 | text-align: right; 3 | white-space: nowrap; 4 | gap: 0.5rem; 5 | justify-content: flex-end; 6 | flex-wrap: wrap; 7 | display: flex; 8 | margin-bottom: 0.75rem; 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/Components/Routes.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_Emergency_Survival_Kit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_Emergency_Survival_Kit.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_GPS_Watch.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_GPS_Watch.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/favicon.ico -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/dompurify/README.md: -------------------------------------------------------------------------------- 1 | dompurify version 3.2.4 2 | https://github.com/cure53/DOMPurify 3 | License: Apache 2.0 and Mozilla Public License 2.0 4 | 5 | To update, replace the `dist/purify.es.mjs` file with an updated version from https://www.npmjs.com/package/dompurify. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/marked/README.md: -------------------------------------------------------------------------------- 1 | marked version 15.0.6 2 | https://github.com/markedjs/marked 3 | License: MIT 4 | 5 | To update, replace the `dist/marked.esm.js` file with with an updated version from https://www.npmjs.com/package/marked. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/pdfjs-dist/README.md: -------------------------------------------------------------------------------- 1 | pdfjs-dist version 4.10.38 2 | https://github.com/mozilla/pdf.js 3 | License: Apache-2.0 4 | 5 | To update, replace the following files with updated versions from https://www.npmjs.com/package/pdfjs-dist: 6 | * `build/pdf.min.mjs` 7 | * `build/pdf.worker.min.mjs` 8 | * `web/pdf_viewer.css` 9 | * `web/pdf_viewer.mjs` 10 | * `web/images/loading-icon.gif` 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.AzureOpenAI_Qdrant_Aspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/Components/Layout/LoadingSpinner.razor: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/Components/Layout/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @Body 4 | 5 |
6 | An unhandled error has occurred. 7 | Reload 8 | 🗙 9 |
10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/Components/Pages/Chat/Chat.razor.css: -------------------------------------------------------------------------------- 1 | .chat-container { 2 | position: sticky; 3 | bottom: 0; 4 | padding-left: 1.5rem; 5 | padding-right: 1.5rem; 6 | padding-top: 0.75rem; 7 | padding-bottom: 1.5rem; 8 | border-top-width: 1px; 9 | background-color: #F3F4F6; 10 | border-color: #E5E7EB; 11 | } 12 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/Components/Pages/Chat/ChatSuggestions.razor.css: -------------------------------------------------------------------------------- 1 | .suggestions { 2 | text-align: right; 3 | white-space: nowrap; 4 | gap: 0.5rem; 5 | justify-content: flex-end; 6 | flex-wrap: wrap; 7 | display: flex; 8 | margin-bottom: 0.75rem; 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/Components/Routes.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/Data/Example_Emergency_Survival_Kit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/Data/Example_Emergency_Survival_Kit.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/Data/Example_GPS_Watch.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/Data/Example_GPS_Watch.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/favicon.ico -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/lib/dompurify/README.md: -------------------------------------------------------------------------------- 1 | dompurify version 3.2.4 2 | https://github.com/cure53/DOMPurify 3 | License: Apache 2.0 and Mozilla Public License 2.0 4 | 5 | To update, replace the `dist/purify.es.mjs` file with an updated version from https://www.npmjs.com/package/dompurify. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/lib/marked/README.md: -------------------------------------------------------------------------------- 1 | marked version 15.0.6 2 | https://github.com/markedjs/marked 3 | License: MIT 4 | 5 | To update, replace the `dist/marked.esm.js` file with with an updated version from https://www.npmjs.com/package/marked. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/lib/pdfjs-dist/README.md: -------------------------------------------------------------------------------- 1 | pdfjs-dist version 4.10.38 2 | https://github.com/mozilla/pdf.js 3 | License: Apache-2.0 4 | 5 | To update, replace the following files with updated versions from https://www.npmjs.com/package/pdfjs-dist: 6 | * `build/pdf.min.mjs` 7 | * `build/pdf.worker.min.mjs` 8 | * `web/pdf_viewer.css` 9 | * `web/pdf_viewer.mjs` 10 | * `web/images/loading-icon.gif` 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Basic.verified/aichatweb/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.AppHost/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.AppHost/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Aspire.Hosting.Dcp": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/Components/Layout/LoadingSpinner.razor: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/Components/Layout/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @Body 4 | 5 |
6 | An unhandled error has occurred. 7 | Reload 8 | 🗙 9 |
10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/Components/Pages/Chat/Chat.razor.css: -------------------------------------------------------------------------------- 1 | .chat-container { 2 | position: sticky; 3 | bottom: 0; 4 | padding-left: 1.5rem; 5 | padding-right: 1.5rem; 6 | padding-top: 0.75rem; 7 | padding-bottom: 1.5rem; 8 | border-top-width: 1px; 9 | background-color: #F3F4F6; 10 | border-color: #E5E7EB; 11 | } 12 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/Components/Pages/Chat/ChatSuggestions.razor.css: -------------------------------------------------------------------------------- 1 | .suggestions { 2 | text-align: right; 3 | white-space: nowrap; 4 | gap: 0.5rem; 5 | justify-content: flex-end; 6 | flex-wrap: wrap; 7 | display: flex; 8 | margin-bottom: 0.75rem; 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/Components/Routes.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_Emergency_Survival_Kit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_Emergency_Survival_Kit.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_GPS_Watch.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_GPS_Watch.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/favicon.ico -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/dompurify/README.md: -------------------------------------------------------------------------------- 1 | dompurify version 3.2.4 2 | https://github.com/cure53/DOMPurify 3 | License: Apache 2.0 and Mozilla Public License 2.0 4 | 5 | To update, replace the `dist/purify.es.mjs` file with an updated version from https://www.npmjs.com/package/dompurify. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/marked/README.md: -------------------------------------------------------------------------------- 1 | marked version 15.0.6 2 | https://github.com/markedjs/marked 3 | License: MIT 4 | 5 | To update, replace the `dist/marked.esm.js` file with with an updated version from https://www.npmjs.com/package/marked. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/pdfjs-dist/README.md: -------------------------------------------------------------------------------- 1 | pdfjs-dist version 4.10.38 2 | https://github.com/mozilla/pdf.js 3 | License: Apache-2.0 4 | 5 | To update, replace the following files with updated versions from https://www.npmjs.com/package/pdfjs-dist: 6 | * `build/pdf.min.mjs` 7 | * `build/pdf.worker.min.mjs` 8 | * `web/pdf_viewer.css` 9 | * `web/pdf_viewer.mjs` 10 | * `web/images/loading-icon.gif` 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.BasicAspire.verified/aichatweb/aichatweb.Web/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.AppHost/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.AppHost/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Aspire.Hosting.Dcp": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/Components/Layout/LoadingSpinner.razor: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/Components/Layout/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @Body 4 | 5 |
6 | An unhandled error has occurred. 7 | Reload 8 | 🗙 9 |
10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/Components/Pages/Chat/Chat.razor.css: -------------------------------------------------------------------------------- 1 | .chat-container { 2 | position: sticky; 3 | bottom: 0; 4 | padding-left: 1.5rem; 5 | padding-right: 1.5rem; 6 | padding-top: 0.75rem; 7 | padding-bottom: 1.5rem; 8 | border-top-width: 1px; 9 | background-color: #F3F4F6; 10 | border-color: #E5E7EB; 11 | } 12 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/Components/Pages/Chat/ChatSuggestions.razor.css: -------------------------------------------------------------------------------- 1 | .suggestions { 2 | text-align: right; 3 | white-space: nowrap; 4 | gap: 0.5rem; 5 | justify-content: flex-end; 6 | flex-wrap: wrap; 7 | display: flex; 8 | margin-bottom: 0.75rem; 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/Components/Routes.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_Emergency_Survival_Kit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_Emergency_Survival_Kit.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_GPS_Watch.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/Data/Example_GPS_Watch.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/favicon.ico -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/lib/dompurify/README.md: -------------------------------------------------------------------------------- 1 | dompurify version 3.2.4 2 | https://github.com/cure53/DOMPurify 3 | License: Apache 2.0 and Mozilla Public License 2.0 4 | 5 | To update, replace the `dist/purify.es.mjs` file with an updated version from https://www.npmjs.com/package/dompurify. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/lib/marked/README.md: -------------------------------------------------------------------------------- 1 | marked version 15.0.6 2 | https://github.com/markedjs/marked 3 | License: MIT 4 | 5 | To update, replace the `dist/marked.esm.js` file with with an updated version from https://www.npmjs.com/package/marked. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/lib/pdfjs-dist/README.md: -------------------------------------------------------------------------------- 1 | pdfjs-dist version 4.10.38 2 | https://github.com/mozilla/pdf.js 3 | License: Apache-2.0 4 | 5 | To update, replace the following files with updated versions from https://www.npmjs.com/package/pdfjs-dist: 6 | * `build/pdf.min.mjs` 7 | * `build/pdf.worker.min.mjs` 8 | * `web/pdf_viewer.css` 9 | * `web/pdf_viewer.mjs` 10 | * `web/images/loading-icon.gif` 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.Ollama_Qdrant.verified/aichatweb/aichatweb.Web/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/Components/Layout/LoadingSpinner.razor: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/Components/Layout/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @Body 4 | 5 |
6 | An unhandled error has occurred. 7 | Reload 8 | 🗙 9 |
10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/Components/Pages/Chat/Chat.razor.css: -------------------------------------------------------------------------------- 1 | .chat-container { 2 | position: sticky; 3 | bottom: 0; 4 | padding-left: 1.5rem; 5 | padding-right: 1.5rem; 6 | padding-top: 0.75rem; 7 | padding-bottom: 1.5rem; 8 | border-top-width: 1px; 9 | background-color: #F3F4F6; 10 | border-color: #E5E7EB; 11 | } 12 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/Components/Pages/Chat/ChatSuggestions.razor.css: -------------------------------------------------------------------------------- 1 | .suggestions { 2 | text-align: right; 3 | white-space: nowrap; 4 | gap: 0.5rem; 5 | justify-content: flex-end; 6 | flex-wrap: wrap; 7 | display: flex; 8 | margin-bottom: 0.75rem; 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/Components/Routes.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.EntityFrameworkCore": "Warning" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/Data/Example_Emergency_Survival_Kit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/Data/Example_Emergency_Survival_Kit.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/Data/Example_GPS_Watch.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/Data/Example_GPS_Watch.pdf -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/favicon.ico -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/lib/dompurify/README.md: -------------------------------------------------------------------------------- 1 | dompurify version 3.2.4 2 | https://github.com/cure53/DOMPurify 3 | License: Apache 2.0 and Mozilla Public License 2.0 4 | 5 | To update, replace the `dist/purify.es.mjs` file with an updated version from https://www.npmjs.com/package/dompurify. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/lib/marked/README.md: -------------------------------------------------------------------------------- 1 | marked version 15.0.6 2 | https://github.com/markedjs/marked 3 | License: MIT 4 | 5 | To update, replace the `dist/marked.esm.js` file with with an updated version from https://www.npmjs.com/package/marked. 6 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/lib/pdfjs-dist/README.md: -------------------------------------------------------------------------------- 1 | pdfjs-dist version 4.10.38 2 | https://github.com/mozilla/pdf.js 3 | License: Apache-2.0 4 | 5 | To update, replace the following files with updated versions from https://www.npmjs.com/package/pdfjs-dist: 6 | * `build/pdf.min.mjs` 7 | * `build/pdf.worker.min.mjs` 8 | * `web/pdf_viewer.css` 9 | * `web/pdf_viewer.mjs` 10 | * `web/images/loading-icon.gif` 11 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/aichatweb.OpenAI_AzureAISearch.verified/aichatweb/wwwroot/lib/pdfjs-dist/dist/web/images/loading-icon.gif -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/TemplateSandbox/.editorconfig: -------------------------------------------------------------------------------- 1 | # Don't apply the repo's editorconfig settings to generated templates. 2 | root = true 3 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/TemplateSandbox/.gitignore: -------------------------------------------------------------------------------- 1 | # Template test output 2 | output/ 3 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/TemplateSandbox/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | true 10 | 11 | 12 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/TemplateSandbox/Directory.Build.targets: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "longRunningTestSeconds": 60, 3 | "diagnosticMessages": true, 4 | "maxParallelThreads": 1 5 | } 6 | -------------------------------------------------------------------------------- /test/Shared/EmptyCollections/EmptyTests.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | using Xunit; 5 | 6 | namespace Microsoft.Shared.Collections.Test; 7 | 8 | public class EmptyTests 9 | { 10 | [Fact] 11 | public void Basic() 12 | { 13 | Assert.Empty(Empty.ReadOnlyCollection()); 14 | Assert.Empty(Empty.ReadOnlyList()); 15 | Assert.Empty(Empty.Enumerable()); 16 | Assert.Empty(Empty.ReadOnlyDictionary()); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/Shared/ImageDataUri/dotnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotnet/extensions/af446a2ba95f8a551c0a574cf684f8f05cc5e205/test/Shared/ImageDataUri/dotnet.png -------------------------------------------------------------------------------- /test/Shared/Pools/TestResources/ITestClass.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Shared.Pools.Test.TestResources; 5 | 6 | public interface ITestClass 7 | { 8 | int ResetCalled { get; } 9 | string ReadMessage(); 10 | } 11 | -------------------------------------------------------------------------------- /test/Shared/Pools/TestResources/TestDependency.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | namespace Microsoft.Shared.Pools.Test.TestResources; 5 | 6 | public class TestDependency 7 | { 8 | public const string Message = "I'm here!"; 9 | 10 | #pragma warning disable CA1822 11 | public string ReadMessage() => Message; 12 | #pragma warning restore CA1822 13 | } 14 | -------------------------------------------------------------------------------- /test/TestUtilities/XUnit/ITestCondition.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | // Borrowed from https://github.com/dotnet/aspnetcore/blob/95ed45c67/src/Testing/src/xunit/ 5 | 6 | namespace Microsoft.TestUtilities; 7 | 8 | public interface ITestCondition 9 | { 10 | bool IsMet { get; } 11 | 12 | string SkipReason { get; } 13 | } 14 | -------------------------------------------------------------------------------- /test/TestUtilities/XUnit/OperatingSystems.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | // Borrowed from https://github.com/dotnet/aspnetcore/blob/95ed45c67/src/Testing/src/xunit/ 5 | 6 | using System; 7 | 8 | namespace Microsoft.TestUtilities; 9 | 10 | [Flags] 11 | public enum OperatingSystems 12 | { 13 | Linux = 1, 14 | MacOSX = 2, 15 | Windows = 4, 16 | } 17 | -------------------------------------------------------------------------------- /test/TestUtilities/XUnit/SkipTestException.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | 4 | // Borrowed from https://github.com/dotnet/aspnetcore/blob/95ed45c67/src/Testing/src/xunit/ 5 | 6 | using System; 7 | 8 | namespace Microsoft.TestUtilities; 9 | 10 | public class SkipTestException : Exception 11 | { 12 | public SkipTestException(string reason) 13 | : base(reason) 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /testEnvironments.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1", 3 | "environments": [ 4 | { 5 | "name": "WSL Ubuntu", 6 | "type": "wsl", 7 | "wslDistribution": "Ubuntu" 8 | } 9 | ] 10 | } 11 | --------------------------------------------------------------------------------