Project Codify

A blog about ASP.Net, ASP.Net Core, C#, Angular, React and related stuff.

Using AutoMapper in ASP.Net Core

AutoMapper is a convention based object-object mapper. It maps two different entities by transforming an input object of one type to an output object of another type. In this post, we will setup Automapper in ASP.Net core project.

How to make String.Contains case insensitive?

The string.Contains method returns a value indicating whether a specified string occurs within this string, but it is case sensitive. And there is no StringComparison version of string.Contains method available to use for case insensitive. E.g. Running following lines of code&nbs