geekSpeak recording: Inside LINQ to XML with Paul Sheriff
- Posted: May 29, 2008 at 3:07PM
- 9,637 views
- 1 comment
Loading user information from Channel 9
Something went wrong getting user information from Channel 9
Loading user information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
In this geekSpeak, Paul Sheriff focuses on LINQ to XML and reveals lots of tips for getting up to speed with it. We loved seeing the new techniques for building XML documents using the XDocument type that are tremendous time savers. He helps us understand what is LINQ, what’s LINQ to XML, and what are the new XML handling capabilities of VB and C#. He shows a nice example of LINQ to SQL output with XML literals interleaved, as well as an actual LINQ to XML query that comes back with (surprise) XML.
Paul also addresses some of the why, where and when XML, which is something many of us face. He shows us how he uses XML for prototyping very quickly. Also Paul shares some simple yet great techniques he uses to keep his team members up to date on skills.
Other tips range from how to get Intellisense in XML in your project to working with aggregates to what the heck the SingleOrDefault method does. Are you an XPath guru? Watch Paul’s tips on incorporating XPath queries into LINQ to XML as a transitional approach.
Some fun moments on the show are Paul slipping in a COBOL .NET reference, and his explanation as to why he's glad he took an “anti-Glen” pill that morning.
Finally, Paul has a great freebie he’s making available for geekSpeak fans, so listen out for the URL he shares.
About our guest: Paul Sheriff, President, PDSA, Inc.
Paul Sheriff is the president of PDSA, Inc., a Microsoft Certified Partner in Southern California. Paul acts as the Microsoft Regional Director for Southern California assisting the local Microsoft offices with several of their events each year and being
an evangelist for them. He has authored several books, webcasts, videos, and articles on the Microsoft .NET Framework, Microsoft SQL Server, and Windows SharePoint Services. Paul can be reached via