Table of Contents

Class BuilderExtensions

Namespace
The.Web
Assembly
Instagile.Web.Client.dll
public static class BuilderExtensions
Inheritance
BuilderExtensions
Inherited Members

Methods

RegisterAuthentication<TSelf>(IBuilder<TSelf>, string)

Optionally provide a SharedSecretAuthentication to use for login.

public static TSelf RegisterAuthentication<TSelf>(this IBuilder<TSelf> builder, string sharedSecret)

Parameters

builder IBuilder<TSelf>
sharedSecret string

Returns

TSelf

Type Parameters

TSelf

Remarks

This is typically used for a two-tier setup with an app server (this one) and a backend server that has direct access to a database.

RegisterEndpoint<TSelf>(IBuilder<TSelf>, string)

Optionally provide a WebEndpoint to use for making RPC calls. This will be used for RemoteEntityStore if no other entitystore is specified.

public static TSelf RegisterEndpoint<TSelf>(this IBuilder<TSelf> builder, string endpointURI)

Parameters

builder IBuilder<TSelf>
endpointURI string

Returns

TSelf

Type Parameters

TSelf

RegisterEndpoint<TSelf>(IBuilder<TSelf>, Uri)

Optionally provide a WebEndpoint to use for making RPC calls. This will be used for RemoteEntityStore if no other entitystore is specified.

public static TSelf RegisterEndpoint<TSelf>(this IBuilder<TSelf> builder, Uri endpointURI)

Parameters

builder IBuilder<TSelf>
endpointURI Uri

Returns

TSelf

Type Parameters

TSelf

RegisterEndpoint<TSelf>(IBuilder<TSelf>, IEndpoint)

Optionally provide an IEndpoint to use for making RPC calls. This will be used for RemoteEntityStore if no other entitystore is specified.

public static TSelf RegisterEndpoint<TSelf>(this IBuilder<TSelf> builder, IEndpoint endpoint)

Parameters

builder IBuilder<TSelf>
endpoint IEndpoint

Returns

TSelf

Type Parameters

TSelf