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

What’s new in Visual Studio 2022?

Visual Studio 2022

Visual Studio 2022 was announced, so I decided to install it to see the new features. The first Visual Studio 64-bit Until this year, Visual Studio only supported the 32-bit variant. A 32-bit process can only take up 2 GB of memory. This was a major limitation for Visual Studio. One small problem with this feature, by the community, which … Read more

ASP.NET Core Parameter Validation

ASP.NET Core Model Validation

In ASP.NET, you can validate your models by applying data annotations on the properties of the class. For example, Required and BindRequired are the most commonly used validations. There are several ways to validate the values sent by users. The most commonly used methods are the validation attributes and the FluentValidation library. Data annotations You decorate your properties with the … Read more