Listing all routes in ASP.NET Core application

It is pretty simple to list all routes configured in your ASP.NET Core application: Add Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider parameter to your Startup.Configure method. If you have not done so already also add the ILogger<Startup> parameter to Startup.Configure as well Loop through all action descriptor items in the IActionDescriptorCollectionProvider and display the log information Here is an example …

Read More

OP.XmlPrettifier

Background In my recent project I had automatically generated XML log files which were pretty condensed to preserve space. Parsing them with an application is not a problem but sometimes I needed to read them and this cause issues since it was nearly impossible to read it with Notepad++. There are some online Xml beautifiers …

Read More