Archive for October 2009

Microsoft AJAX Library Preview 6 & DataView

Oct 17th, 2009 | By sankarsan | Category: Web Apps

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 this will be extremely useful and productive for ASP.NET developers who are [...]



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

Oct 4th, 2009 | By sankarsan | Category: Web Apps

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 validation.It has a constructor as shown [...]



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

Oct 3rd, 2009 | By sankarsan | Category: Web Apps

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 a Data Annotation(classes present in System.ComponentModel.DataAnnotations namespace) based  model validation.This makes use of attributes [...]



Coordination Data Structures – BlockingCollections

Oct 2nd, 2009 | By sankarsan | Category: Framework & Libraries

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 cater for the standard Producer/Consumer pattern.Producer/Consumer pattern is the [...]