RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Route.Controllers Show all

redb.Route.Controllers

Classes

C ControllerAction Route table entry holding controller type, method info, and compiled template segments.
C ControllerActionContext Per-action invocation context passed to s.
C ControllerDispatcherProcessor IProcessor that dispatches exchanges to actions.
C ControllerErrorResponse Standard error response model for controller dispatch failures.
C ControllerRegistry Scans assemblies for subclasses, builds a route lookup table,
C GrpcControllerDispatcher Dispatches gRPC requests to controller methods by method name.
C HttpControllerDispatcher Dispatches HTTP requests to controller methods using REST conventions.
C ParameterResolver Resolves method parameters from based on binding attributes.
C RedbController Base class for transport-agnostic controllers dispatched via .
C SignalRControllerDispatcher Dispatches SignalR hub invocations to controller methods by name.
C SoapControllerDispatcher Dispatches SOAP requests to controller methods by operation name, making SOAP a first-class controll...

Interfaces

I IControllerActionFilter Optional filter SPI invoked around every controller action by

redb.Route.Controllers.Attributes

Classes

C FromBodyAttribute Binds a parameter from the exchange message body (exchange.In.Body). JSON-deserialized.
C FromHeaderAttribute Binds a parameter from a message header (exchange.In.Headers[name]).
C FromPropertyAttribute Binds a parameter from an exchange property (exchange.Properties[name]).
C FromQueryAttribute Binds a parameter from a query string value (exchange.In.Headers["query.{name}"]).
C FromRouteAttribute Binds a parameter from a route path segment (extracted from template matching, e.g. {id}).
C GrpcMethodAttribute Maps a controller method to the name gRPC callers dispatch on (dispatch-method). Optional:
C HttpDeleteAttribute Marks a controller action as handling DELETE requests.
C HttpGetAttribute Marks a controller action as handling GET requests.
C HttpMethodAttribute Base attribute for HTTP method markers on controller actions.
C HttpPatchAttribute Marks a controller action as handling PATCH requests.
C HttpPostAttribute Marks a controller action as handling POST requests.
C HttpPutAttribute Marks a controller action as handling PUT requests.
C RouteAttribute Specifies the base route path for a controller.
C SoapOperationAttribute Maps a controller method to a SOAP operation — the local name of the <soap:Body> root element

Enums

E HttpMethodType HTTP method type for route matching.

redb.Route.Controllers.Extensions

Classes

C ControllerRouteExtensions DSL extension methods for dispatching exchanges to actions.