Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.ServiceModel;
- using MovieLib.Services;
- namespace ConsoleHostApplication
- {
- class Program
- {
- static void Main(string[] args)
- {
- ServiceHost hostMovieManager = new ServiceHost(typeof(MovieManager));
- hostMovieManager.Open();
- Console.WriteLine("Service Launched,Press Enter to Exit!");
- Console.ReadLine();
- hostMovieManager.Close();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement