• C# Digest
  • Posts
  • Translating Exceptions into Problem Details Responses

Translating Exceptions into Problem Details Responses

Take a look at the newly introduced IExceptionHandler in ASP.NET Core 8

In this post, we'll take a look at the newly introduced IExceptionHandler in ASP.NET Core 8. We'll implement an exception handler that translates exceptions into Problem Details using the Problem Details Service. The result is a standardized and better experience for your API consumers.

FusionAuth provides flexible authentication which works in any environment. In this quickstart guide, you’ll learn how to build an application with C# and .NET and integrate it with FusionAuth in five easy steps. The hyper-versatile auth platform works seamlessly for server applications, SPAs, mobile apps, back-end services, and anywhere else you could ever need authentication.

By default, without additional configuration in .NET 8, ASP.NET Core apps listen on localhost:5000. In this post I show 8 different ways to change this URL.

Entity Framework Core 8 complex types to increase performance and reduce the number of tables

Our Vision for .NET 9
5 minutes by .NET Team

Learn about how we're improving .NET for all kinds of apps, with a special focus on cloud native, AI, and performance.

5 best practices to write better tests
7 minutes by Pierre Belin

In the digital age, where software permeates every facet of life, the significance of reliable code cannot be overstated. Imagine the chaos when a banking system falters, or the disruption when an e-commerce platform crashes. These scenarios underscore the critical role of testing in the software development lifecycle.

how did you like this issue?

Login or Subscribe to participate in polls.

newsletters

Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.