AgentHostMiddlewareExtensions.AddAgentServerCore(IServiceCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers all Core middleware services: request ID, server version, request ID baggage propagation, and inbound request logging.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAgentServerCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddAgentServerCore : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAgentServerCore (services As IServiceCollection) As IServiceCollection
Parameters
- services
- IServiceCollection
The service collection.
Returns
The service collection for chaining.