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)))    {                      
相关文章
相关标签/搜索