Archive for the ‘linq’ Category.

Expression Trees-Lambdas to CodeDom Conversion

Introduction
Some people are working to make the meta-programming possible. Some says as language oriented programming or domain specific language, but I prefer in general as meta-programming. For years programming languages supported to generate code with the powerful libraries or developers worked just with string concatenations and external linkers.
Nowadays meta-programming is getting more and more important […]

RSS Feed Parser in 20 Lines with .NET LINQ

RSS is becoming more and more the face of web. I rarely visit the sites rather visit a bunch of them using an RSS reader. I was working with RSS data and realized how LINQ to XML made easier, elegant  and terse to manipulate XML data. Here is a very naive RSS  parser from RSS […]

LINQ and XLINQ with Visual Basic Literals

I really liked the XML expressiveness of Visual Basic, let’s build a very simple MSN History Search Engine using LINQ and XML Literals in Visual Basic.
The best thing is those literals could be used in LINQ expressions. Remember the simple XML file that MSN stores as a history.

.@AttributeName : Accesses the attribute element in XML
.<ElementName> […]

C# 3.0 vs. VB 9.0 and XML in the Language

Here is the summary of new language features as mentioned on the “What’s new on ORCAS

C# 3.0 Language Support: This CTP implements all of the C#3.0 language features from the May LINQ CTP including:

Query Expressions

Object and Collection Initializers

Extension Methods

Local Variable Type Inference and Anonymous Types

Lambdas bound to Delegates and Expression trees

Complete design-time support: Intellisense, Formatting, […]