Torna al Thread

using System; using System.Collections.Generic; using System.Text; using System.Runtime.Remoting.Channels.Http; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting; namespace RemoteServer { class Program { static void Main(string[] args) { HttpChannel channel = new HttpChannel(1234); ChannelServices.RegisterChannel(channel); RemotingConfiguration.RegisterWellKnownServiceType(typeof(MyRemotableType.MyRemotableType), "RemotingTest.soap", WellKnownObjectMode.Singleton); Console.WriteLine("Remote server started ...\r\nPress enter to stop"); Console.ReadLine(); } } }
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5