In developing with ArcMap, is there any way to register a service that can be used during the life-cycle of a document- for example to do something like:
C# .NET
mxApplication.RegisterService(myWebService);
then later-
mxApplication.GetService<WebService>().SaySomething("Hi");
So kind of using the Service Locator pattern or similar.