https://medium.com/@devleaderca/ultimate-starter-guide-to-middleware-in-asp-net-core-everything-you-need-to-know-adf84640af18