Edge
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Cephalon.Edge ships edge-eligible behavior placement + signed bundle delivery. Adapter packages reconcile config against your gateway (Traefik or Kubernetes Gateway API).
Packages
Section titled “Packages”Click any package name to jump to its source-doc.
| Package | NuGet ID | Maturity | Capability |
|---|---|---|---|
| Edge (base) | Cephalon.Edge | M2 | Capability.Edge |
| Traefik | Cephalon.Edge.Traefik | M2 | Capability.Edge |
| Kubernetes Gateway | Cephalon.Edge.KubernetesGateway | M2 | Capability.Edge |
Install matrix
Section titled “Install matrix”| Scenario | Packages |
|---|---|
| Edge-tagged behaviors with Traefik (file provider) | Cephalon.Edge + Cephalon.Edge.Traefik |
| Edge-tagged behaviors on Kubernetes Gateway API | Cephalon.Edge + Cephalon.Edge.KubernetesGateway |
| Dev (edge disabled) | Cephalon.Edge alone — Engine:Edge:Enabled=false, behaviors run at origin |
Configuration shape
Section titled “Configuration shape”{ "Engine": { "Edge": { "Enabled": true, "Adapter": "Traefik", // Traefik | KubernetesGateway | None "ManifestPath": "/var/lib/cephalon/routing-manifest.json", "Bundle": { "SignWith": "/etc/cephalon/edge-key.pem", "Compression": "br" } } }}Full schema + 6 scenarios: Technology → Edge.
Key behavior attribute
Section titled “Key behavior attribute”[EdgeEligible(Cache = "5m", VaryBy = "tenant")]public sealed class GetProductBehavior : IRestBehavior<Sfid, ProductDto> { /* ... */ }See also
Section titled “See also”- Technology → Edge — narrative + 6 scenarios + edge-eligibility rules.
- Tutorial → Edge-native — walkthrough.