Update Quickstart for DOTNET to v5 and .NET 10.0#238
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the .NET quickstarts to Ditto 5.0.0 and .NET 10, while refreshing MAUI UI test infrastructure and moving the samples to the newer Ditto initialization/auth flow. In this repo, that primarily touches the MAUI, TUI, and WinForms quickstarts plus their docs/test projects.
Changes:
- Upgrades WinForms, TUI, and MAUI projects from Ditto 4.x/.NET 9 to Ditto 5.0.0/.NET 10.
- Replaces older Ditto initialization with
DittoConfig/Ditto.Openand adds auth expiration handlers. - Refreshes MAUI UI tests/docs for .NET 10 and updates Android/iOS build paths and SDK targets.
Reviewed changes
Copilot reviewed 26 out of 37 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
dotnet-winforms/TasksApp/ToDoTaskEditorForm.Designer.cs |
Regenerated WinForms editor layout and control definitions. |
dotnet-winforms/TasksApp/TasksPeer.cs |
Migrates WinForms Ditto setup to the new config/auth flow. |
dotnet-winforms/TasksApp/Program.cs |
Updates WinForms startup logging configuration. |
dotnet-winforms/TasksApp/MainForm.cs |
Adds WinForms Ditto store import. |
dotnet-winforms/TasksApp/DittoTasksApp.csproj |
Retargets WinForms app to .NET 10 / Ditto 5 and adds DPI settings. |
dotnet-winforms/README.md |
Updates WinForms prerequisites and API reference docs. |
dotnet-winforms/IntegrationTest/IntegrationTest.csproj |
Retargets WinForms integration test project to .NET 10 / Ditto 5. |
dotnet-tui/README.md |
Updates TUI prerequisites and API reference docs. |
dotnet-tui/DittoDotNetTasksConsole/TasksPeer.cs |
Migrates TUI Ditto setup to the new config/auth flow and removes temp persistence. |
dotnet-tui/DittoDotNetTasksConsole/Program.cs |
Adds Ditto logging import for the TUI app. |
dotnet-tui/DittoDotNetTasksConsole/DittoDotNetTasksConsole.csproj |
Retargets TUI app to .NET 10 / Ditto 5 and sets language version. |
dotnet-tui/DittoDotNetTasksConsole/ditto-f5e954d9-0092-47a0-9a79-2829e767ba7b/ditto_replication/__ditto_store_lock_file |
Adds generated Ditto local replication lock artifact. |
dotnet-tui/DittoDotNetTasksConsole/ditto-f5e954d9-0092-47a0-9a79-2829e767ba7b/ditto_auth/web.cbor |
Adds generated persisted Ditto web auth state. |
dotnet-tui/DittoDotNetTasksConsole/ditto-f5e954d9-0092-47a0-9a79-2829e767ba7b/ditto_auth/site.cbor |
Adds generated persisted Ditto site identity data. |
dotnet-tui/DittoDotNetTasksConsole/ditto-f5e954d9-0092-47a0-9a79-2829e767ba7b/ditto_auth/in_band.cbor |
Adds generated persisted Ditto in-band auth material. |
dotnet-tui/DittoDotNetTasksConsole/ditto-f5e954d9-0092-47a0-9a79-2829e767ba7b/ditto_auth/__ditto_store_lock_file |
Adds generated Ditto auth lock artifact. |
dotnet-tui/DittoDotNetTasksConsole/ditto-f5e954d9-0092-47a0-9a79-2829e767ba7b/ditto_attachments/__ditto_store_lock_file |
Adds generated Ditto attachments lock artifact. |
dotnet-tui/DittoDotNetTasksConsole/ditto-f5e954d9-0092-47a0-9a79-2829e767ba7b/__ditto_version.txt |
Adds generated Ditto local store version metadata. |
dotnet-tui/DittoDotNetTasksConsole/ditto-f5e954d9-0092-47a0-9a79-2829e767ba7b/__ditto_lock_file |
Adds generated top-level Ditto lock artifact. |
dotnet-tui/DittoDotNetTasksConsole.Tests/DittoDotNetTasksConsole.Tests.csproj |
Retargets TUI tests to .NET 10 / Ditto 5. |
dotnet-maui/UITests.Shared/UITests.Shared.csproj |
Updates shared MAUI UI test target/framework packages. |
dotnet-maui/UITests.iOS/UITests.iOS.csproj |
Updates iOS UI test target/framework packages. |
dotnet-maui/UITests.iOS/iOSTaskSearchTests.cs |
Updates iOS app lookup paths to net10 outputs. |
dotnet-maui/UITests.Android/UITests.Android.csproj |
Updates Android UI test target/framework packages. |
dotnet-maui/UITests.Android/AndroidTaskSearchTests.cs |
Updates Android app lookup paths and adds optional UDID targeting. |
dotnet-maui/README.md |
Refreshes MAUI build/test instructions for .NET 10 and local Appium runs. |
dotnet-maui/DittoMauiTasksApp/ViewModels/TasksPageviewModel.cs |
Removes query ordering and adds Ditto sync import. |
dotnet-maui/DittoMauiTasksApp/Platforms/Android/MainActivity.cs |
Reformats Android activity attributes. |
dotnet-maui/DittoMauiTasksApp/Platforms/Android/AndroidManifest.xml |
Raises Android SDK levels and reformats manifest. |
dotnet-maui/DittoMauiTasksApp/MauiProgram.cs |
Migrates MAUI Ditto initialization to DittoConfig + auth expiration handling. |
dotnet-maui/DittoMauiTasksApp/DittoMauiTasksApp.csproj |
Retargets MAUI app to .NET 10 / Ditto 5 and adjusts platform/display-name settings. |
Files not reviewed (1)
- dotnet-winforms/TasksApp/ToDoTaskEditorForm.Designer.cs: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Closed
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.
Summary
Updates the .NET quickstart projects (MAUI, TUI, WinForms) to Ditto SDK 5.0.0 and migrates them from .NET 9 → .NET 10. Includes the new DittoConfig / Ditto.Open initialization API, server-based connect with token-expiration auth handler, and a refresh of the MAUI UI test harness for .NET 10 compatibility.
Linked: DA-138
Changes
Ditto SDK 4.14.3 → 5.0.0 (dotnet-maui, dotnet-tui, dotnet-winforms)
var config = new DittoConfig(
appId,
new DittoConfigConnect.Server(new Uri(authUrl)),
persistenceDirectory);
var ditto = Ditto.Open(config);
.NET 9 → .NET 10
MAUI Android: minSDK and SDK level bumps
MAUI UI tests refreshed for .NET 10 (UITests.{Shared,iOS,Android})
MAUI app polish
dotnet-tui (DittoDotNetTasksConsole)
dotnet-winforms (DittoTasksApp)
Documentation (dotnet-maui/README.md, dotnet-tui/README.md, dotnet-winforms/README.md)
installing the Android Debug APK manually (Mono Fast Deployment otherwise fails with No assemblies found ... Exiting...).
Test plan
and shows the seeded tasks.