net9.0
namespace Microsoft.AspNetCore.Diagnostics.Logging
{
    [Experimental("EXTEXP0013", UrlFormat = "https://aka.ms/dotnet-extensions-warnings/{0}")]
    public class LoggingRedactionOptions
    {
        [Required]
        public IDictionary<string!, DataClassification>! ResponseHeadersDataClasses { get; set; }
    }
}
.NET 8.09.0
Information specific to net9.0
Assemblies

Microsoft.AspNetCore.Diagnostics.Middleware , Version=9.1.0.0, PublicKeyToken=31bf3856ad364e35

Microsoft.AspNetCore.Diagnostics.Middleware , Version=8.10.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.AspNetCore.Diagnostics.Middleware.

Package Microsoft.AspNetCore.Diagnostics.Middleware (9.1.0-preview.1.24557.5) net9.0
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API

11/08/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙