Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : huzcodes.endpoints

huzcodes.Endpointsis is a C# .NET 8 package designed to facilitate the implementation of the REPR design pattern. It provides four abstract classes for creating endpoints, two without authorization ('EndpointsSync' and 'EndpointsAsync'), and two with authorization ('AuthorizedEndpointsSync' and 'AuthorizedEndpointsAsync'). These classes offer a structured approach to defining endpoints, handling requests and responses, and integrating authorization using JWT tokens. The package includes several features to simplify endpoint development, including support for: - Creating endpoints with request and response classe. - Handling synchronous and asynchronous operations. - Structured response handling with or without ActionResult. - Creating endpoints with or without a request, and similarly, with or without a response. - Multi-source parameter binding (from body, query, and route). - File extension validation for uploaded files.

Registry - Homepage - JSON
purl: pkg:nuget/huzcodes.endpoints
Keywords: REPR, Endpoints, Routes
License: MIT
Latest release: 3 months ago
First release: 3 months ago
Downloads: 224 total
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago

    Loading...
    Readme
    Loading...