Developer Exception Page in ASP .NET Core Web API
In previous article, we have seen three different ways to handle exceptions in .NET core web API applications. When a new ASP .NET Core web API project is created, the…
In previous article, we have seen three different ways to handle exceptions in .NET core web API applications. When a new ASP .NET Core web API project is created, the…
Exceptions and Exception handling is one important aspect of application development, application monitoring. In this application, let's try to understand different ways to handle exceptions in an ASP .NET Core…
In previous post, we have seen different ways to apply routing in an ASP .NET Core web application. In this post, let's talk more about how routing can be configured…
In this article, we are going to see three different ways to setup routing in ASP .NET Core web application. Route Templates Let's switch back to basic code sample. The…
In last article, we have seen that there are two middlewares - UseRouting and UseEndpoints - to enable ASP .NET Core web application. We briefly saw what is responsibility of…
There are various types of ASP .NET Core web applications, including MVC application, Razor Pages application, Signal R application, Web API application, and even gRPC service application. These web applications…
In this short article, let's have a look at a simple middleware to propagate the request headers. Why ? Application might be interacting with many backend APIs using HttpClient instances.…
In last few articles, we have been looking at how HttpClient can be used in .NET applications. We already know that creating new HttpClient instance for every request is not…
In last article, we have seen how a named HttpClient instance can be useful. It allows to keep all configurations at single place. These configurations are associated with a name.…
In last article, we have seen a basic example showing how http client middleware can be used to create an HttpClient instance using IHttpClientFactory. In this article, we will see…
In .NET applications, HttpClient is very well known class, and it is used for making HTTP requests from C# code. In this article, we will have a look HttpClient class…
In this article, let's have look at two middlewares - one for enabling directory browsing while the other for combining functionality of 3 middlewares into single one. Directory Browser Middleware…