VSTO performance tips

If you are writing a VSTO customization – make sure you aware of this performance tip courtesy of Steve Peters – developer on the VSTO team. This tip allows to prevent VSTO runtime from reflecting on your entry point assembly. We see considerable startup improvements especially for add-ins that have WPF controls – because reflecting…

0

Oh, that mysteriously broken VisibleSlicerItemsList

Excel 2010 has a new feature called Slicers and a bunch of new methods and objects associated with slicers (I actually am not an expert on Slicers themselves and still need to understand what they are for and how they operate but this leads me to my next point). And there is a SlicerCache object …

4

COM Shim Wizards for VS 2010

About a month ago I wrote a post on compiling the COM shim for 64-bit where I was hoping to have a version of COM Shim Wizards working with Visual Studio 2010. Today I am announcing the coming out of COM Shim Wizards for VS 2010 … I am calling it “coming out” and not…

19

Design of VSTO 2010 runtime

When migrating VSTO solutions targeting .NET 3.5 to .NET 4.0 people are noticing some design changes. Our documentation on migration puts it pretty straightforward about this and does not explain the underlying reasoning for these changes: “If the target framework of an Office project is changed to the .NET Framework 4 from an earlier version of…

0

Taking COM Shim Wizards to 64-bit

It’s been quite a while since the last update to COM Shim Wizards has taken place. Among the things that have happened since are the new versions of Visual Studio (i.e. Visual Studio 2010) and Office (Office 2010). Both products are close to go out so it is time to do some face-lifting to the…

10

NoPIA blog posts

The plan of record for this post is to collect refererences to NoPIA related posts by other folks whose opinion I cherish. I wish the list would update automatically when somebody has something smart to say about this stuff but not sure the technology is there yet. So I will try to play the role…

0

Type Equivalence and Type Safety

What one should do on a plane back from the PDC? Of course! Write a new blog post! So, since I still have some topics to cover on the whole NOPIA shabang – here we go. CLR’s 4.0 support for Type Equivalence allows you to define your own copy of an interface, stick a Guid…

0

Face made for emails

Today I got a word that the video recordings I’ve made with Amanda Silver on the topics of Type Embedding and Type Equivalence did get published. My face is clearly should have been shaded out – but Amanda looks fantastic! Anyway, may be you will find this videos interesting. They are in the MP4 format…

6

Better eventing support in CLR 4.0 using NOPIA support

Events implementation in the Interop Assemblies does have its shortcomings. I enumerated the issues in “COM Interop: Handling events has side effects” post. The quick recap is that Interop Assemblies eventing support does create “ghost RCWs” that get in the way of deterministically managing the life-time of your COM objects. But there is a hope!…

7