Skip to content

Add performance best practices guide#3286

Closed
davidortinau wants to merge 2 commits intodotnet:mainfrom
davidortinau:guide-performance-best-practices
Closed

Add performance best practices guide#3286
davidortinau wants to merge 2 commits intodotnet:mainfrom
davidortinau:guide-performance-best-practices

Conversation

@davidortinau
Copy link
Copy Markdown
Contributor

Summary

Adds a comprehensive performance best practices guide for .NET MAUI applications.

Split from #3202 — this guide document stands on its own merit independent of the llms.txt initiative and should be reviewed/merged separately.

Content

Covers startup performance, layout optimization, binding overhead, image handling, and platform-specific tuning guidance.

Co-authored-by: Gerald Versluis gerald.versluis@microsoft.com

Split from dotnet#3202. Comprehensive guide covering startup performance,
layout optimization, binding overhead, image handling, and platform-specific
tuning for .NET MAUI applications.

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@davidortinau davidortinau requested a review from a team as a code owner April 14, 2026 17:13
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 613a458:

⚠️ Validation status: warnings

File Status Preview URL Details
docs/deployment/performance-best-practices.md ⚠️Warning View (>=net-maui-8.0) Details

docs/deployment/performance-best-practices.md

  • Line 0, Column 0: [Warning: h1-missing - See documentation] H1 is required. Use a single hash (#) followed by a space to create your top-level heading.
  • Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
  • Line 5, Column 1: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 39, Column 2: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 40, Column 2: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 41, Column 2: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 42, Column 13: [Warning: disallowed-html-attribute - See documentation] HTML attribute 'Text' on tag 'Label' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 49, Column 2: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 50, Column 13: [Warning: disallowed-html-attribute - See documentation] HTML attribute 'Text' on tag 'Label' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 57, Column 3: [Warning: disallowed-html-tag - See documentation] HTML tag 'CollectionView' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 59, Column 2: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 60, Column 2: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 61, Column 2: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 98, Column 3: [Warning: disallowed-html-tag - See documentation] HTML tag 'StackLayout' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 99, Column 7: [Warning: disallowed-html-tag - See documentation] HTML tag 'StackLayout' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 100, Column 2: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 101, Column 2: [Warning: code-block-indented - See documentation] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).
  • Line 103, Column 13: [Warning: disallowed-html-attribute - See documentation] HTML attribute 'Text' on tag 'Label' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 109, Column 3: [Warning: disallowed-html-tag - See documentation] HTML tag 'Grid' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 110, Column 13: [Warning: disallowed-html-attribute - See documentation] HTML attribute 'Text' on tag 'Label' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 111, Column 13: [Warning: disallowed-html-attribute - See documentation] HTML attribute 'Text' on tag 'Label' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 111, Column 34: [Warning: disallowed-html-attribute - See documentation] HTML attribute 'Grid.Column' on tag 'Label' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 112, Column 13: [Warning: disallowed-html-attribute - See documentation] HTML attribute 'Text' on tag 'Label' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 112, Column 42: [Warning: disallowed-html-attribute - See documentation] HTML attribute 'Grid.Row' on tag 'Label' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
  • Line 112, Column 55: [Warning: disallowed-html-attribute - See documentation] HTML attribute 'Grid.ColumnSpan' on tag 'Label' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

Strip raw git-show output artifacts (commit headers, diff markers, line prefixes)
to produce clean markdown content.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit e11c47a:

✅ Validation status: passed

File Status Preview URL Details
docs/deployment/performance-best-practices.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

@jfversluis
Copy link
Copy Markdown
Member

This can be closed, was taken from the llms.txt PR but has a lot, if not all, overlap with existing content.

@jfversluis jfversluis closed this Apr 16, 2026
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.

2 participants