WCF Note—ServiceHost

the core object of hosting service is ServiceHost,we can use  the following code to instantiate a ServiceHost: using (ServiceHost host = new ServiceHost(typeof(MyService)))    {                      
相關文章
相關標籤/搜索