<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>.NET4Office : Great Moments at Work</title><link>http://blogs.msdn.com/eric_carter/archive/tags/Great+Moments+at+Work/default.aspx</link><description>Tags: Great Moments at Work</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>People to schedule at Tech-Ed--put Rio to work for you</title><link>http://blogs.msdn.com/eric_carter/archive/2004/05/22/139598.aspx</link><pubDate>Sat, 22 May 2004 21:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:139598</guid><dc:creator>Eric Carter</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/eric_carter/comments/139598.aspx</comments><wfw:commentRss>http://blogs.msdn.com/eric_carter/commentrss.aspx?PostID=139598</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;There are a bunch of people going down to Tech-Ed from my team.&amp;nbsp; I was originally going to be one of them, but things have gotten too busy trying to get VSTO 2.0 shipped, and I got bumped from the list because of my responsibilities here at work. Waaah, sniff, sniff.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;There's this cool tool at Tech-Ed called &amp;#8220;Rio&amp;#8221; that lets you schedule 1 on 1 time with Microsoft people and other Tech-Ed speakers to express your concerns, learn more, chat, whatever.&amp;nbsp; If you want to talk about VSTO 1.0, VSTO 2.0, or Office development in general, use the Rio tool at Tech-Ed to schedule some time with any of these people from my team:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;STRONG&gt;Greg DeCicco&lt;/STRONG&gt;--A lead PM on VSTO 2.0, he's in the middle of everything.&lt;BR&gt;&lt;STRONG&gt;Muhammad Arrabi&lt;/STRONG&gt;--A PM on my team--he knows a bunch about VSTO 2.0 especially around our data story.&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;&lt;STRONG&gt;BJ Holtgrewe&lt;/STRONG&gt;--Our fearless marketing lead&lt;BR&gt;&lt;STRONG&gt;Harry Miller&lt;/STRONG&gt;--A great writer on our team&lt;BR&gt;&lt;STRONG&gt;Iouri Simernitski&lt;/STRONG&gt;--Developer who has done a lot of Office programming and working with the community&lt;BR&gt;&lt;STRONG&gt;Mike Hernandez&lt;/STRONG&gt;--Community lead on our team, he's our eyes and ears in the community&lt;BR&gt;&lt;STRONG&gt;Paul Stubbs&lt;/STRONG&gt;--PM working on VSTO and future products, also has a lot of prior experience in Office solutions.&lt;BR&gt;&lt;STRONG&gt;Svet Bonev&lt;/STRONG&gt;--Developer who has written large chunks of our data story for VSTO 2.0&lt;BR&gt;&lt;STRONG&gt;Donald Drake&lt;/STRONG&gt;--Lead Developer on VSTO 2.0 who has built the design-time VS experience around VSTO 2.0&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=139598" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/eric_carter/archive/tags/Great+Moments+at+Work/default.aspx">Great Moments at Work</category></item><item><title>MSDN Webcast on Visual Studio Tools for Office Version 2: Developing Word Solutions</title><link>http://blogs.msdn.com/eric_carter/archive/2004/04/26/120497.aspx</link><pubDate>Mon, 26 Apr 2004 19:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:120497</guid><dc:creator>Eric Carter</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/eric_carter/comments/120497.aspx</comments><wfw:commentRss>http://blogs.msdn.com/eric_carter/commentrss.aspx?PostID=120497</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Kathleen McGrath is doing an &lt;/FONT&gt;&lt;A href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032247645&amp;amp;Culture=en-US"&gt;&lt;FONT face=Verdana size=2&gt;MSDN webcast on VSTO 2.0 and Word&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;tomorrow, Tuesday April 27th, at 11 AM PST.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Description: &amp;#8220;This webcast will demonstrate how to use the new actions pane, provided by Microsoft&amp;#174; Visual Studio&amp;#174; Tools for the Microsoft Office System, Version 2.0, in your Microsoft Office Word 2003 solutions. The actions pane simplifies the current smart document solution development experience by significantly reducing the amount of code that needs to be written, provides support for Windows Forms controls in the Document Actions task pane, does not require Word documents to be XML-based, and eliminates the need for creating XML expansion packs.&amp;#8220;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=120497" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/eric_carter/archive/tags/Great+Moments+at+Work/default.aspx">Great Moments at Work</category></item><item><title>Have you tested your product over lunch break?</title><link>http://blogs.msdn.com/eric_carter/archive/2004/04/17/115236.aspx</link><pubDate>Sat, 17 Apr 2004 17:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:115236</guid><dc:creator>Eric Carter</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/eric_carter/comments/115236.aspx</comments><wfw:commentRss>http://blogs.msdn.com/eric_carter/commentrss.aspx?PostID=115236</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;We had some interesting bugs recently in VSTO 2.0 that basically involve letting the product sit for a while--like over lunch break--without doing anything.&amp;nbsp; &lt;FONT face=Verdana color=#000000 size=2&gt;Testers and devs hate this kind of a bug: Do X, do Y, wait 5-15 minutes, do Z. But if &lt;/FONT&gt;you are doing anything across appdomains--for example, you have an object that derives from MarshalByRefObject that you are passing from one appdomain to another--you should do the same.&amp;nbsp; Let your product sit over your lunch break and make sure it still works when you come back.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;Turned out that this bug was related to our remoting leases expiring.&amp;nbsp; Thomas Quinn, a fantastic architect at large on the VSTO 2.0 team, fixed this bug and I quote from his checkin:&lt;/FONT&gt;&lt;/P&gt;
&lt;DIR&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;&amp;#8220;These bugs both had to do with Remoting "leases" expiring. As you know, in .NET there is no refcounting. In the same AppDomain, object references are tracked by the garbage collector and they are marked for deletion when there are no more active references. When you pass an object across an AppDomain boundary, though, GC can't keep track of it any more -- GC is done on a per domain basis. When you pass an object by reference across the domain boundary (in order to do this it must derive from MarshalByRefObject) the Remoting infrastructure takes control. The lifetime is then controlled by a "lease." As long as there is an active lease on the object it stays alive. Each cross domain call renews the lease. By default, the lease is 5 minutes -- meaning that if you don't talk to an object passed to you across the domain boundary for 5 minutes or more it will get cleaned up, and subsequent calls to the proxy you are holding will throw an remoting exception. Anytime you derive an object from MarshalByRefObject you must take the lifetime of the object into account. There are several ways to override the default behavior, involving custom lease implementations or implementing sponsors for the objects that will keep them alive. If interested, you can read more about it here: &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconlifetimeleases.asp"&gt;&lt;U&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconlifetimeleases.asp&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;The override used in this fix is the simplest one -- we give the MBRO objects an infinite lease (meaning they stay alive as long as the AppDomain is alive). This is done by simply overriding MarshalByRefObject.InitializeLifetimeService to return null. In this case, this is exactly what we want, since the objects are part of the runtime AppDomain manager that lives with the customization in its domain. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;I changed all of the classes in the [VSTO 2.0 runtime] directory that derive from MBRO. These changes fixed the bugs in question. It is possible that there are other classes that derive from MBRO more indirectly and may exhibit the same problem through some other code path. Beware of MBRO.&amp;#8220;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIR&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;Of course giving your objects infinite lease may be the wrong fix given your application.&amp;nbsp; But that goes without saying right :)&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=115236" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/eric_carter/archive/tags/Great+Moments+at+Work/default.aspx">Great Moments at Work</category></item><item><title>Eric Lippert</title><link>http://blogs.msdn.com/eric_carter/archive/2004/04/10/110925.aspx</link><pubDate>Sat, 10 Apr 2004 19:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:110925</guid><dc:creator>Eric Carter</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/eric_carter/comments/110925.aspx</comments><wfw:commentRss>http://blogs.msdn.com/eric_carter/commentrss.aspx?PostID=110925</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Eric Lippert, who has singlehandedly done more for&lt;/FONT&gt; &lt;FONT face="Lucida Sans Unicode" color=purple size=2&gt;purple Lucida Sans Unicode&lt;/FONT&gt; &lt;FONT face=Verdana size=2&gt;than anyone I know, links&amp;nbsp;to my blog&amp;nbsp;&lt;A href="http://blogs.msdn.com/ericlippert/archive/2004/04/09/110556.aspx"&gt;http://blogs.msdn.com/ericlippert/archive/2004/04/09/110556.aspx&lt;/A&gt;.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Although he's got plenty to blog about already, hopefully he &lt;EM&gt;will&lt;/EM&gt; eventually get around to blogging about some of the cool work he's been doing on VSTO 2.0--if I don't beat him to the punch.&amp;nbsp; For example, Eric has been working on the generated data/view programming models we create when you use the schema mapping features in Word and Excel.&amp;nbsp; Picture mapping a schema like &amp;#8220;Customer.xsd&amp;#8221; in Excel, going into the code editor, and seeing nicely named controls that drop down from the left drop down list in the code editors--all named with names that correspond to the terminology you used in the schema.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Eric has also done some a lot of interesting work on the code generation we do for you in VSTO 2.0.&amp;nbsp; To generate code on your behalf, we use an intermediate declarative XML representation that we then convert to C# or VB.NET.&amp;nbsp; Of course, a similar approach is also used in Avalon's XAML files.&amp;nbsp; Eric blogs about some of the implications of this approach here:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/ericlippert/archive/2004/03/04/83981.aspx"&gt;&lt;FONT face=Verdana size=2&gt;http://blogs.msdn.com/ericlippert/archive/2004/03/04/83981.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=110925" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/eric_carter/archive/tags/Great+Moments+at+Work/default.aspx">Great Moments at Work</category></item><item><title>I'll be there</title><link>http://blogs.msdn.com/eric_carter/archive/2004/04/07/108901.aspx</link><pubDate>Wed, 07 Apr 2004 07:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:108901</guid><dc:creator>Eric Carter</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/eric_carter/comments/108901.aspx</comments><wfw:commentRss>http://blogs.msdn.com/eric_carter/commentrss.aspx?PostID=108901</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;You may have noticed my &amp;#8220;I'll be there&amp;#8221; picture.. I'll be there--isn't that like a really bad Michael Bolton song or something of that ilk?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Anywhoo, I'll be at Tech-Ed this year talking about VSTO 2.0 mainly, but I'm sure I can help you out if you have questions about VSTO 1.0.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;The first talk I'll be giving is Dev 367 which is an overview of VSTO 2.0.&amp;nbsp; There'll be lots of demos and not many slides--you should have a good sense of what you can do with VSTO 2.0 by the end of this talk.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Also, I'm giving another session you can sign up for with the very descriptive and apparently case-sensitive title TECDEV17.&amp;nbsp; This will be about security and deployment features of VSTO 2.0 although most of what I'll talk about in this talk will apply to VSTO 1.0 as well.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Finally, I'll be on the floor to answer questions, or at least point you in the right direction--so look me up.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Hope I gave you&amp;nbsp;some additional&amp;nbsp;reasons to get your boss to send you out to this conference.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=108901" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/eric_carter/archive/tags/Great+Moments+at+Work/default.aspx">Great Moments at Work</category></item><item><title>MSDN Webcast on Data and Databinding in VSTO 2</title><link>http://blogs.msdn.com/eric_carter/archive/2004/04/06/108177.aspx</link><pubDate>Tue, 06 Apr 2004 10:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:108177</guid><dc:creator>Eric Carter</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/eric_carter/comments/108177.aspx</comments><wfw:commentRss>http://blogs.msdn.com/eric_carter/commentrss.aspx?PostID=108177</wfw:commentRss><description>&lt;DIV class=Section1&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;A member of my team, Muhammad Arrabi, is giving an MSDN webcast tomorrow on VSTO 2.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=25936"&gt;http://go.microsoft.com/fwlink/?LinkId=25936&lt;/A&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Go give him a hard time for me&lt;/SPAN&gt;&lt;/FONT&gt; &lt;FONT face=Wingdings size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings"&gt;J&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=25869"&gt;MSDN Webcast: Data and Databinding with Visual Studio Tools for Office Version 2 - Level 200&lt;/A&gt;&lt;BR&gt;April 06, 2004&lt;BR&gt;11:00 AM - 12:30 PM Pacific Time&lt;BR&gt;Muhammad Arrabi, Program Manager, Microsoft Corporation&lt;BR&gt;The Visual Studio&amp;#174; Tools for the Microsoft&amp;#174; Office Systems in Whidbey provides a rich data programming model for automating Word and Excel documents. This webcast will showcase some of these features, such as databinding to Office controls, caching data in the document for offline use, and integrating the data model with the new Office 2003 XML features.&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=108177" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/eric_carter/archive/tags/Great+Moments+at+Work/default.aspx">Great Moments at Work</category></item></channel></rss>