Bolero

Bolero Namespace

Components

TypeDescription
Component

Base class for components built from Bolero.Nodes.

Component<'model>

Base class for components with a typed model.

ElmishComponent<'model, 'msg>

Base class for components that are part of an Elmish view.

ProgramComponent<'model, 'msg>

Base class for components that run an Elmish program.

HTML

TypeDescription
Attr

HTML attribute or Blazor component parameter. Use Bolero.Html.attr or (=>) to create attributes.

ElementReferenceBinder

A utility to bind a reference to a rendered HTML element. See https://fsbolero.io/docs/Blazor#html-element-references

Node

HTML fragment.

Template

Provide content from a template HTML file.

ModuleDescription
Html

Create HTML elements, attributes and event handlers.

Remoting

ModuleDescription
Json

Customize JSON serialization for remoting.

Routing

TypeDescription
EndPointAttribute

Declare how an F# union case matches to a URI.

IRouter<'model, 'msg>

A router that binds page navigation with Elmish.

InvalidRouter

Exception thrown when a router is incorrectly defined.

InvalidRouterKind

The kinds of invalid router.

PageModel<'T>

A wrapper type to include a model in a router page type. See https://fsbolero.io/docs/Routing#page-models

Router<'model, 'msg>

A simple hand-written router.

Router<'ep, 'model, 'msg>

A simple router where the endpoint corresponds to a value easily gettable from the model.

RouterExtensions
WildcardAttribute

Declare that the given field of an F# union case matches the entire remainder of the URL path. If field is unspecified, this applies to the last field of the case.

ModuleDescription
Program

Functions to enable the router in an Elmish program.

Router

Functions for building Routers that bind page navigation with Elmish.

Bolero.Remoting Namespace

TypeDescription
IRemoteProvider

Provides remote service implementations.

IRemoteService

Indicate that this type is a remote service, served at the given base URL path.

RemoteException

Exception thrown on the client when a remote call fails.

RemoteUnauthorizedException

Exception thrown when a remote function fails to authorize a call.

RemotingExtensions

Extension methods to retrieve remote services from a program component.

Bolero.Remoting.Client Namespace

TypeDescription
RemoteResponse<'resp>
WARNING: This API is obsolete

Use Cmd.ofAuthorized / performAuthorized

ModuleDescription
Cmd

Elmish commands for Async and Task jobs, remote calls and JavaScript interop.

Bolero.Remoting.Server Namespace

TypeDescription
IRemoteContext

The context to inject in a remote service to authorize remote functions.

ServerRemotingExtensions

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

Bolero.Server.RazorHost Namespace