Matthew Johnson: VS2010 and Windows Management…including XAML use
Happy to see more great detail from the VS team about how they have used WPF and XAML in the building of VS2010.
Matthew writes in great detail about the windowing system with: “WPF in VS 2010 – Part 5: Window Management”. As part of that, he details that the Windows state data is saved to XAML. VS ended up writing what you could call a specialized implementation of XamlServices.Load() and .Save(). They did this work before .NET 4 beta2’s work in XamlSchemaContext subclassibility work.
If this work was to be redone, it would be an option to use XamlServices.Load() and .Save() with a custom XamlSchemaContext that would avoid reflection…similar to the way that our XamlReader.GetWpfSchemaContext() implements.
Other vocabularies
There are other formats (XAML Vocabularies) that .NET 4 or VS 2010 have introduced, which we’ll get into more detail over time: VS MEF Catalog, msbuild properties, window management location, WF, WCF, and of course WPF.