Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » General » Downloads
 
Add your own
alternative version
Go to top

Pluggable Remote Object Hosting

, 11 Nov 2003
This article presents a Pluggable mechanism for the identification and hosting of .NET Remote objects.
remoteplugins_bin.zip
PluggableRemoteObjects.dll
RemotePluggins.dll
StandardRemoteObjects.dll
RemoteHostingApp.exe
remoteplugins_src.zip
RemoteHostingApp
RemoteHostingApp.prjx
RemoteHostingApp.cmbx
PluggableRemoteObjects
PluggableRemoteObjects.prjx
PluggableRemoteObjects.cmbx
RemotePluggins
RemotePluggins.prjx
RemotePluggins.cmbx
StandardRemoteObjects
StandardRemoteObjects.prjx
StandardRemoteObjects.cmbx
using System;
using System.Collections;
using System.Configuration;
using System.Runtime.Remoting;

namespace Boland.Plugin
{
	public interface IRemotePlugin : IPlugin
	{
		string ObjectUri {get;}
		WellKnownObjectMode ActivationType {get;}
	}
	
	public class RemotePluginManager : PluginManager
	{
		public RemotePluginManager()
		{
		}
		
		public void RegisterPlugins()
		{
			ArrayList plugins = 
				this.GetPlugins(typeof(IRemotePlugin));
			foreach(IRemotePlugin plugin in plugins)
			{
				RemotingConfiguration.RegisterWellKnownServiceType(
                     plugin.PluginInterface,
                     plugin.ObjectUri,
                     plugin.ActivationType);
			}
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

David Boland
Web Developer
United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 12 Nov 2003
Article Copyright 2003 by David Boland
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid