26 Jan
2012

SqlBulkCopy for Generic List<T> (useful for Entity Framework & NHibernate)

A common complaint of the Entity Framework is slow insert times for larger datasets. Last night I was trying to insert a catalog of 15k products and it was taking a very long time (I gave up after 5 minutes). I recalled this post a while back from Mikael Eliasson demonstrating SqlBulkCopy using .NET. I […]

Read More
26 Jan
2012

NuGet Project Uncovered: Anna

Category:UncategorizedTag: :

If you are coming to this series of posts for the first time you might check out my introductory post for a little context. Anna is an event-driven HTTP server library leveraging the ReactiveExtensions (RX). The below sample copied / shortened from the GitHub site. using (var server = new HttpServer("http://*:1234/")) { // simple basic […]

Read More