.NET tricks

Implementing Linux 'su' command in your ASP.NET Core web-app

read more...

When you migrate your project from ASP.NET MVC version 4 or earlier you may want to allow the users of your web application to log in with their current passwords without the necessity to reset the password or re-register. This article describes how to process the password hashes created in old ASP.NET Membership library.

read more...

By default, ASP.NET Core Identity has very strong password policies for the users. This is not always convenient, especially during development and testing. Here we will describe how to configure those policies to make it possible to use even simple and "weak" passwords while your application is not in production mode.

read more...

By default, ASP.NET Identity allows you to get from the claims only the login (username) of the current user. We are going to describe here how to store there any other information (e.g. first/last name of the user) and how to get stored information in the views.

read more...

Different tips and tricks for C# / .NET programmers

Supported by

We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.