Visual Studio 2008 : How to add Visualizer for LINQ
There are two very important visualizers for LINQ which are not part of default installation.
The visualizers are
Ø ExpressionTree Visualizer
Ø SqlServerQuery Visualizer
Both the visualizers are available from
Visual Basic
Samples for Visual Studio 2008 Beta 2
Visual C#
LINQ and language samples for Visual Studio 2008 Beta 2
Once you install them you will find the ExpressionTree Visualizer and SqlServerQuery Visualizer under
..My Documents\Visual Studio Samples\LinqSamples\
ExpressionTreeVisualizer\ExpressionTreeVisualizer
..My Documents\Visual Studio Samples\LinqSamples
\QueryVisualizer\SqlServerQueryVisualizer
If you open the *.proj from these two folders and compile them you will get two dlls
Ø ExpressionTreeVisualizer.dll
Ø LinqToSqlQueryVisualizer.dll
Under bin\debug or bin\release folder depending on the type of build you select. Now copy both the dlls and drop them to the folder located under My Documents
..My Documents\Visual Studio 2008\Visualizers
Once it is there, and you are in the debug mode inside your visual studio 2008 these two options will come respectively.
View of LinqToSqlQuery Viauslizer
Now click on the "Linq to SQL Debugger Visualizer" button,
View of ExpressionTree Viauslizer
Now click on the "Expression Tree Visualizer" button,
Namoskar!!!
Comments
Anonymous
October 05, 2007
PingBack from http://www.artofbam.com/wordpress/?p=5488Anonymous
October 19, 2007
Visualizers aggiuntivi per LINQAnonymous
November 05, 2007
Welcome to the thirty-fifth edition of Community Convergence. This week we have an interview with C#Anonymous
July 30, 2008
Does stupidly not work with web apps...Anonymous
July 14, 2009
Hi . I tried with the visualizer using VS 2008 Pro. It didn't work. Here is the code sample I tried with String[] sc = { "apple", "pie", "mango" }; var s = from str in sc where str.Contains("a") select str;Anonymous
September 10, 2009
Hi, If you want to visualize Linq to Entity (EDMX), try the free visualizer at http://www.rajavenkatesh.com/projects Regards RVAnonymous
September 26, 2009
Sorry if that link did not work. The correct one is http://www.rajavenkatesh.com/projects.aspx Regards RV