Author Archives: codingn825design

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

A Deeper Look Into Javascript – Part I

Javascript has been around since the early days of Web and is already embedded into the millions of web pages for performing client(browser) side actions.But because of some reason it was never taken too seriously in the initial days compared … Continue reading

Posted in Programming & Languages | Leave a comment

Microsoft AJAX Library Preview 6 & DataView

Yesterday I came to know about Microsoft AJAX Library Preview 6 from Scott Guthrie’s post.I have not taken look into this library earlier.The rich set of JavaScript API looked very impressive to me.I became a fan of DataView control very quickly.I am sure … Continue reading

Posted in Web App | Leave a comment

ModelValidator in ASP.NET MVC 2 Preview 2 – Part 2

In my last post we have discussed about the ModelMetaData and related classes along with a sample code.In this post we will discuss about ModelValidator and ModelValidatorProvider and extend the sample library. ModelValidator – This is the abstract base class and implemented by custom validators to perform the model … Continue reading

Posted in Web App | Leave a comment

ModelValidator in ASP.NET MVC 2 Preview 2 – Part 1

While going through the new features of ASP.NET MVC 2 Preview 2, one feature seemed quite interesting to me.There are a set of classes, using which we can build a custom validation framework for the model.ASP.NET MVC framework by default provides … Continue reading

Posted in Web App | Leave a comment