In many applications, there might be a situation where it is required to map different types of objects. Many a times applications don’t expose the actual database entity to the world. It always prefers to give the Data Transfer Object (DTO) rather than the actual object. Also while writing some business logic there may be… Continue reading How to Assign Values from One Object to Another Dynamically in C#

When working in a local development environment it becomes tricky maintaining database connection strings. Every developer in the team usually has his or her own SQL instance and hence the connection strings are different. It becomes tedious and error-prone especially when configuration files are checked in with local connection strings by mistake. To resolve this… Continue reading How to configure an alias for SQL Server Instance