Regarding WCF Services And ConfigSource Attribute

Andrew Ramshaw 21 Reputation points
2021-04-07T04:10:08.337+00:00

I was wondering if there was ever going to be a formal inclusion of configsource as an attribute for WCF Service related web/app configs. The reason being for an enterprise like the one I work for having a variety of services and applications which we want to have assignable and modifiable from a single location instead of the distribution of them across all the installed applications. The configsource attribute is available for a variety of other elements in the config (such as http parameters/requests) and since this is somewhat of a related thing I would think that it'd be helpful and a logical step to consolidate client endpoint management, service availability, and the like.

Thanks for your time.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
0 comments No comments
{count} votes

Accepted answer
  1. Peng Ding-MSFT 91 Reputation points
    2021-04-07T05:41:25.277+00:00

    Hi @Andrew Ramshaw , For WCF, unfortunately the configSource attribute does not work on the <system.serviceModel> section group, but you can still apply it on the child config sections. For more information about it, you can refer to this link:

    https://weblogs.asp.net/cibrax/configsource-attribute-on-system-servicemodel-section


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Peng Ding


0 additional answers

Sort by: Most helpful