obj
Extension methods to enable support for remoting in the ASP.NET Core server side using endpoint routing.
Static member | Description |
Full Usage:
EndpointsRemotingExtensions.AddBoleroRemoting(this, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
?configureSerialization : JsonSerializerOptions
-
Configure the JSON serialization of request and response values.
Returns: IServiceCollection
|
Use this method to enable
|
Full Usage:
EndpointsRemotingExtensions.AddBoleroRemoting(this, handler, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
handler : 'T
-
The function that builds the remote service.
?configureSerialization : JsonSerializerOptions
-
Configure the JSON serialization of request and response values.
Returns: IServiceCollection
|
Use this method to enable
|
Full Usage:
EndpointsRemotingExtensions.AddBoleroRemoting(this, handler, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
handler : Func<IRemoteContext, 'T>
-
The function that builds the remote service.
?configureSerialization : JsonSerializerOptions
-
Configure the JSON serialization of request and response values.
Returns: IServiceCollection
|
Use this method to enable
|
Full Usage:
EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
basePath : string
-
The base path under which the remote service is served.
handler : 'T
-
The remote service.
?configureSerialization : JsonSerializerOptions
-
Configure the JSON serialization of request and response values.
Returns: IServiceCollection
|
Use this method to enable
|
Full Usage:
EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
basePath : string
-
The base path under which the remote service is served.
handler : Func<IRemoteContext, 'T>
-
The function that builds the remote service.
?configureSerialization : JsonSerializerOptions
-
Configure the JSON serialization of request and response values.
Returns: IServiceCollection
|
Use this method to enable
|
Full Usage:
EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
basePath : PathString
-
The base path under which the remote service is served.
handler : 'T
-
The remote service.
?configureSerialization : JsonSerializerOptions
-
Configure the JSON serialization of request and response values.
Returns: IServiceCollection
|
Use this method to enable
|
Full Usage:
EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)
Parameters:
IServiceCollection
-
The DI service collection.
basePath : PathString
-
The base path under which the remote service is served.
handler : Func<IRemoteContext, 'T>
-
The function that builds the remote service.
?configureSerialization : JsonSerializerOptions
-
Configure the JSON serialization of request and response values.
Returns: IServiceCollection
|
Use this method to enable
|
Full Usage:
EndpointsRemotingExtensions.MapBoleroRemoting(endpoints, ?buildEndpoint)
Parameters:
IEndpointRouteBuilder
?buildEndpoint : Action<IRemoteMethodMetadata, IEndpointConventionBuilder>
Returns: IEndpointConventionBuilder
|
|
Full Usage:
EndpointsRemotingExtensions.MapBoleroRemoting(endpoints, ?buildEndpoint)
Parameters:
IEndpointRouteBuilder
?buildEndpoint : Action<IRemoteMethodMetadata, IEndpointConventionBuilder>
Returns: IEndpointConventionBuilder
|
|