Hi Jeroen
Good morning, thank you for replying to my question.
I am writing a C# class library for other people to use, so I don't have any control on the configuration at all.
In a Console type application, both of following work all well:
1.
var client = ConnectionSettings.Instance.CreateClient().Result;
2.
var vs = new ConnectionSettings();
UserCredentialsSettings users = new UserCredentialsSettings();
users.ApplicationId = "xxxx";
vs.EnvironmentId = "xxxx";
vs.Tenant = "xxxx";
vs.Credentials = users;
var client2 = vs.CreateClient().Result;
I have also tried, if I changed anything in app.config file that is related to CDS, CreateClient() will not work any more; it will display configuration exception, even if I have programmatically set up everything correctly in my code.
I am wondering, if there is anyway that we can tell CDS SDK not check this app.config when creating client.
Thanks for any suggestions or comments,
Jason