Table of Contents

Namespace JsonApiDotNetCore.Controllers

Classes

BaseJsonApiController<TResource, TId>

Implements the foundational ASP.NET controller layer in the JsonApiDotNetCore architecture that delegates to a Resource Service.

BaseJsonApiOperationsController

Implements the foundational ASP.NET controller layer in the JsonApiDotNetCore architecture for handling atomic:operations requests. See https://jsonapi.org/ext/atomic/ for details. Delegates work to IOperationsProcessor.

CoreJsonApiController

Provides helper methods to raise JSON:API compliant errors from controller actions.

JsonApiCommandController<TResource, TId>

The base class to derive resource-specific write-only controllers from. Returns HTTP 405 on read-only endpoints. If you want to provide routing templates yourself, you should derive from BaseJsonApiController directly.

JsonApiController<TResource, TId>

The base class to derive resource-specific controllers from. This class delegates all work to BaseJsonApiController<TResource, TId> but adds attributes for routing templates. If you want to provide routing templates yourself, you should derive from BaseJsonApiController directly.

JsonApiOperationsController

The base class to derive atomic:operations controllers from. This class delegates all work to BaseJsonApiOperationsController but adds attributes for routing templates. If you want to provide routing templates yourself, you should derive from BaseJsonApiOperationsController directly.

JsonApiQueryController<TResource, TId>

The base class to derive resource-specific read-only controllers from. Returns HTTP 405 on write-only endpoints. If you want to provide routing templates yourself, you should derive from BaseJsonApiController directly.

PreserveEmptyStringAttribute

Enums

JsonApiEndpoints