HAKOM.TSM.Http.Net Assembly
Shared HTTP infrastructure for the HAKOM PowerTSM HTTP API, providing model binders, Swagger/OpenAPI configuration, HTTP context extensions, and base controller types.
Remarks
Section titled “Remarks”This assembly bridges the core TSM domain model (HAKOM.TSM.Net) with ASP.NET Core
by supplying the plumbing required to expose time series operations as HTTP endpoints.
It is a packable library (.Net suffix) that does not contain runnable controllers
itself; those live in HAKOM.TSM.Http.
Key areas:
- ContainerExtensions — Registers model binders, default storage information providers, Swagger option setups, and HTTP context parameter providers with the DI container.
- HttpContextExtensions — Extension methods on Microsoft.AspNetCore.Http.HttpContext for passing TSM repository and store state through the request pipeline.
- EnumerationController<TStruct,TValue> — Base controller for exposing endpoints that look up known values of enumeration-like types (flags, function types, interval types, etc.).
Register all TSM HTTP services in a single call:
using HAKOM.TSM.Http.Net.Api.Extensions;
container .UseTsmModelBinders() .UseTsmSwaggerOptionSetups() .UseDefaultStorageInformationProviders() .UseDefaultHttpContextParameterProviders();| Namespaces | |
|---|---|
| HAKOM.TSM.Http.Net.Api | Contains the public API surface of the TSM HTTP infrastructure library, including base controller types, shared interfaces, and HTTP-level exception types. |
| HAKOM.TSM.Http.Net.Api.Attributes.Lists | HTTP-specific types for list attribute handling, including the ListAttributeUnitResultContent bound from the include query parameter of the list attribute units endpoint. |
| HAKOM.TSM.Http.Net.Api.Attributes.Nodes | HTTP-specific types for node handling, including the INodeIdList interface used to represent multiple node identifiers in URI paths. |
| HAKOM.TSM.Http.Net.Api.Bulking | |
| HAKOM.TSM.Http.Net.Api.Exceptions | Exceptions thrown when the HTTP request pipeline cannot obtain required TSM stores or references from the current request context. |
| HAKOM.TSM.Http.Net.Api.Extensions | Extension methods for integrating TSM HTTP services with IContainer and Microsoft.AspNetCore.Http.HttpContext. |
Was this page helpful?Thanks for your feedback!