AVIF image format in ASP.NET Core

AVIF Image Format

AVIF is a new image format that is similar to WebP. It offers better compression and more quality per byte. Big websites like Netflix use it to show images to users. Currently, AVIF is only supported by some browsers, but that will change in the near future. Why use the AVIF format? Using image formats like WebP and AVIF increases … Read more

MiniProfiler – ASP.NET Core and Entity Framework Profiler

MiniProfiler - ASP.NET Profiler

Whenever I create a new ASP.NET website, MiniProfiler is one of the first NuGet packages that I download. MiniProfiler is like Dapper, a library offered by StackExchange, the owner of StackOverflow. This library gives me insights into how much time it takes to make a request. It shows you the trace of the execution thread and other insights that can … Read more

Enable Hot Reload in Visual Studio 2022

Hot Reload

Hot Reload is one of the coolest features of the newly released Visual Studio 2022. It enables to apply code changes in debug mode or while is running without rebuilding the application. For me, this is a huge time saver. When I modify a windows forms application, I hit ALT+F10(hot reload shortcut) and my application has been modified. You can … Read more

7 steps to increase your ASP.NET website performance

ASP.NET Core Performance

The performance of a website is one of the most important things that will improve your SEO ranking and the number of visitors. There are many studies that show how improved website speed leads to more visitors and ultimately more money. ASP.NET Core is a good choice to create a fast website, but there are some things that can take … Read more

File Scoped Namespaces and Global Usings

C# 10 File-scoped namespaces and Global usings

Dotnet 6 and Visual Studio 2022 are released and ready for production. This means that the new C# 10 is available. Two of the most important features of the new C# are file scoped namespaces and global usings. These two features were introduced to save more space in the source code and help programmers write less code. File Scoped Namespace … Read more