Exemple #1
0
        static void Main(string[] args)
        {
            var hostRunner = new HostRunner(
                "http://localhost:8890/Lab2.BmiServiceHost",
                "BmiService",
                typeof(IBmiService),
                typeof(BmiService));

            hostRunner.RunServiceHost();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            var hostRunner = new HostRunner(
                "http://localhost:8893/Lab2.ArtistServiceHost",
                "ArtistService",
                typeof(IArtistService),
                typeof(ArtistService));

            hostRunner.RunServiceHost();
        }
Exemple #3
0
        static void Main(string[] args)
        {
            HostRunner hostRunner = new HostRunner(
                "http://localhost:8892/Lab2.AgePredictServiceHost",
                "AgePredictService",
                typeof(IAgePredictService),
                typeof(AgePredictService));

            hostRunner.RunServiceHost();
        }