VB 2008 Language Deep Dive – Presentation Materials (Jonathan Aneja)


Last week I got the chance to visit the Toronto .NET User Group and give a talk on all the great new language features in VB2008.  It was great to see so much excitement around LINQ and especially XML Literals!


The slides and demo code are posted at the link below; here’s the session abstract (with links inserted so you can find more info on each topic):


Language Integrated Query (LINQ) is a new platform feature in Visual Studio 2008 that allows you to access objects, databases, and XML through a common query syntax (in both VB and C#).  In this talk, we’ll take a deep dive into the language features that LINQ uses internally to process your query, and see how they can be used in your own code.  Topics we’ll cover include:

– Query expressions
– XML Literals
– Type Inference
– Anonymous Types
– Extension Methods
– Lambda expressions
– Closures
– Expression Trees
– Partial Methods
– Relaxed Delegates
– Performance/Deferred Execution
– LINQ to Dataset
– Dynamically constructing a LINQ query

We’ll also look at some of the cool new IDE features as well as free add-ons such as Refactor! which can greatly improve your day-to-day productivity.  If you want to learn what makes VB the most powerful language for working with data then come on out!



Some of the resources mentioned on the last slide:

          VB Team blog (well, you’re already here J)

          Paul Vick’s blog (http://panopticoncentral.net)

          Beth Massi’s blog (http://blogs.msdn.com/bethmassi)

          MSDN VBasic site (http://msdn.com/vbasic)


For those of you who were asking about dynamically constructing LINQ queries at runtime, you can find more information on that here and here.


There were a ton of great questions from the audience so I’ll probably post an FAQ sometime next week.  In the meantime don’t forget to download VS2008 SP1, which allows you to use LINQ against SQL Server 2008.



Leave a comment

Feedback usabilla icon