Visual Basic Blog

A group blog from members of the VB team

VB XML Cookbook, Recipe 4: Get Inner XML from the Nodes Property (Doug Rothaus)

Recipe 3 showed one way to work with mixed XML content using the XML Descendant axis property and the ReplaceWith method. This is one way to do an identity transform and we’ll look at another method in a later post. There is a key capability not mentioned in Recipe 3 that you will need for fully-functioning identity transforms. That is ...

VB XML Cookbook, Recipe 3: Identity Transforms (Doug Rothaus)

An identity transform in XSLT does just what the name implies: replace the identity of an element or attribute with a new identity. Identity transforms are especially critical when dealing with XML markup that is less rigid in its structure. Consider a documentation structure for news articles. Whenever a title is referred to within an article...

VSLive San Francisco Content (Amanda Silver)

All - I'm about to go on for my LINQ Deep Dive and Tips &Tricks session at VSLive in San Francisco. I posted all demos & slides here:https://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=LaunchVB&ReleaseId=805...

Milestone Quality & Dogfooding (Matt Gertz)

After some hard but fruitful work, we’ve just finished our “milestone quality” (MQ) efforts, the goal of which was to get ourselves ready for developing the next versions of Visual Studio, Team System, and .NET.  Although not specific to Visual Basic, I’ve opted to use this “bully pulpit” to let you ...

LINQ to SQL (and LINQ to Entities) performance improvements (Tim Ng)

Over the last few months, the VB and Data Programmability teams were working on fixing a performance problem with LINQ to SQL (which also manifested in LINQ to Entities). The issue was that LINQ to SQL was generating sub optimal T-SQL queries when the VB LINQ queries included filters over nullable columns. For example, consider the following ...

Recap of European Launch Events for Visual Studio 2008 (Amanda Silver)

Last week I had the privilege of speaking in Lisbon, Portugal & Birmingham, England at launch events for Visual Studio 2008. There seemed to be a lot of buzz and excitement in the air at both events -- no doubt due to the recent release of Visual Studio. TechDays, Portugal The TechDays event is similar to TechEd in that it's a four-day ...

STAThread vs. MTAThread (WHorst)

I recently ran into an interesting threading problem that I wanted to share, so that perhaps I can save some people from the same confusion I had. I started with a C# application someone else had written.  I’ll call it “DeltaEngine” for the purpose of this post.  DeltaEngine calls into a native assembly and ...

New "How Do I" Videos Available on the Visual Basic Developer Center (Beth Massi)

If you missed it, last week 48 new How Do I videos (Forms over data, Windows development, Office development and Security) were added to the Visual Basic Developer Center in addition to adding new download formats for 12 others. Many thanks to Rob Windsor, Pat Tormey and Steve Hansen for doing these videos.In addition to these I also...