Process Creation and Coordination

In some previous posts (Out of Process IPC/TCP Remoting code, .Net Remoting (AppDomains, Out of Process, Two Way, etc..)) I showed some sample code using .Net remoting over a process boundary. As a result, I received a few questions about the process creation and how to handle the process coordination (i.e., The Host/Master process waiting…


Extensibility; Clients and Services calling each other

In this post I will be showing sample code (also found on our CodePlex site) as well as an execution sequence diagram. I will show sample code addressing some frequently asked questions; A Host calling AddIn services, AddIns calling (aka. Automation) a Host, AddIns calling AddIns, Managing AddIns (utilizing LINQ), which assemblies are loaded (Per…


You asked for it (AddIn pipeline generator)

After all, our job is to make your life easier.  I have received a *lot* of requests for a tool that can generate the Add-In pipeline segments.  Ever since we mistakenly left comments in our MSDN articles code about the pipeline source being machine generated, some of you noticed that we may have been working on…


Winforms, WPF and AppDomain isolation

We just posted a solution to consider for the F.A.Q. of how to enable isolatable WinForms applications.  Check out this link.  This solution may be considered relative to my previous post and subsequent comments.  Note that WPF startup performance costs may be mitigated by applying the [LoaderOptimization(MultiDomainHost)] attribute to the main method.  This tells the loader that the…


TechEd 2007 F.A.Q.

Hola! I just returned from TechEd 2007 held in Barcelona, Spain. Barcelona is a beautiful city with incredible new and old architecture. The people are very friendly and even I was able to navigate the clean public transportation systems.  Yes, I am one of those people that get lost easily and never stop to ask…


.Net framework source code released

Recently I was speaking to a group of ISV’s and Enterprise partners and as we spoke about the continued transparency of Microsoft, I vaguely mentioned more is coming.  Well, here it is.  ScottGu’s blog post goes into the details of opening up our framework source code to the developer community. Enjoy, JackG


Enumerating AppDomains

Recently I was writing a sample app showing some new MAF (Managed Add-In Framework) features that will be released very soon. Stay tuned. As I was showing isolation and unload-ability, I wanted to enumerate the AppDomain’s in the current process. Surprisingly there is no managed API in the BCL to show AppDomains L Using Interop…


Out of Process IPC/TCP Remoting code

Click this link for a description of the source code   I have attached the VS solutions in the file: View Source: Show Code … HostApp project – RemotingSamples Program.cs   using System; using System.Collections.Generic; using System.Text; // RemotingServices using System.Runtime.Remoting; // BinaryServer/ClientFormatterSinkProvider(s) using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; using System.Runtime.Remoting.Channels.Ipc; // Need this for that pesky…


.Net Remoting (AppDomains, Out of Process, Two Way, etc..)

I previously wrote about bi-directional remoting over IPC (see  .Net Remoting continued and .Net Remoting).  Several people asked for complete sample code.  Ok, the squeaky wheel gets the attention.  This could be an indication of my poor writing skills 😉 or the difficulty in figuring out remoting, or a little of both.  I also want…


Secret revealed

In a previous post (Extra, Extra – Read all about it!) I mentioned an upcoming highly requested feature.  Well, it’s here.  Last night we released the Visual Studio, code name “Orcas” March 2007 CTP.  In this release you will find a number of VS, Language, and Platform features.  And the System AddIn library has a…