Class EngineWebApplicationExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.AspNetCore.Hosting
Assembly: Cephalon.AspNetCore.dll
Maps the operator-facing HTTP surface exposed by a Cephalon ASP.NET Core host.
public static class EngineWebApplicationExtensionsInheritance
Section titled “Inheritance”object ← EngineWebApplicationExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”MapCephalon(WebApplication)
Section titled “ MapCephalon(WebApplication)”Maps Cephalon runtime, diagnostics, transport, and documentation endpoints onto the application.
public static WebApplication MapCephalon(this WebApplication app)Parameters
Section titled “Parameters”app WebApplication
The ASP.NET Core application to extend.
Returns
Section titled “Returns”The same application instance for fluent host composition.
Remarks
Section titled “Remarks”
This method maps the engine introspection surface under /engine, health and diagnostics
endpoints, and the routes contributed by the transports selected in the runtime manifest.
When the REST transport is active, it also enables OpenAPI and Scalar documentation while keeping non-REST protocol routes out of the generated API description.