Monthly Archives: December 2012
New Year Wishes from CodeSpread Team
Welcome to CodeSpread!CodeSpread Team is enjoying, partying and wishing a very happy new year to all of our users,readers and friends.

C# – Box(ing) and Un-box(ing)
I have heard this concept from many people and their different versions so I always wanted to share some insight on it which can work as a one stop solution. What is boxing and un-boxing? The Conversion of a value type into reference type is boxing and the reverse process is un-boxing. What is Value…..

Freeze Business Logic Layer.
We regularly work on three-layer architecture for application development and always use some standard data layer and UI layer guidelines for design but what we always ignore is business logic layer. The reason behind maybe we are not comfortable in designing something which has no limits and no boundaries defined. If I share my experience;…..

Try one ORM: Entity Framework
As promised in the last article, We are going to share our experience of Entity Framework Ver 4.1. First of all, we have to add and configure Entity Framework in visual studio. We are going to use “NuGet” manager. Steps to check whether “NuGet” manager is already installed. 1)Open Visual Studio 2010, Go to Tools…..

Magic Wand: Object-relational mapping
As a developer, we are always looking for reusable components which can ease our life and I can suggest ORM as the developer’s magic wand because it wipes off the overhead of dealing directly with the database and encourages OOP way of data operations. What is Object-relational mapping? Wikipedia says “Object-relational mapping (ORM, O/RM, and…..

Why do we validate?
I know people will fight to prove validation is required,validation is good and blah blah……. But when some proof is asked , nobody was able to convince me.Few answers- More control over datatype. More control over expressions entered. Correct data stored. The most funny answer that i heard was “I did it in past projects…..









