EndpointsRemotingExtensions Type

Extension methods to enable support for remoting in the ASP.NET Core server side using endpoint routing.

Static members

Static member Description

EndpointsRemotingExtensions.AddBoleroRemoting(this, ?configureSerialization)

Full Usage: EndpointsRemotingExtensions.AddBoleroRemoting(this, ?configureSerialization)

Parameters:
Returns: IServiceCollection

Add a remote service using dependency injection.

Use this method to enable endpoints.MapBoleroRemoting(). Use AddRemoting() instead to enable app.UseRemoting().

this : IServiceCollection

The DI service collection.

?configureSerialization : JsonSerializerOptions

Configure the JSON serialization of request and response values.

Returns: IServiceCollection

EndpointsRemotingExtensions.AddBoleroRemoting(this, handler, ?configureSerialization)

Full Usage: EndpointsRemotingExtensions.AddBoleroRemoting(this, handler, ?configureSerialization)

Parameters:
    this : 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

Add a remote service.

Use this method to enable endpoints.MapBoleroRemoting(). Use AddRemoting() instead to enable app.UseRemoting().

this : 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

EndpointsRemotingExtensions.AddBoleroRemoting(this, handler, ?configureSerialization)

Full Usage: EndpointsRemotingExtensions.AddBoleroRemoting(this, handler, ?configureSerialization)

Parameters:
Returns: IServiceCollection

Add a remote service.

Use this method to enable endpoints.MapBoleroRemoting(). Use AddRemoting() instead to enable app.UseRemoting().

this : 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

EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)

Full Usage: EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)

Parameters:
    this : 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

Add a remote service at the given path.

Use this method to enable endpoints.MapBoleroRemoting(). Use AddRemoting() instead to enable app.UseRemoting().

this : 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

EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)

Full Usage: EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)

Parameters:
    this : 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

Add a remote service at the given path.

Use this method to enable endpoints.MapBoleroRemoting(). Use AddRemoting() instead to enable app.UseRemoting().

this : 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

EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)

Full Usage: EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)

Parameters:
    this : 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

Add a remote service at the given path.

Use this method to enable endpoints.MapBoleroRemoting(). Use AddRemoting() instead to enable app.UseRemoting().

this : 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

EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)

Full Usage: EndpointsRemotingExtensions.AddBoleroRemoting(this, basePath, handler, ?configureSerialization)

Parameters:
Returns: IServiceCollection

Add a remote service at the given path.

Use this method to enable endpoints.MapBoleroRemoting(). Use AddRemoting() instead to enable app.UseRemoting().

this : 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

EndpointsRemotingExtensions.MapBoleroRemoting(endpoints, ?buildEndpoint)

Full Usage: EndpointsRemotingExtensions.MapBoleroRemoting(endpoints, ?buildEndpoint)

Parameters:
Returns: IEndpointConventionBuilder

Serve Bolero remote services.

endpoints : IEndpointRouteBuilder
?buildEndpoint : Action<IRemoteMethodMetadata, IEndpointConventionBuilder>
Returns: IEndpointConventionBuilder

EndpointsRemotingExtensions.MapBoleroRemoting(endpoints, ?buildEndpoint)

Full Usage: EndpointsRemotingExtensions.MapBoleroRemoting(endpoints, ?buildEndpoint)

Parameters:
Returns: IEndpointConventionBuilder

Serve Bolero remote services.

endpoints : IEndpointRouteBuilder
?buildEndpoint : Action<IRemoteMethodMetadata, IEndpointConventionBuilder>
Returns: IEndpointConventionBuilder