Skip to content
Documentation

MvcBuilderExtensions Class

Provides extension methods for adding the HAKOM Automation bulk API to an MVC-based HTTP service.

public static class MvcBuilderExtensions

Inheritance System.Object 🡒 MvcBuilderExtensions

MvcBuilderExtensions.AddAutomation(this IMvcBuilder) Method

Section titled “MvcBuilderExtensions.AddAutomation(this IMvcBuilder) Method”

Adds the HAKOM Automation bulk API to the service, exposing the POST /automation/bulk endpoint via BulkController.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddAutomation(this Microsoft.Extensions.DependencyInjection.IMvcBuilder mvcBuilder);

mvcBuilder Microsoft.Extensions.DependencyInjection.IMvcBuilder

The Microsoft.Extensions.DependencyInjection.IMvcBuilder to add the automation API to.

Microsoft.Extensions.DependencyInjection.IMvcBuilder
The mvcBuilder for chaining additional setup.

After calling this method, clients can submit a JSON bulk request to POST /automation/bulk. The endpoint will route each item to the matching action and - if that action is annotated with a BulkHandlerAttribute<THandler,TResult> or BulkHandlerAttribute<THandler,TBody,TResult> - delegate processing to the registered handler.

Bulk handlers that are referenced by BulkHandlerAttribute<THandler,TResult> or BulkHandlerAttribute<THandler,TBody,TResult> attributes must be registered separately in the dependency injection container before the first request is processed.

© 2026 Volue.Version v0.6.38017 November 2026