Content Negotiation And .NET Core Web API Action Results
Generally, .NET Core web APIs accept request in JSON format and return the response in JSON format too. In this article, we will try to discuss more about how the…
Generally, .NET Core web APIs accept request in JSON format and return the response in JSON format too. In this article, we will try to discuss more about how the…
In previous article, we have seen what is distributed cache and we also had a look at distributed memory cache implementation. In this article, we will use the same demo…
In previous article, we have seen what is In-Memory cache and how it can be used in .NET Core web APIs. Let's have a look at distributed caching in this…
Caching is very common to make applications performant and scalable. If a result is already computed by the application, it is cached in a store so that next time when…
In previous article, we have seen how ResposneCacheAttribute can be placed on controller actions to emit appropriate HTTP headers which can instruct internet caches to cache the response. We also…
Now a days, systems are expected to be prompt. You click on something and immediately you want to see the result. But for web applications, designing performant applications might be…
In last article, we have seen what a model binding is and how validation attributes can be used with models to enable model validations. .NET provides validation attributes for almost…
We have seen how input parameters receive the data from incoming http requests. In this article, let's see what is model validation and how to specify (or trigger it). What…
Every .NET Core Web API controller has some Actions defined. Each Action is a public method which has some input parameters and each action has some return type. In previous…
ASP .NET Core provides a way to create RESTful services via .NET Core web API applications. Web APIs accept HTTP requests and return HTTP responses to the callers. Hence, it…
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…