How can I specify an alternate config file for a WCF client?

后端 未结 5 1678
礼貌的吻别
礼貌的吻别 2020-12-31 17:08

I am working on a large system, for which I have to use WCF to access a web service. My test code works fine, now I need to integrate my WCF client code into the larger sys

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-31 17:53

    Or, you can do it a simple and easy way - and implement a custom config file as in this post, which uses a DataSet / DataTable model to store / retrieve your configuration (includes working code):

    (.Net) suggestions on making a config file for a program?

提交回复
热议问题