Appearance
For AI agents
Dense orientation for coding agents working in or against the JASE Suite. Prefer this page and /llms.txt over scraping the entire API tree.
What JASE is
High-performance, explicit .NET libraries (LTS: net10.0) that favor predictable SQL, crypto, HTTP, and rules over framework magic. Packages are independently installable.
Peer modules (start here)
| Module | Use when | Guide | API |
|---|---|---|---|
| Foundation | Caching, IDs, compression, serializers, concurrency primitives | /foundation/ | /api/ (Primitives…Core) |
| Database | SQL Server / PostgreSQL ORM, query builder, schema reconcile | /database/ | /api/database/ |
| Crypto | AES-GCM, RSA, certs — explicit options | /crypto/ | /api/crypto/ |
| Expressions | Inspectable rule expressions (tokenize → AST → eval) | /expressions/ | /api/expressions/ |
| Network | Pooled HTTP, DNS, RDAP/WHOIS, TLS diagnostics | /network/ | /api/network/ |
Integration (thin)
| Package | Use when | Guide | API |
|---|---|---|---|
| ServiceNow | Table API / Lean reads against ServiceNow | /integrations/servicenow | /api/servicenow/ |
Do not treat ServiceNow as a suite pillar. Prefer Lean field projection; avoid ReferenceField.Resolve().
Effective usage patterns
- Install only what you need — provider packages for Database (
JASE.Database.Postgresor.SqlServer); Network is separate from ServiceNow. - Database:
DbSession.GetAsync→OpenAsync→await using; query viasession.Query<T>(); empty DELETE/UPDATE WHERE is rejected unlessAllowUnfilteredMutation(). - Crypto: prefer
AesGcmfor new data; do not invent envelope formats; respect deprecation policy in-repo (docs/crypto-deprecation-policy.md). - Expressions: register symbols before tokenize; persist source strings; only expose functions you intentionally register.
- Network: use
HttpTransaction+ pooling; do not spin parallel rawHttpClients for the same origins. - Logging SQL:
LogConfig+ hostILoggerboth required — see /database/logging.
What not to invent
- A second ORM session model beside
IDatabaseSession/QueryBuilder<T> - Client-side ServiceNow
$expand/ N+1 reference resolution - Silent crypto format changes or “just disable TLS validation”
- Assuming odd .NET STS TFMs are first-class (
net9.0is not a Suite target)
Benchmarks and claims
Performance claims for Database are gated by published benchmark pages under /benchmarks/ — especially wide GetList. Do not invent marketing numbers.
API reference
Use /api/ as lookup after you know which package owns the concept. Do not copy generated default-parameter values into code — value types are sometimes rendered as = null. Prefer conceptual guides, NuGet XML docs, and IntelliSense for exact signatures. Some property deep-links may be incomplete — prefer type index pages and member group pages.