Class WebApplicationBuilderExtension
Inherited Members
Namespace: Coree.NETASP.Extensions.WebApplicationBuilderExtensions
Assembly: Coree.NETASP.dll
Syntax
public static class WebApplicationBuilderExtension
Methods
| Edit this page View SourceDumpAspNetCoreConfiguration(WebApplicationBuilder)
Dumps the configuration settings of the ASP.NET Core application to the console. This includes host filtering, Kestrel server options, CORS policies, authentication schemes, and cookie policy settings.
Declaration
public static void DumpAspNetCoreConfiguration(this WebApplicationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
WebApplicationBuilder | builder | The WebApplicationBuilder used to configure the application. |
Remarks
Use this method to quickly visualize configuration values during development. Note: This method should be called only in a debug build due to performance considerations and the potential sensitivity of the configuration data.