-
Software Development
Why TCP is evil and HTTP is king
Nitpicker corner: If you tell me that HTTP is built on TCP I’ll agree, then point out that this is…
Read More » -
Software Development
Implementing LRU cache
In my last post I mentioned that checking whatever a user is an administrator or not using Active Directory query…
Read More » -
Software Development
A bad test
This is a bad test, because what it does is ensuring that something does not works. I just finished implementing…
Read More » -
.NET
RavenDB Sharding – Map/Reduce in a cluster
In my previous post, I introduced RavenDB Sharding and discussed how we can use sharding in RavenDB. We discussed both…
Read More » -
Software Development
When using the Task Parallel Library, Wait() is a BAD warning sign
Take a look at the following code: public static Task ParseAsync(IPartialDataAccess source, IPartialDataAccess seed, Stream output, IEnumerable<RdcNeed> needList){ return Task.Factory.StartNew(()…
Read More » -
Software Development
Your ATM doesn’t use transactions
I just got a series of SMSes from my back, saying that someone just made several withdrawals from my account.…
Read More » -
Software Development
Limit your abstractions: Refactoring toward reduced abstractions
So in my previous post I spoke about this code and the complexity behind it: public class CargoAdminController : BaseController{…
Read More » -
Software Development
Structuring your Unit Tests, why?
I am a strong believer in automated unit tests. And I read this post by Phil Haack with part amusement…
Read More » -
.NET
Async tests in Silverlight
One of the things that we do is build a lot of stuff in Silverlight, usually, those things are either…
Read More » -
.NET
Beware of big Task Parallel Library Operations
Take a look at the following code: class Program{ static void Main() { var list = Enumerable.Range(0, 10 * 1000).ToList();…
Read More »