Web API Error Handling: How To Make Debugging Easier

Sylvia Fronczak Developer Tips, Tricks & Resources

 Whether you’re the consumer or producer of an API, you’ve no doubt seen that good error handling can make debugging easier. And you may have noticed that error handling works best when everyone speaks the same language and has the same expectations. But what makes for good error handling? And how can we implement it and ensure consistency across our …

Microsoft.Extensions.Logging

How to Use LoggerFactory and Microsoft.Extensions.Logging for .NET Core Logging With C#

Matt Watson Developer Tips, Tricks & Resources

If you have used .NET Core, you have probably battled with the new built-in .NET Core LoggerFactory which is in Microsoft.Extensions.Logging. It has created a lot of confusion around logging with ASP.NET Core. At Stackify, we have logging integrations for log4net, NLog, Serilog, and our direct API. We have a lot of experience with building logging appenders and libraries to work with various …