For Online, I know you would want to use something along the lines of what is found in the SDK Connect to the Discovery service. // The using statement assures that the service proxy will be properly disposed. Using (DiscoveryServiceProxy _serviceProxy = new DiscoveryServiceProxy(serverConfig.
DiscoveryUri, serverConfig. HomeRealmUri, serverConfig. Credentials, serverConfig.
DeviceCredentials)) { // You can choose to use the interface instead of the proxy. IDiscoveryService service = _serviceProxy; #region RetrieveOrganizations Message // Retrieve details about all organizations discoverable via the // Discovery service. RetrieveOrganizationsRequest orgsRequest = new RetrieveOrganizationsRequest() { AccessType = EndpointAccessType.
Default, Release = OrganizationRelease. Current }; RetrieveOrganizationsResponse organizations = (RetrieveOrganizationsResponse)service. Execute(orgsRequest); } There are overloads for the DiscoveryServiceProxy class but if you provide some more details on what you are trying to connect to, I think it will narrow it down.
For Online, I know you would want to use something along the lines of what is found in the SDK - // Connect to the Discovery service. // The using statement assures that the service proxy will be properly disposed. Using (DiscoveryServiceProxy _serviceProxy = new DiscoveryServiceProxy(serverConfig.
DiscoveryUri, serverConfig. HomeRealmUri, serverConfig. Credentials, serverConfig.
DeviceCredentials)) { // You can choose to use the interface instead of the proxy. IDiscoveryService service = _serviceProxy; #region RetrieveOrganizations Message // Retrieve details about all organizations discoverable via the // Discovery service. RetrieveOrganizationsRequest orgsRequest = new RetrieveOrganizationsRequest() { AccessType = EndpointAccessType.
Default, Release = OrganizationRelease. Current }; RetrieveOrganizationsResponse organizations = (RetrieveOrganizationsResponse)service. Execute(orgsRequest); } There are overloads for the DiscoveryServiceProxy class but if you provide some more details on what you are trying to connect to, I think it will narrow it down.
It was an on-premise deployment. I tried the code in SDK and it worked well. I an now working with the SDK sample code and try to find the exactly place causing the error.
– Wei Ma Jun 16 at 16:18.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.