{"id":51547833,"url":"https://github.com/aspose-barcode/agentic-net-examples","last_synced_at":"2026-07-09T20:01:37.181Z","repository":{"id":365585280,"uuid":"1200428244","full_name":"aspose-barcode/agentic-net-examples","owner":"aspose-barcode","description":"Agent-generated C# examples for Aspose.BarCode for .NET — compiled, executed, and validated by an agentic pipeline. Includes an agents.md guide for AI coding agents.","archived":false,"fork":false,"pushed_at":"2026-07-04T05:42:18.000Z","size":3100,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-04T06:26:49.593Z","etag":null,"topics":["agentic","agentic-examples","agentic-workflow","agents-md","ai-agents","ai-generated-code","aspose-barcode","barcode","barcode-generator","barcode-reader","barcode-recognizer","code-examples","dotnet"],"latest_commit_sha":null,"homepage":"https://products.aspose.com/barcode/net/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aspose-barcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"agents.md","dco":null,"cla":null}},"created_at":"2026-04-03T11:59:40.000Z","updated_at":"2026-07-04T05:42:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/aspose-barcode/agentic-net-examples","commit_stats":null,"previous_names":["aspose-barcode/agentic-net-examples"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/aspose-barcode/agentic-net-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspose-barcode%2Fagentic-net-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspose-barcode%2Fagentic-net-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspose-barcode%2Fagentic-net-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspose-barcode%2Fagentic-net-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aspose-barcode","download_url":"https://codeload.github.com/aspose-barcode/agentic-net-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspose-barcode%2Fagentic-net-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35311289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic","agentic-examples","agentic-workflow","agents-md","ai-agents","ai-generated-code","aspose-barcode","barcode","barcode-generator","barcode-reader","barcode-recognizer","code-examples","dotnet"],"created_at":"2026-07-09T20:01:34.775Z","updated_at":"2026-07-09T20:01:37.146Z","avatar_url":"https://github.com/aspose-barcode.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aspose.BarCode for .NET — Agentic Examples\n\nAgentic, build-validated C# code examples for **Aspose.BarCode for .NET** covering barcode generation, recognition, and configuration across 60+ symbologies. Every example compiles and runs successfully. Includes `agents.md` guides optimized for AI coding agents.\n\n## About Aspose.BarCode for .NET\n\n[Aspose.BarCode for .NET](https://products.aspose.com/barcode/net/) is a powerful barcode generation and recognition library for .NET applications. It enables developers to generate, read, and process barcodes programmatically without any third-party dependencies.\n\n**Key capabilities:**\n- Generate barcodes for 60+ symbologies including Code128, QR Code, DataMatrix, PDF417, Aztec, EAN, UPC, Code39, ITF14, and more\n- Read and recognize barcodes from images, PDFs, and memory streams\n- Control barcode appearance — size, resolution, colors, padding, rotation, and XDimension\n- Configure checksum settings per symbology\n- Export barcode images as PNG, JPEG, SVG, EMF, TIFF, and BMP\n- Embed barcodes into PDF documents, Word files, and PowerPoint presentations\n- Work with complex barcode types — Swiss QR Bill, Mailmark, HIBC LIC, GS1 Composite, MaxiCode\n- Serialize and deserialize barcode generator and reader configurations to XML\n\n## Install\n\n```bash\ndotnet add package Aspose.BarCode\n```\n\nOr via NuGet Package Manager:\n```\nInstall-Package Aspose.BarCode\n```\n\nRequires .NET SDK 10.0 or later.\n\n## Statistics\n\n| Metric | Value |\n|--------|-------|\n| Total Examples | 1124 |\n| Categories | 21 |\n| Overall Pass Rate | 100.0% |\n| Package Version | Aspose.BarCode 26.6.0 |\n| Last Updated | 2026-07-04 |\n\n## Repository Structure\n\n```\nagents.md\nREADME.md\n+-- barcode-appearance-customization/\n+-- barcode-checksum-control/\n+-- barcode-color-customization/\n+-- barcode-configuration-serialization/\n+-- barcode-reading-properties/\n+-- barcode-recognition-basics/\n+-- barcode-recognition-performance/\n+-- barcode-recognition-xml-serialization/\n+-- barcode-saving-and-export/\n+-- barcode-size-and-resolution/\n+-- barcode-text-customization/\n+-- gs1-barcode-types/\n+-- hibc-lic-barcode/\n+-- mailmark-four-state-barcode/\n+-- mailmark-two-dimensional-barcode/\n+-- maxicode-barcode/\n+-- one-dimensional-barcode-types/\n+-- postal-barcode-types/\n+-- special-barcode-recognition-settings/\n+-- swiss-qr-code/\n+-- two-dimensional-barcode-types/\n```\n\n## Categories\n\n| Category | Examples | Pass Rate | Details |\n|----------|----------|-----------|---------|\n| [Barcode Appearance Customization](./barcode-appearance-customization/) | 30 | 100.0% | [agents.md](./barcode-appearance-customization/agents.md) |\n| [Barcode Checksum Control](./barcode-checksum-control/) | 30 | 100.0% | [agents.md](./barcode-checksum-control/agents.md) |\n| [Barcode Color Customization](./barcode-color-customization/) | 28 | 100.0% | [agents.md](./barcode-color-customization/agents.md) |\n| [Barcode Configuration Serialization](./barcode-configuration-serialization/) | 30 | 100.0% | [agents.md](./barcode-configuration-serialization/agents.md) |\n| [Barcode Reading Properties](./barcode-reading-properties/) | 50 | 100.0% | [agents.md](./barcode-reading-properties/agents.md) |\n| [Barcode Recognition Basics](./barcode-recognition-basics/) | 75 | 100.0% | [agents.md](./barcode-recognition-basics/agents.md) |\n| [Barcode Recognition Performance](./barcode-recognition-performance/) | 81 | 100.0% | [agents.md](./barcode-recognition-performance/agents.md) |\n| [Barcode Recognition XML Serialization](./barcode-recognition-xml-serialization/) | 35 | 100.0% | [agents.md](./barcode-recognition-xml-serialization/agents.md) |\n| [Barcode Saving and Export](./barcode-saving-and-export/) | 30 | 100.0% | [agents.md](./barcode-saving-and-export/agents.md) |\n| [Barcode Size and Resolution](./barcode-size-and-resolution/) | 34 | 100.0% | [agents.md](./barcode-size-and-resolution/agents.md) |\n| [Barcode Text Customization](./barcode-text-customization/) | 29 | 100.0% | [agents.md](./barcode-text-customization/agents.md) |\n| [GS1 Barcode Types](./gs1-barcode-types/) | 34 | 100.0% | [agents.md](./gs1-barcode-types/agents.md) |\n| [HIBC LIC Barcode](./hibc-lic-barcode/) | 35 | 100.0% | [agents.md](./hibc-lic-barcode/agents.md) |\n| [Mailmark Four State Barcode](./mailmark-four-state-barcode/) | 29 | 100.0% | [agents.md](./mailmark-four-state-barcode/agents.md) |\n| [Mailmark Two Dimensional Barcode](./mailmark-two-dimensional-barcode/) | 34 | 100.0% | [agents.md](./mailmark-two-dimensional-barcode/agents.md) |\n| [MaxiCode Barcode](./maxicode-barcode/) | 34 | 100.0% | [agents.md](./maxicode-barcode/agents.md) |\n| [One Dimensional Barcode Types](./one-dimensional-barcode-types/) | 126 | 100.0% | [agents.md](./one-dimensional-barcode-types/agents.md) |\n| [Postal Barcode Types](./postal-barcode-types/) | 90 | 100.0% | [agents.md](./postal-barcode-types/agents.md) |\n| [Special Barcode Recognition Settings](./special-barcode-recognition-settings/) | 48 | 100.0% | [agents.md](./special-barcode-recognition-settings/agents.md) |\n| [Swiss QR Code](./swiss-qr-code/) | 28 | 100.0% | [agents.md](./swiss-qr-code/agents.md) |\n| [Two Dimensional Barcode Types](./two-dimensional-barcode-types/) | 214 | 100.0% | [agents.md](./two-dimensional-barcode-types/agents.md) |\n\n## How to Use\n\nEach example is a self-contained C# file. Clone the repository and run any example directly:\n\n```bash\ngit clone https://github.com/aspose-barcode/agentic-net-examples.git\ncd agentic-net-examples\n\n# Navigate to a category\ncd barcode-recognition-basics\n\n# Create a console project, add the package, and run an example\ndotnet new console -o ExampleRunner\ncd ExampleRunner\ndotnet add package Aspose.BarCode\n\n# Copy any .cs file from the category as Program.cs and run\ncp ../generate-code128-barcode-and-save-as-png.cs Program.cs\ndotnet run\n```\n\n## Example\n\nGenerate a Code128 barcode and save it as a PNG file:\n\n```csharp\nusing System;\nusing Aspose.BarCode.Generation;\n\nclass Program\n{\n    static void Main()\n    {\n        using (var generator = new BarcodeGenerator(EncodeTypes.Code128, \"1234567890\"))\n        {\n            generator.Parameters.Barcode.XDimension.Point = 2f;\n            generator.Parameters.Barcode.BarHeight.Point = 50f;\n            generator.Save(\"code128.png\");\n            Console.WriteLine(\"Barcode saved as code128.png\");\n        }\n    }\n}\n```\n\nRead a barcode from an image file:\n\n```csharp\nusing System;\nusing Aspose.BarCode.BarCodeRecognition;\n\nclass Program\n{\n    static void Main()\n    {\n        using (var reader = new BarCodeReader(\"barcode.png\", DecodeType.AllSupportedTypes))\n        {\n            foreach (var result in reader.ReadBarCodes())\n            {\n                Console.WriteLine($\"Type: {result.CodeTypeName}\");\n                Console.WriteLine($\"Text: {result.CodeText}\");\n            }\n        }\n    }\n}\n```\n\n## For AI Coding Agents\n\nThis repository includes an [`agents.md`](./agents.md) file at the root and in each category folder. These files provide AI coding agents with:\n\n- Required namespaces and using directives for each category\n- Correct API property paths and patterns\n- Common pitfalls and prohibited patterns\n- Example code fragments for key operations\n\nIf you are an AI coding agent generating Aspose.BarCode for .NET code, read the relevant `agents.md` before generating examples to avoid common API mistakes.\n\n## Prerequisites\n\n- .NET SDK 10.0 or later\n- Aspose.BarCode for .NET 26.6.0 (via NuGet)\n\nA valid [Aspose license](https://purchase.aspose.com/buy) is required for production use. For evaluation, examples run without a license but output may include watermarks on generated barcode images.\n\n## Agentic .NET Ecosystem\n\nOther Aspose products with agentic, build-validated example repositories:\n\n| Product | Repository | Focus |\n|---------|-----------|-------|\n| Aspose.Words for .NET | [aspose-words/agentic-net-examples](https://github.com/aspose-words/agentic-net-examples) | Word processing, DOCX, mail merge |\n| Aspose.Cells for .NET | [aspose-cells/agentic-net-examples](https://github.com/aspose-cells/agentic-net-examples) | Spreadsheets, Excel, charts |\n| Aspose.HTML for .NET | [aspose-html/agentic-net-examples](https://github.com/aspose-html/agentic-net-examples) | HTML conversion, DOM editing |\n| Aspose.Imaging for .NET | [aspose-imaging/agentic-net-examples](https://github.com/aspose-imaging/agentic-net-examples) | Image conversion, manipulation |\n| Aspose.Slides for .NET | [aspose-slides/agentic-net-examples](https://github.com/aspose-slides/agentic-net-examples) | Presentations, PowerPoint |\n| Aspose.Email for .NET | [aspose-email/agentic-net-examples](https://github.com/aspose-email/agentic-net-examples) | Email, calendars, messaging |\n| Aspose.PDF for .NET | [aspose-pdf/agentic-net-examples](https://github.com/aspose-pdf/agentic-net-examples) | PDF creation, conversion and manipulation |\n\n## Related Resources\n\n### Official Documentation\n- [Aspose.BarCode for .NET Documentation](https://docs.aspose.com/barcode/net/) — Guides, tutorials, and feature overviews\n- [API Reference](https://reference.aspose.com/barcode/net/) — Complete class/method reference\n- [Release Notes](https://releases.aspose.com/barcode/net/release-notes/) — Version history and changelogs\n\n### Downloads \u0026 Packages\n- [NuGet Package](https://www.nuget.org/packages/Aspose.BarCode/) — Install via `dotnet add package Aspose.BarCode`\n- [Direct Downloads](https://releases.aspose.com/barcode/net/) — MSI/ZIP installers and DLLs\n\n### Community \u0026 Support\n- [Aspose.BarCode Forum](https://forum.aspose.com/c/barcode/13) — Community Q\u0026A and official support\n- [Aspose Blog - BarCode](https://blog.aspose.com/category/barcode/) — Tutorials, tips, and product updates\n- [GitHub Issues](https://github.com/aspose-barcode/agentic-net-examples/issues) — Bug reports and feature requests\n\n### Licensing \u0026 Purchase\n- [Purchase](https://purchase.aspose.com/buy) — Commercial license options\n- [Temporary License](https://purchase.aspose.com/temporary-license/) — Full-feature evaluation license\n\n## License\n\nAll examples use [Aspose.BarCode for .NET](https://products.aspose.com/barcode/net/) and require a valid license for production use. See [licensing options](https://purchase.aspose.com/buy).\n\n---\n\n*This repository is maintained by automated code generation. For AI-friendly guidance, see [agents.md](./agents.md). Last updated: 2026-07-04*\n\n\u003c!-- AUTOGENERATED:START --\u003e\nUpdated: 2026-07-04 | Examples: 1124 | Categories: 21 | Package: Aspose.BarCode 26.6.0\n\u003c!-- AUTOGENERATED:END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspose-barcode%2Fagentic-net-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faspose-barcode%2Fagentic-net-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspose-barcode%2Fagentic-net-examples/lists"}