Compile your .Net (C#) Code online!

compilify.net is an interactive web interface for the .NET compiler powered by the Roslyn Project. It allows you to quickly and easily execute snippets of C# code from your browser.

You can use compilify.net to learn C#, share and test code, reproduce bugs, explore fixes, and to demonstrate and collaborate on ideas. It’s [...]

How to create / deploy custom check in policy in TFS 2010

This is excellent article to explain about how to create and deploy custom check in policy in TFS 2010.

http://blogs.msdn.com/b/jimlamb/archive/2010/03/31/how-to-implement-package-and-deploy-custom-check-in-policy-for-tfs-2010.aspx

DDD NLayered .NET 4.0 Architecture Guide

Guide/eBook – 1st Edition PDF y Ebook Readers (Kindle .mobi y epub) 

• Download the ‘Domain Oriented NLayered .NET 4.0 Architecture Guide’

Formats:

DDD_NLayered_NET40_Architecture_Guide_Microsoft.zip

Architecture Sample Application (NLayerApp V1 .0) .NET4 Core, Windows Server AppFabric and Windows Azure flavors | Silverlight, WPF, ASP.NET MVC clients

• Download the Sample Application (Published at [...]

Design Patterns Bootcamp: Model View * Patterns

Model View * Patterns… What are they? Model View Controller (MVC) Model View Presenter (MVP) Passive View Supervising Controller

The main drawback to these patterns is usually the learning curve… this show will hopefully remove that barrier-to-entry. The first on the scene and primary pattern to all each involved is the Model View Controller. This [...]

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 string [...]

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 better [...]

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

linq.js – LINQ for JavaScript

Linq.Js : Complete implementation of Linq for Javascript.

Features

implement all .NET 4.0 methods and many extra methods (inspiration from Rx, Achiral, Haskell, Ruby, etc…) complete lazy evaluation full IntelliSense support for VisualStudio two versions – linq.js and jquery.linq.js (jQuery plugin) support Windows Script Host binding for Reactive Extensions for JavaScript(RxJS) and IntelliSense Generator -> [...]

O4G DAILY LINKS 2010-12-16

Introducing Razor

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 [...]