Coreplex 1.0.1
See the version list below for details.
dotnet add package Coreplex --version 1.0.1
NuGet\Install-Package Coreplex -Version 1.0.1
<PackageReference Include="Coreplex" Version="1.0.1" />
<PackageVersion Include="Coreplex" Version="1.0.1" />
<PackageReference Include="Coreplex" />
paket add Coreplex --version 1.0.1
#r "nuget: Coreplex, 1.0.1"
#:package Coreplex@1.0.1
#addin nuget:?package=Coreplex&version=1.0.1
#tool nuget:?package=Coreplex&version=1.0.1
<?xml version="1.0"?>
<doc>
<assembly>
<name>Coreplex</name>
</assembly>
<members>
<member name="T:Coreplex.Behaviour.AuthorizationBehavior2"> <summary> MediatR pipeline behavior for handling authorization before processing a command. </summary> <typeparam name="TRequest">Request type that must implement ICommand</typeparam> <typeparam name="TResponse">Response type</typeparam> </member> <member name="M:Coreplex.Behaviour.AuthorizationBehavior2.#ctor(Coreplex.Behaviour.Interface.IAuthorizationService{0},Microsoft.AspNetCore.Http.IHttpContextAccessor)"> <summary> MediatR pipeline behavior for handling authorization before processing a command. </summary> <typeparam name="TRequest">Request type that must implement ICommand</typeparam> <typeparam name="TResponse">Response type</typeparam> </member> <member name="M:Coreplex.Behaviour.AuthorizationBehavior2.Handle(0,MediatR.RequestHandlerDelegate{1},System.Threading.CancellationToken)">
<summary>
Handle Authorization
</summary>
<param name="request"></param>
<param name="next"></param>
<param name="cancellationToken"></param>
<returns></returns>
<exception cref="T:System.UnauthorizedAccessException"></exception>
</member>
<member name="T:Coreplex.Behaviour.Interface.IAuthorizationService1"> <summary> Interface for authorization services that handle authorization logic for specific request types. </summary> <typeparam name="TRequest"></typeparam> </member> <member name="M:Coreplex.Behaviour.Interface.IAuthorizationService1.Authorize(0,System.Threading.CancellationToken)"> <summary> Authorizes the given request asynchronously. </summary> <param name="request"></param> <param name="cancellationToken"></param> <returns></returns> </member> <member name="T:Coreplex.Behaviour.Interface.ILoggerService1">
<summary>
ILoggerService interface for logging requests and results in a generic way.
</summary>
<typeparam name="TRequest"></typeparam>
</member>
<member name="M:Coreplex.Behaviour.Interface.ILoggerService1.Log(0,System.String)">
<summary>
Logs the request and result of a specific request type asynchronously.
</summary>
<param name="request"></param>
<param name="result"></param>
<returns></returns>
</member>
<member name="T:Coreplex.Behaviour.LoggingBehaviour2"> <summary> Creating mediatr pipeline behaviour for logging, which executes before and after a the request is handled. </summary> <typeparam name="TRequest"></typeparam> The request type being handled by the pipeline <typeparam name="TResponse"></typeparam> The response type being handled by the pipeline <param name="logger"></param> ILogger instance to log the request and response </member> <member name="M:Coreplex.Behaviour.LoggingBehaviour2.#ctor(Microsoft.Extensions.Logging.ILogger{Coreplex.Behaviour.LoggingBehaviour{0,1}},Coreplex.Behaviour.Interface.ILoggerService{0})"> <summary> Creating mediatr pipeline behaviour for logging, which executes before and after a the request is handled. </summary> <typeparam name="TRequest"></typeparam> The request type being handled by the pipeline <typeparam name="TResponse"></typeparam> The response type being handled by the pipeline <param name="logger"></param> ILogger instance to log the request and response </member> <member name="M:Coreplex.Behaviour.LoggingBehaviour2.Handle(0,MediatR.RequestHandlerDelegate{1},System.Threading.CancellationToken)">
<summary>
This method calls before and after MediatR handles a request
It log request processing and measure execution time
</summary>
<param name="request"></param>
<param name="next"></param>
<param name="cancellationToken"></param>
<returns></returns>
</member>
<member name="T:Coreplex.Behaviour.ValidationBehaviour2"> <summary> Creatind mediatr pipeline behaviour for validation ,which executes before and after a the request is handled. </summary> <typeparam name="TRequest"></typeparam> <typeparam name="Tresponse"></typeparam> <param name="validators"></param> </member> <member name="M:Coreplex.Behaviour.ValidationBehaviour2.#ctor(System.Collections.Generic.IEnumerable{FluentValidation.IValidator{0}})"> <summary> Creatind mediatr pipeline behaviour for validation ,which executes before and after a the request is handled. </summary> <typeparam name="TRequest"></typeparam> <typeparam name="Tresponse"></typeparam> <param name="validators"></param> </member> <member name="M:Coreplex.Behaviour.ValidationBehaviour2.Handle(0,MediatR.RequestHandlerDelegate{1},System.Threading.CancellationToken)">
<summary>
This method calls before and after MediatR handles a request
Ensure all defined FluentValidation rules are applied.
Call the next handler only if validation passes.
</summary>
<param name="request"></param> : Incoming request to be validated
<param name="next"></param> : The next handler in the pipeline
<param name="cancellationToken"></param> : The cancellation token
<returns></returns>
<exception cref="T:FluentValidation.ValidationException"></exception>
</member>
<member name="T:Coreplex.CQRS.ICommand">
<summary>
Represents a command request in a CQRS pattern that does not return a meaningful result.
This interface is used for operations that change the state of the system but do not need to return data.
It utilizes MediatR's <see cref="T:MediatR.Unit"/> as a placeholder for a void return type.
</summary>
</member>
<member name="T:Coreplex.CQRS.ICommand`1">
<summary>
Represents a command request in a CQRS pattern that expects a response of type TResponse.
This interface is used for operations that change the system's state and need to return data,
such as creating a new record and returning its identifier.
</summary>
<typeparam name="TResponse">
The type of the response returned by the command.
The 'notnull' constraint ensures that the response is always a valid non-null value.
</typeparam>
</member>
<member name="T:Coreplex.CQRS.IQuery`1">
<summary>
Represents a query request in a CQRS pattern that expects a response of type TResponse.
This interface is intended for operations that fetch data without modifying the system's state.
</summary>
<typeparam name="TResponse">
The type of response returned by the query.
The 'notnull' constraint ensures that the response is never null.
</typeparam>
</member>
<member name="M:Coreplex.Exceptions.BadRequestException.#ctor(System.String)">
<summary>
Constructor for BadRequestException with an error message
Allow throw exception with a message throw new BadException("Invalid request data.")
</summary>
<param name="messaage"></param>
</member>
<member name="M:Coreplex.Exceptions.BadRequestException.#ctor(System.String,System.String)">
<summary>
Constructor for BadRequestException with an error message and details
Allow throw exception with a message and details throw new BadException("Invalid request data.", "The request data is invalid.")
</summary>
<param name="messaage"></param>
<param name="details"></param>
</member>
<member name="P:Coreplex.Exceptions.BadRequestException.Details">
<summary>
</summary>
</member>
<member name="T:Coreplex.Exceptions.ConflictException">
<summary>
Represents an exception that occurs when a conflict is detected, such as a duplicate entry.
</summary>
</member>
<member name="M:Coreplex.Exceptions.ConflictException.#ctor(System.String)">
<summary>
Constructor for ConflictException with an error message.
</summary>
</member>
<member name="M:Coreplex.Exceptions.ConflictException.#ctor(System.String,System.String)">
<summary>
Constructor for ConflictException with additional details.
</summary>
<param name="name">The name of the entity or resource.</param>
<param name="reason">The reason for the conflict.</param>
</member>
<member name="P:Coreplex.Exceptions.ConflictException.Name">
<summary>
The name of the resource/entity that caused the conflict.
</summary>
</member>
<member name="P:Coreplex.Exceptions.ConflictException.Reason">
<summary>
The detailed reason for the conflict.
</summary>
</member>
<member name="T:Coreplex.Exceptions.Handler.CustomExceptionHandler">
<summary>
Custom exception handler to handle exceptions and return a consistent response.
</summary>
<param name="logger"></param>
</member>
<member name="M:Coreplex.Exceptions.Handler.CustomExceptionHandler.#ctor(Microsoft.Extensions.Logging.ILogger{Coreplex.Exceptions.Handler.CustomExceptionHandler})">
<summary>
Custom exception handler to handle exceptions and return a consistent response.
</summary>
<param name="logger"></param>
</member>
<member name="M:Coreplex.Exceptions.Handler.CustomExceptionHandler.TryHandleAsync(Microsoft.AspNetCore.Http.HttpContext,System.Exception,System.Threading.CancellationToken)">
<summary>
Handles the exception and returns a consistent response.
</summary>
Intercept before they reach the client
log error details
converts exceptions into structures HTTP response
<param name="context"></param>
<param name="exception"></param>
<param name="cancellationToken"></param>
<returns></returns>
</member>
<member name="T:Coreplex.Exceptions.InternalServerException">
<summary>
Represents an exception that occurs when an internal server error is encountered.
</summary>
</member>
<member name="M:Coreplex.Exceptions.InternalServerException.#ctor(System.String)">
<summary>
Constructor for InternalServerException with an error message
</summary>
<param name="messaage"></param>
</member>
<member name="M:Coreplex.Exceptions.InternalServerException.#ctor(System.String,System.String)">
<summary>
Constructor for InternalServerException with an error message and details
</summary>
<param name="messaage"></param>
<param name="details"></param>
</member>
<member name="P:Coreplex.Exceptions.InternalServerException.Details">
<summary>
Stores extra error details for debugging.
</summary>
</member>
<member name="T:Coreplex.Exceptions.NotFoundException">
<summary>
Represents an exception that occurs when an entity is not found.
</summary>
</member>
<member name="M:Coreplex.Exceptions.NotFoundException.#ctor(System.String)">
<summary>
Constructor for NotFoundException with an error message
Allow throw exception with a message throw new NotFoundException("Entity not found.")
</summary>
<param name="message"></param>
</member>
<member name="M:Coreplex.Exceptions.NotFoundException.#ctor(System.String,System.Object)">
<summary>
Constructor for NotFoundException with an error message and details
Allow throw exception with a message and details throw new NotFoundException("Entity not found.", "The entity was not found.")
</summary>
<param name="name"></param>
<param name="key"></param>
</member>
</members>
</doc>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- AutoMapper.Extensions.Microsoft.DependencyInjection (>= 12.0.1)
- FluentValidation (>= 11.11.0)
- FluentValidation.AspNetCore (>= 11.3.0)
- FluentValidation.DependencyInjectionExtensions (>= 11.11.0)
- MediatR (>= 12.4.1)
- Microsoft.EntityFrameworkCore (>= 8.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.0)
- Microsoft.FeatureManagement.AspNetCore (>= 4.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.