(Sajad Deyargaroo) ASP.NET MVC 2 supports server-side as well as client-side validation, out of the box. This validation is based on the DataAnnotations attributes, which can be easily implemented by decorating the model properties with the validation attributes.
Tag: Development
CPU Performance Counters in Visual Studio 2010 Profiler
(Maxim Goldin) While using Visual Studio Profiler either from Visual Studio UI or through command line tools, you may wish to collect more/different information using specific CPU Performance Counters. The collected data depends on the profiling mode. As usage of CPU Performance Counters considered
Cursors in C#
(Mahesh Chand) A cursor in Windows is an icon that is displayed when you move a mouse, pen, or trackball. Usually, a different cursor image is displayed for different activity. For instance, the default cursor is different than a wait cursor. Cursors may be different for different operating systems.
Coaxing the Calendar Control – Which should have been called the Date-Picker Control
(Joe Stagner) Sometimes you need to dig in a little to get things to work the way that you want.
Five Tips to Improve LINQ to SQL Performance
(Bart McDonough) Remember the old adage, “The greatest strength of the C language is also its greatest weakness?” It sounds like a paradox, but is absolutely true. The low-level nature of C would let you bend the rules of space and time to write a program, but if you asked to shoot yourself in the f
Using ViewModel information in an ASP.NET MVC 2 Editor or Display template
(Jon Galloway) Editor and Display templates are a great new feature in ASP.NET MVC 2. They allow you to define a template which will be used for any datatype you’d like, and they can be set per-controller or site-wide.
SortedSet Collection Class in .NET 4.0
(Samir NIGAM) .Net 4.0 provides us a new set collection in System.Collections.Generic, called SortedSet. SortedSet is a collection of unique elements and keeps the elements in sorted order implicitly. It is implemented using a self-balancing red-black tree that gives a performance complexity o
CreateObject() In ColdFusion 9 No Longer Requires The Type Parameter
(Ben Nadel) I can’t remember who told me this, but a while back, someone let me that the CreateObject() function in ColdFusion 9 no longer requires the “Type” argument to be passed in if you are creating a ColdFusion component. I’ve been wanting to test this for myself, but up until this last Friday
Config-free IHttpModule Registration
(Nikhil Kothari) The ASP.NET pipeline allows HTTP modules to plug in into the request processing lifecycle and do work at various stages. For example, output caching, authentication, authorization etc. are all implemented as HTTP modules.
Unit Test .NET Business Objects Using Nmock Library
(Tapas Pal) Writing unit script code for your complex business objects in a test-driven development environment really gets difficult, because business classes may have too many external dependencies (high coupling) on other objects. (R)
