Dapper.Net–StackOverflow’s Open Source ORM

 

This ORM is specialized in converting and mapping query result into a strongly typed List.

public static List<T> ExecuteMapperQuery<T>(this IDbConnection cnn, string sql, object param = null, SqlTransaction transaction = null) Example usage: public class Dog { public int? Age { get; set; } public Guid Id { get; set; } public […]

Hidden Secrets of C# Tip 1: Yield Return, Yield Break

If you ever wanted to return the generic collection of items from an method, what do you do? you may do like this..

public List<int> LoadEvenNumbers(){          List<int> items = new List<int>();          for(int i = 0; i<100;i++)          {                   if(i % 2 == 0) items.Add(i);                           }   }

But, there is […]

Visual Studio 2010 Service Pack 1 (SP1) Released..

The Beta version of the Visual Studio 2010 Service Pack 1 (SP1) is now available to download for all users.. http://go.microsoft.com/fwlink/?LinkId=207130

C#’s Greatest Mistakes by Jon Skeet

C# is a lovely language in many ways… but it’s not perfect. Mistakes made early in a language or platform’s development are often impossible to fix afterwards, so this talk isn’t a set of suggestions for the C# team. Instead it’s a reflection on what we might do if we had a time machine. Which […]

Orchard – .NET-based Free Open Source CMS application

Orchard is a free, open source, community-focused project aimed at delivering applications and reusable components on the ASP.NET platform.

The intended output of the Orchard project is three-fold:

Individual .NET-based applications that appeal to end-users, designers, developers, and Web professionals A set of re-usable components that makes it easy to build such applications A vibrant […]

Make Object ID – Visual Studio Debugger

“Make Object ID” is an option available with the Visual Studio Debugger to keep track of an object no matter it’s within scope or out of scope for the current context. We can create “Object ID” either from Locals, Autos or from Watch Windows. Object ID is a integer number followed by a pound (#) […]