Search Results

Search found 1 results on 1 pages for 'klashar'.

Page 1/1 | 1 

  • How to get configuration for WCF Service

    - by klashar
    I want to check whether the endpoint is defined in the configuration before I'll try to create it System.ServiceModel.ClientBase<T> sourceClient = new System.ServiceModel.ClientBase<T>(EndpointName, new EndpointAddress(discoveryUri)); To check it I need get a configuration but how can I define whether I need to use WebConfigurationManager or ConfigurationManager. Is there any way to define where a WCF service is hosted?

    Read the article

1