AutoWrapper.Core
1.0.0-rc
See the version list below for details.
dotnet add package AutoWrapper.Core --version 1.0.0-rc
NuGet\Install-Package AutoWrapper.Core -Version 1.0.0-rc
<PackageReference Include="AutoWrapper.Core" Version="1.0.0-rc" />
paket add AutoWrapper.Core --version 1.0.0-rc
#r "nuget: AutoWrapper.Core, 1.0.0-rc"
// Install AutoWrapper.Core as a Cake Addin #addin nuget:?package=AutoWrapper.Core&version=1.0.0-rc&prerelease // Install AutoWrapper.Core as a Cake Tool #tool nuget:?package=AutoWrapper.Core&version=1.0.0-rc&prerelease
Features:
- Handle unexpected errors
- Handle ModelState validation errors (support both Data Annotation and FluentValidation)
- A configurable custom API exception
- A consistent response object for Result and Errors
- A detailed Result response
- A detailed Error response
- A configurable HTTP StatusCodes
- Add Swagger support
- Add Logging support for Request, Response and Exceptions
- Add options in the middleware to set the API version
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
-
.NETCoreApp 3.0
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.AspNetCore.Mvc.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Logging (>= 3.0.0-preview9.19423.4)
- Newtonsoft.Json (>= 12.0.3-beta1)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on AutoWrapper.Core:
Package | Downloads |
---|---|
MarketingBox.Sdk.Common
Package Description |
|
CodeZero
CodeZero is a set of common implementations to help you implementing Clean Architecture, DDD, CQRS, Specification Patterns and another facilities for new modern web applications is an open-source project written in .NET Core. |
|
GlobalShared.CommonUtils.Library
Common Utilities Used For Project. 1.The Utils class offers helper functions for string manipulation, data conversion, configuration retrieval (Appsettings and Web.Config), encryption (SHA-256) and MD5, formatting (currency, date), and standardized response handling. 2.The RestExtension class extends HttpClient, providing async methods for GET, POST, and PATCH requests. It handles headers, request creation, response deserialization, and error handling via ApiResponse. It supports JSON, lists, and binary data (PDFs) with cancellation tokens to prevent long-running requests. Potential improvements include strongly typed models, better logging, and optimized header management. 3.The Logs class manages structured logging for security (SIEMLogs), exceptions, and API requests. It dynamically creates log files, ensures directory existence, sets access permissions, and timestamps entries for monitoring, debugging, and auditing. 4.DataServiceUtils provides async methods for executing SQL queries using SqlConnection. It includes GetScalarAsync for fetching a single value and ExecuteNonQueryAsync for non-query commands, both supporting optional SQL parameters. It ensures resource management and preserves exception stack traces, but CommandTimeout = 0 may cause indefinite waits. 5.MongoDataServiceUtils is a utility class that provides asynchronous CRUD operations for MongoDB. It includes methods for inserting (InsertDocumentAsync), updating (UpdateDocumentAsync), retrieving (GetDocumentsAsync), and deleting (DeleteDocumentAsync) documents based on filter criteria. Additionally, it offers a synchronous method (CountDocuments) to count documents in a collection. This class simplifies MongoDB interactions by providing reusable and efficient database operations. |
|
Shaesk.Auth
This package add auth controller your project auto. check sample project open github. |
|
Advaita.CommonUtils.Library
Common Utilities Used For Project. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on AutoWrapper.Core:
Repository | Stars |
---|---|
proudmonkey/ApiBoilerPlate
A simple yet organized project template for building ASP.NET Core APIs in .NET Core 3.1
|
Version | Downloads | Last updated |
---|---|---|
5.0.0-rc-04 | 3,164 | 7/11/2023 |
5.0.0-rc-03 | 20,260 | 8/25/2021 |
5.0.0-rc-02 | 1,526 | 8/13/2021 |
5.0.0-rc | 1,523 | 8/4/2021 |
4.5.1 | 214,016 | 7/11/2023 |
4.5.0 | 1,092,635 | 3/9/2021 |
4.4.0 | 20,016 | 2/4/2021 |
4.3.2 | 14,073 | 1/12/2021 |
4.3.1 | 79,072 | 9/23/2020 |
4.3.0 | 22,549 | 8/3/2020 |
4.2.2 | 71,853 | 6/4/2020 |
4.2.1 | 1,933 | 6/3/2020 |
4.2.0 | 2,369 | 6/2/2020 |
4.2.0-rc | 1,793 | 5/23/2020 |
4.1.0 | 31,679 | 4/19/2020 |
4.1.0-rc2 | 1,901 | 3/17/2020 |
4.1.0-rc | 1,670 | 3/16/2020 |
4.0.1 | 67,800 | 3/15/2020 |
4.0.0 | 8,337 | 3/3/2020 |
4.0.0-rc | 1,893 | 2/26/2020 |
3.0.0 | 25,272 | 2/2/2020 |
2.1.0 | 51,401 | 11/9/2019 |
2.0.2 | 2,205 | 11/6/2019 |
2.0.1 | 4,207 | 10/17/2019 |
2.0.0-rc2 | 1,734 | 10/15/2019 |
2.0.0-rc | 1,690 | 10/14/2019 |
1.2.0 | 2,055 | 10/7/2019 |
1.1.0 | 1,916 | 10/4/2019 |
1.0.0 | 3,368 | 9/23/2019 |
1.0.0-rc | 836 | 9/14/2019 |
pre-release for .NET Core 3.x