fluent API

An API designed so each call returns an object you can call the next method on, letting configuration read as one chained sentence.

In more detail

Each call configures one thing, so the chain reads top to bottom as a list of settings. services.AddOptions<CatalogOptions>().BindConfiguration(...).ValidateOnStart() and FluentValidation's RuleFor(...).NotEmpty() are fluent APIs.

Related terms

Taught in

References