Friday, November 28, 2008

Visual LINQ Query Builder

For the beginners writing LINQ queries is not so easy as it is a different way of writing .net code. It need lot of practice and developers need to remember the syntax of the query like which statement comes first and which one next also the operators that needs to be used. There is free tool available which will work as an add- in to visual studio 2008 IDE that will help you visually build LINQ to SQL queries.

Visit http://code.msdn.microsoft.com/vlinq to learn more about this tool.

Namastee !

LINQ : IEnumerable and IQueryable

IEnumerable and IQueryable are the two most used interfaces in . What I am trying to do here is that I am trying to differentiate the two interfaces depending on their behavior. In LINQ we generally have few providers available within .NET Framework, like LINQ to Object, LINQ to SQL, LINQ to XML.

All the LINQ query statement returns an object of type IEnumerable.This holds good for LINQ to Object and LINQ to XML.But LINQ to SQL is something different as the query statement will be convered toa SQL statement internally while execution.So LINQ to SQL queries return object of type IQueryable which is again inherited from IEnumerable.

To check what are the different methods and properties this interface have, visit the following URL.
http://msdn.microsoft.com/en-us/library/system.linq.iqueryable_members.aspx

Namastee !

Tuesday, November 18, 2008

Pragmatic Programmer, The: From Journeyman to Master

For all my developer friends I have book recommendation.

“Pragmatic Programmer, the: From Journeyman to Master” by Andrew Hunt David Thomas.
It’s a very nice book which covers everything that you need to know to become a good programmer. Authors explained each Tip extensively with short stories which really helps in understanding the importance of the Tip. It is not a technical book; it explains what a programmer should do besides talk in programming languages.

Namastee!

Thursday, November 13, 2008

Framework Design Studio

Framework Design Studio is a nice free tool that can be used by Architect/Designer/Developers to compare two versions of the .NET Assembly and check the differences.

It has following features.
  • Listing APIs exposed from a managed code assembly
  • Comparing APIs in two versions of an assembly
  • Reviewing APIs, commenting on API design, and filing review bugs to a defect database (through a configurable plug-in)
  • Exporting API review comments to a Microsoft Word document

You can download this tool from http://code.msdn.microsoft.com/fds


Namastee!