Logging-in-.Net-Core-WebApi-using-NLog Custom Middleware Extension Method Custom Exception Global Error Handling