Skip to content

stratiteq/aspnetcore-extensions

Repository files navigation

Stratiteq.Extensions.AspNetCore

Stratiteq.Extensions.AspNetCore

Useful extension classes and methods for AspNetCore are found here.

Stratiteq.Extensions.AspNetCore.ProblemDetailsExtensions.ProblemDetailsWithErrorCode

Extends the ProblemDetails class with an error code.

Properties:

Property Description
ErrorCode Gets the unique code for identifying the specific error within this API.

Methods:

Method Description
CreateException Creates a ProblemDetailsWithErrorCodeException.

Stratiteq.Extensions.AspNetCore.ProblemDetailsExtensions.ProblemDetailsWithErrorCodeCollection

Collection of ProblemDetailsWithErrorCode objects. The error codes are guaranteed to be unique within this collection.

Methods:

Method Description
GetKeyForItem(ProblemDetailsWithErrorCode)

ProblemDetailsWithErrorCodeException

Exception that contains a ProblemDetailsWithErrorCode object.

Properties:

Property Description
ProblemDetailsWithErrorCode Gets the ProblemDetailsWithErrorCode instance.

Methods:

Method Description
ClearSensitiveInfo Clears data from the Title and Details fields in ProblemDetailsWithErrorCode

Stratiteq.Extensions.AspNetCore.Swagger

Extension methods making it easy to configure OAUTH2 for SwaggerUIOptions and SwaggerGenOptions on AspNetCore.

Published packages:

Package Status
Stratiteq.Extensions.AspNetCore Stratiteq.Extensions.AspNetCore
Stratiteq.Extensions.AspNetCore.Swagger Stratiteq.Extensions.AspNetCore.Swagger

Releases

No releases published

Packages

No packages published

Languages