agentic-net-examples
AGENTS.md2 starsChanged 7 months agoMITView on GitHub
AI-friendly C# code examples for Aspose.Email for .NET
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository18 other files it gives its agents.
- convert-between-formatsAGENTS.md
- convert-thunderbird-mbox-filesAGENTS.md
- programming-email-verificationAGENTS.md
- programming-with-gmailAGENTS.md
- read-and-export-zimbra-tgz-filesAGENTS.md
- working-with-amp-html-emailsAGENTS.md
- working-with-exchange-ews-clientAGENTS.md
- working-with-exchange-webdav-clientAGENTS.md
- working-with-ibm-notesAGENTS.md
- working-with-imap-clientAGENTS.md
- working-with-microsoft-graph-clientAGENTS.md
- working-with-mime-messagesAGENTS.md
- working-with-outlook-itemsAGENTS.md
- working-with-outlook-storage-filesAGENTS.md
- working-with-pop3-clientAGENTS.md
- working-with-smtp-clientAGENTS.md
- zimbraAGENTS.md
- llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
When working in this repository:
- Very specific: line 17
All examples must compile and run with dotnet build and dotnet run on net8.0.
- Distinctive: line 18
Follow the conventions and anti-patterns below exactly.
- Distinctive: line 44
Use explicit types for Aspose objects when clarity is needed.
- Very specific: line 52
Create multi-file projects.
- Very specific: line 62
Use MailMessage/MapiMessage appropriately for MIME vs MAPI scenarios.
- Very specific: line 63
Prefer SecurityOptions.Auto for SMTP/IMAP/POP TLS negotiation.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Aspose.Email for .NET Examples
AI-friendly repository containing validated C# examples for Aspose.Email for .NET.
Persona
You are a C# developer specializing in mail processing using Aspose.Email for .NET. When working in this repository:
- Each
.csfile is a standalone console app—no multi-file projects. - All examples must compile and run with
dotnet buildanddotnet runon net8.0. - Follow the conventions and anti-patterns below exactly.
Repository Overview
This repository currently contains 3083 working code examples across 17 categories.
Category Details
- convert-between-formats — 135 examples. Guide: AGENTS.md
- convert-thunderbird-mbox-files — 189 examples. Guide: AGENTS.md
- programming-email-verification — 40 examples. Guide: AGENTS.md
- programming-with-gmail — 142 examples. Guide: AGENTS.md
- read-and-export-zimbra-tgz-files — 30 examples. Guide: AGENTS.md
- working-with-amp-html-emails — 44 examples. Guide: AGENTS.md
- working-with-exchange-ews-client — 557 examples. Guide: AGENTS.md
- working-with-exchange-webdav-client — 156 examples. Guide: AGENTS.md
- working-with-ibm-notes — 64 examples. Guide: AGENTS.md
- working-with-imap-client — 303 examples. Guide: AGENTS.md
- working-with-microsoft-graph-client — 38 examples. Guide: AGENTS.md
- working-with-mime-messages — 343 examples. Guide: AGENTS.md
- working-with-outlook-items — 511 examples. Guide: AGENTS.md
- working-with-outlook-storage-files — 189 examples. Guide: AGENTS.md
- working-with-pop3-client — 166 examples. Guide: AGENTS.md
- working-with-smtp-client — 167 examples. Guide: AGENTS.md
- zimbra — 9 examples. Guide: AGENTS.md
Boundaries
✅ Always
- Use explicit types for Aspose objects when clarity is needed.
- Dispose
SmtpClient,ImapClient,Pop3Client, streams, and messages withusingwhere applicable.
⚠️ Ask First
- Adding new NuGet dependencies besides
Aspose.Email. - Changing shared templates or pipeline settings.
🚫 Never
- Create multi-file projects; keep each example in one
.csfile. - Hardcode credentials, secrets, or license keys.
- Omit required namespaces—prefer fully qualified names if ambiguity arises.
Testing Guide
- Build:
dotnet build --configuration Release --verbosity minimal - Run:
dotnet runSuccess = exit code 0 and noCS####compiler errors.
Domain Knowledge (Email-specific)
- Use
MailMessage/MapiMessageappropriately for MIME vs MAPI scenarios. - Prefer
SecurityOptions.Autofor SMTP/IMAP/POP TLS negotiation. - Save MSG with
SaveOptions.DefaultMsgUnicodeto preserve UTF-8 content.
<!-- AUTOGENERATED:START -->| Date | Run ID | Branch/Commit |
| 2026-09-14 | auto | examples/batch-auto |
<!-- AUTOGENERATED:END -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

