Cephalon.Worker
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Maturity:
M4· Ownership: cephalon-managed · Family:host-adapter· See audit, matrix.
Cephalon.Worker hosts the same Cephalon runtime inside the generic host without HTTP.
What it owns
Section titled “What it owns”- worker-specific service registration
- project-level split-configuration loading through
AddCephalonProjectConfigurations()andAddCephalon(...) - lifecycle bridging from
IHostintoIRuntime - background-host startup and shutdown coordination
Main surfaces
Section titled “Main surfaces”Hosting/WorkerHostApplicationBuilderExtensions.csHosting/WorkerServiceCollectionExtensions.csHosting/RuntimeHostedService.cs
Source structure
Section titled “Source structure”Hosting
How it fits
Section titled “How it fits”This package proves that Cephalon is not tied to ASP.NET Core. Modules and runtime policy stay the same, while the hosting surface changes to fit background services, queue consumers, or agent workers.
It also owns the generic-host side of Cephalon’s split-configuration convention so worker apps can group settings under Configurations/Add*.json and Configurations/{group}/{Environment}.json instead of a single large JSON file.