We are trying to create a "proxy" class that would serve the WCF service with its configuration properties.
Because we can't store those properties in the app.config file, i'm looking for a way to "proxy" it out and use custom configurationSection which would provide all these data upon request. In order to do so, i would need to tell the .NET framework to load system.serviceModel using my own ConfigurationSection, and i'm not sure i can do it.
If anyone can either approve my assumption, or even better, provide me with an idea how can i WCF configuration settings using another source, that would be helpful.
thanks
if you're looking for the way to create and register your wcf service in code pls check the code below for an example:
below is a method to create the service host object:
here's how you can use it:
hope this helps, regards