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

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 […]

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 […]