static void Main(string[] args) { WCFhost host = new WCFhost(); host.OnStart(); }
public Service1() { InitializeComponent(); host = new WCFhost(); }