class Program
{
static void Main(string[] args)
{
HttpChannel channel = new HttpChannel(8090);
ChannelServices.RegisterChannel(channel, false);
RemotingConfiguration.RegisterWellKnownServiceType(typeof(CatDao), "CatDao.soap", WellKnownObjectMode.Singleton);
Console.ReadLine();
}
}