Add modern .NET 6+ RetrieveTimeZone sample#754
Merged
Conversation
Adds a modern C#-NETCore implementation of the RetrieveTimeZone sample, demonstrating time zone operations in Dataverse using the Microsoft.PowerPlatform.Dataverse.Client SDK. Key features: - Uses ServiceClient and modern .NET 6.0 patterns - Configuration via appsettings.json - Demonstrates 7 time zone operations: retrieving user settings, getting all time zones for locale, finding by name/ID, filtering by criteria, and UTC/local time conversions - Comprehensive README with usage instructions Also adds shared appsettings.json for CSharp-NETCore samples. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Move time zone demonstration methods to the beginning of the class definition, before configuration and Main method. This improves code readability by showing the core concepts first. Changes: - Added region markers to separate demonstration methods from setup code - Demonstration methods now appear immediately after static fields - Application setup (Configuration, Constructor, Main) moved to end Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a modern C#-NETCore implementation of the RetrieveTimeZone sample, demonstrating time zone operations in Dataverse using the Microsoft.PowerPlatform.Dataverse.Client SDK.
Key features:
Also adds shared appsettings.json for CSharp-NETCore samples.
Note: All code creation and updates was done by Claude Code.