Web API Versioning in ASP.NET Core – Detailed Guide

Web API versioning though being one of the important features mostly goes ignored when building a Web API application. Web API versioning in ASP.NET Core is simple and easy to implement. In this article, we will look at what is Web API versioning along with why it is needed and how to achieve versioning in […]

ASP.NET Core Hosting on IIS on Windows

This article will provide details about how to deploy ASP.NET Core web application or Web API on IIS. .NET Core 2.2 onwards there were significant changes in the hosting model to IIS. Prior to .NET Core 2.2 only option available was to use IIS as a reverse proxy to ASP.NET Core Kestrel web server. With […]

Configuring multiple ASP.NET Core hosting environment

The hosting environment is used to indicate at runtime on which environment an ASP.NET Core application is running. There can be multiple values for ASP.NET Core Hosting Environment and it can be set any single value. Framework provided environments are Development, Staging & Production but you can specify your own values as well i.e. Testing, […]

ASP.NET Core Bundling & Minification – Detailed Explanation

Bundling & Minification are two distinct techniques that can be used to improve page load performance for web applications. In ASP.NET Core bundling & minification is not available by default and needs to be implemented for a web application. In ASP.NET Core web apps client-side resources (.js & .css files) can be bundled and minified […]

Top 12 ASP.NET Core libraries for developers

Many developers when they start working on ASP.NET Core they have the decision to make like which libraries are they going to use to get the code done. A list of Top 12 ASP.NET Core Libraries will allow developers to understand these so that they can pick appropriate libraries for their projects. Now really libraries […]

ASP.NET Core Exception Middleware

Handling errors is one of the most important aspect of any application. ASP.NET Core Exception Middleware provides an option to implement global exception handling logic. ASP.NET Core has provided try, catch & finally block for exceptions handling. Instead of implementing these blocks in all the methods it is better to implement a global exception handler. […]

ASP.NET Core Logging with Serilog

ASP.NET Core has built-in logging API that supports a wide variety of logging providers. ASP.NET Core logging needs to be configured before using it in your application. It even supports non-built-in third party log providers. Logging with serilog provides structured logging which makes it easier to be read by programs. Logging providers works by storing […]

Polymorphism detailed explanation with C# .NET (OOP Concept)

Polymorphism is one of the important building blocks in object-oriented programming. Poly means many and morph means forms i.e. many forms of an object. It means design by interface i.e. many classes implementing the same interface to provide the same services but each class has its own implementation of those services. Polymorphism occurs when a […]

ASP.NET Core Caching Implementation

Caching is a technique in which frequently used data is added to some memory that makes a request to this data faster as there is no need to fetch this data from the database for each request. ASP.NET Core caching provides support for several different types of Caches like in-memory cache, distributed cache, and response […]

OOP Concept – Encapsulation in C# .NET

Encapsulation is one of the important building blocks in object-oriented programming. It is a mechanism in which data and code which manipulate this data are enclosed into a single unit. This unit can be a class in c# which allows the developer to hide data by making variables inaccessible outside class and providing functions, which […]