Category Archives: Framework & Libraries

NCover Code Quality Metrics

Code Coverage Analysis is very crucial to writing better code and improving quality of software applications.Code Coverage Analysis Tools helps us in automated analysis of code and pinpoints the untested lines of code or areas which has become extremely complex and … Continue reading

Posted in Framework & Libraries | Leave a comment

Code Contract in .NET

Code Contracts is Microsoft’s implementation of Design by Contract(DbC) philosophy.It has been released as a MSDN Dev Labs project and will be a part of .NET Framework 4.0 hence present in VS 2010 Beta 1.Before getting into details of Code Contracts let us quickly … Continue reading

Posted in Framework & Libraries | Leave a comment

Parallel Computing in .NET 4.0 – Overview

In the last 20-30 years we have seen a tremendous growth in processing power where the average speed of the processor has increased year by year.But over the last couple of years we are observing a shift in this trend.Instead … Continue reading

Posted in Framework & Libraries | Leave a comment

Coordination Data Structures – BlockingCollections

In my last post about Parallel Extensions in .NET I had mentioned about the Coordination Data Structure(CDS) , the new set of thread safe collections that are introduced in the System.Collections.Concurrent namespace.In this post we will discuss about the new BlockingCollection<T> class which is introduced to … Continue reading

Posted in Framework & Libraries | Leave a comment

Parallel For Loop

In my earlier post on Parallel Programming I have explained about Task and Data Parallelism.In this post we will go into a little more deep into the API and discuss about Parallel For loop in .NET Framework 4.0.The static method For of class System.Threading.Tasks.Parallel class allows … Continue reading

Posted in Framework & Libraries | Leave a comment

Parallel For Loop : Break Or Stop

In my last post I had discussed about Parallel For loops and in what situation it can be useful compared to a sequential loop.In this post we will take a look at how to break or exit from a Parallel … Continue reading

Posted in Framework & Libraries | Leave a comment