Major update for Async, Including some breaking changes. #167
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
***** Breaking Changes *****
Removed the constructor:
public ServiceClient(OrganizationWebProxyClient externalOrgWebProxyClient, ILogger logger = null)
Removed as we are refactoring how we will accept an external created client for internal use cases.
Contract change:
Added Support to set token file storage location back to connection string and constructors supporting User Authentication.
Modified DiscoverOrganizationsAsync to return a new return object called DiscoverOrganizationsResult
Modified Exception type thrown when external authentication fail to return DataverseOperationExecption vs general exception.
Updates:
Accepted suggestion to Updated logic to detect SDK runtime version for client. Thanks to GitHub user 0xced
Updated behavior of Token refresh to reduce cache hits, Optimized token lookup for cache hits over network calls.
Added Handlers to support timeouts from AAD Token service. Fixes #148
Added InMemory Token Cache system for S2S flows. Fixes #144
This pulls a new dependency on Microsoft.Extensions.Caching.Memory, min version 5.0.0
Added FileToken Storage Provider back into Client - works for User Access flows only... Does not work for S2S accounts.
Added configuration override support for setting MSAL Token Acquire Timeout, Retry Count, and MSALPIILogger
MSAL Token Timeout control : appsetting = MSALRequestTimeoutOverride, default is 30 seconds.
MSAL Token Acquire retry count: appsetting = MSALRequestRetryCountOverride, default is 3.
MSAL Allow PII in Log data: appsetting = MSALLogPII, default is false
Updated Async Implementation older SDK flow ( non-OData ) which should improve thread support. Fixes #146
Updated Internal interaction behaviors for communication to Dataverse Server
Added temp properties to allow for field control of this if the behavior does not work as intended.
Fixed an issue where an Guid.Empty Session ID was set the server.
Fixed an issue where Create and Update Operations would not properly respect API allowed fields for create or update. Fixes #163
Fixed an issue where logical name was being used instead of Schema name for Activity parties Fixes #166