AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware 1.0.0

dotnet add package AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware --version 1.0.0                
NuGet\Install-Package AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware --version 1.0.0                
#r "nuget: AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware as a Cake Addin
#addin nuget:?package=AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware&version=1.0.0

// Install AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware as a Cake Tool
#tool nuget:?package=AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware&version=1.0.0                

Add RouteDebuggingLogger to your AspNetCore app and behold in relieve as it explains to your Logger what routes AspNetCore.Mvc has identified.

public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
    if (env.IsDevelopment())
    {
        app
           .UseDeveloperExceptionPage()
           .UseMiddleware<RouteDebuggingLogger>();
    }
    app
       .UseMvcWithDefaultRoute()
       .UseComponentAsService()
       .UseKitchenSink();
}

Example output:

info: AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware.RouteDebuggingLogger[0]
      Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.ActionDescriptors.Version=0. Actions.Count=13
info: AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware.RouteDebuggingLogger[0]
      Action: Example.AspNetCore.Empty.HomeController.Index (Example.AspNetCore.Minimal) Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor
      Constraints: null
      AttributeRouteInfo : 
      BoundProperties : []
      FilterDescriptors : [{"FilterType":"Microsoft.AspNetCore.Mvc.Internal.ControllerActionFilter","Order":-2147483648,"Scope":20},{"FilterType":"Microsoft.AspNetCore.Mvc.ViewFeatures.SaveTempDataAttribute","Order":-2147483548,"Scope":10},{"FilterType":"Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter","Order":0,"Scope":10}]
      Parameters : []
      Properties : {}
      RouteValues : {"action":"Index","controller":"Home"}
      Cumulative timing in milliseconds to inspect and format each attribute: Name:0, Constraints:23, AttributeRouteInfo:23, BoundProperties:41, FilterDescriptors:60, Parameters:63, Properties:67, RouteValues:69

... etc ...

Set RouteDebuggingLogger.LogLevel if you must change the LogLevel.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on AspNetCore.Mvc.Routes.DebuggingLoggerMiddleware:

Package Downloads
CoreResult

Package Description

Not

A simple and light library for .Net developers to apply Not on some variables :)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 27,980 11/4/2018

ChangeLog
     --------
     1.0.0.0 Part of Component.As.Service