Migrating the elmah.io API to ASP.NET Core