.NET tricks

When we write unit or integrations tests we need to load some data files. In the following article we describe an approach when such data files are stored right with your testing project as embedded resources.

read more...
2018-06-02

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 EasyQuery

EasyQuery is a multi-platform solution that lets you embedding ad-hoc reporting or advanced search functionality to your application