Skip to content

docs: exercise generated bindings across runtimes - #560

Merged
glennawatson merged 1 commit into
mainfrom
docs/generated-binding-examples
Nov 29, 2026
Merged

glennawatson merged 1 commit into
mainfrom
docs/generated-binding-examples

Conversation

@glennawatson

Copy link
Copy Markdown
Contributor

Summary

Run the binding handbook on .NET 10 and .NET 11 and publish its Native AOT example on .NET 11.

  • Bind an editable task using the System.Reactive package. The example checks when edits propagate and when disposal stops them.
  • Replace a review batch and observe which collection raises notifications. Display completed reviews through a generated read-only list.
  • Bind the MAUI counter's caption and command through its generated view model and disconnect both bindings when the page disappears.

Why

The handbook needs runnable examples of the two package families and of bindings that use members generated for a real XAML view.

Breaking changes

None.

How this was verified

Ran the console projects and the Native AOT executable on Linux. Used a Windows VM for the WPF and WinForms controls, dispatcher examples and legacy framework runs. Built the Android counter for both targets. A device was unavailable for tapping the button.

Notes for the reviewer

Start with the MAUI page, the System.Reactive task row and the review queue. The remaining project changes select the supported runtimes.

Checklist

  • I have read the Contribute guide
  • The PR title follows Conventional Commits
  • Tests cover this change, or the summary says why they do not
  • New or changed public API has XML documentation

- Run the documentation projects on .NET 10 and .NET 11 and the native sample on .NET 11.
- Exercise System.Reactive bindings, collection replacement and MAUI command and caption bindings.
- Connect the example index to persistence, validation, Android controls and view registration.
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.09%. Comparing base (7d33ebf) to head (b8aa83a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #560   +/-   ##
=======================================
  Coverage   99.09%   99.09%           
=======================================
  Files         487      487           
  Lines       19275    19275           
  Branches     2903     2903           
=======================================
  Hits        19100    19100           
  Misses        175      175           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@glennawatson
glennawatson merged commit 774d1a7 into main Nov 29, 2026
27 checks passed
@glennawatson
glennawatson deleted the docs/generated-binding-examples branch November 29, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant