Skip to content

migrate CSharp snippets#2178

Merged
todorarabadzhiev merged 1 commit into
masterfrom
todor-migrate-cs
May 27, 2026
Merged

migrate CSharp snippets#2178
todorarabadzhiev merged 1 commit into
masterfrom
todor-migrate-cs

Conversation

@todorarabadzhiev

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates multiple documentation pages from inline C# samples to centralized snippet includes, improving consistency across languages (C#/VB) and making future maintenance of code examples easier.

Changes:

  • Replaced inline C# code blocks with {{source=... region=...}} snippet references across Reporting docs.
  • Added/paired VB snippet references in several places where only C# was previously shown.
  • Normalized some markdown spacing/indentation to align snippet blocks and list formatting.

Reviewed changes

Copilot reviewed 24 out of 25 changed files in this pull request and generated no comments.

Show a summary per file
File Description
report-items/picturebox.md Replaces inline PictureBox binding examples with shared snippet regions (C#/VB).
report-items/htmltextbox/using-html-from-telerik-radeditor.md Keeps examples but reformats/normalizes code fences and indentation within the step list.
report-items/barcode/1d-barcodes/1d-specifications.md Migrates Code128/GS1-128 examples to snippet regions (C#/VB).
licensing/license-troubleshoot.md Replaces runtime diagnostics code samples with snippet regions and adjusts indentation.
licensing/add-license-key-ci-services.md Fixes indentation for images and replaces AWS Lambda licensing example with a snippet include.
interactivity/customizing-ai-powered-insights.md Replaces long controller override examples with snippet includes (adds .NET/.NET Framework captions).
interactivity/custom-client-integration-ai-insights.md Replaces full custom client samples and registration snippets with snippet includes (with captions).
embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/using-in-razor-pages-app.md Replaces inline Razor Pages setup samples with snippet includes.
embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/html5-report-viewer-with-report-server-net.md Replaces token endpoint code block with a snippet include.
embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/how-to-use-html5-report-viewer-in-an-asp.net-core-in-.net-5-application.md Replaces UseStaticFiles() snippet with shared include.
embedding-reports/display-reports-in-applications/web-application/html5-asp.net-web-forms-report-viewer/customizing/how-to-pass-values-to-report-parameters.md Replaces code-behind parameter example with snippet includes (C#/VB).
embedding-reports/display-reports-in-applications/web-application/blazor-report-viewer/how-to-use-blazor-report-viewer.md Replaces UseStaticFiles() snippet with shared include and normalizes list indentation.
designing-reports/report-designer-tools/web-report-designer/tools/objectdatasource-wizard.md Migrates ObjectDataSource wizard sample classes to snippet includes and normalizes formatting.
designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-dotnet.md Normalizes indentation and replaces a small inline code fragment with a snippet include.
designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-blazor-application.md Replaces inline Program/controller snippets with shared snippet includes.
designing-reports/report-designer-tools/desktop-designers/tools/data-source-wizards/objectdatasource-wizard.md Replaces inline DataObject attribute example with snippet includes (C#/VB).
designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/using-event-handlers-in-srd.md Replaces inline event handler example with a snippet include.
designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/srd-net-working-with-type-report-definitions.md Replaces inline code examples with snippet includes and normalizes image indentation.
designing-reports/connecting-to-data/expressions/using-expressions/conditional-formatting.md Replaces inline helper function with snippet include; normalizes indentation of inline expressions.
designing-reports/connecting-to-data/data-source-components/sqldatasource-component/using-data-providers/using-microsoft-data-sqlclient-data-proivder.md Replaces controller registration code blocks with snippet includes.
designing-reports/connecting-to-data/data-source-components/reuse-data-source-components-across-reports.md Replaces inline base-class-change snippet with snippet includes (C#/VB).
designing-reports/connecting-to-data/data-source-components/objectdatasource-component/connecting-the-objectdatasource-component-to-a-data-source.md Normalizes indentation and replaces inline IConfiguration/ReportProcessor example with a snippet include.
designing-reports/connecting-to-data/data-source-components/entitydatasource-component/overview.md Replaces inline DbContext constructor snippet with snippet includes (C#/VB).
designing-reports/connecting-to-data/data-source-components/entitycoredatasource-component/overview.md Removes an extra blank line for cleaner formatting around snippet includes.
designing-reports/connecting-to-data/data-items/how-to-use-the-reportitem.dataobject-property-in-expressions.md Migrates inline data object example to snippet includes and normalizes indentation around snippet blocks/images.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dnikolov-prg dnikolov-prg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok in dev

@todorarabadzhiev todorarabadzhiev merged commit 06fa2d0 into master May 27, 2026
1 check passed
@todorarabadzhiev todorarabadzhiev deleted the todor-migrate-cs branch May 27, 2026 11:49
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.

3 participants