Click here to Skip to main content
12,896,539 members (83,386 online)
Click here to Skip to main content


24 bookmarked
Posted 17 May 2003

The case for a channel-schema concept

, 17 May 2003 CPOL
An article about .NET remoting channel schemas
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;

namespace RemotingServer
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	class Class1
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		static void Main(string[] args)
			try {

				Console.WriteLine("Display well known service types");
				WellKnownServiceTypeEntry[] WellKnownServiceTypeEntries = RemotingConfiguration.GetRegisteredWellKnownServiceTypes();
				foreach(WellKnownServiceTypeEntry entry in WellKnownServiceTypeEntries)
					Console.WriteLine("{0}", entry);

				Console.WriteLine("Display registerd channels");
				IChannel[] Channels = ChannelServices.RegisteredChannels;
				foreach(IChannel chn in Channels)
					Console.WriteLine("Channel-Name='{0}'; Priority='{1}'", chn.ChannelName, chn.ChannelPriority);

			} catch(Exception e) {

			Console.WriteLine("Press ENTER to quit...");

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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Wytek Szymanski
Web Developer
United States United States
I am a consultant, trainer, software archtect/engineer, since the early 1980s, working in the greater area of Boston, MA, USA.

My work comprises the entire spectrum of software, shrink-wrapped applications, IT client-server, systems and protocol related work, compilers and operating systems, and more ....

I am currently focused on platform development for distributed computing in service oriented data centers.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 18 May 2003
Article Copyright 2003 by Wytek Szymanski
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid