GlobalShared.CommonUtils.Library
4.0.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package GlobalShared.CommonUtils.Library --version 4.0.4
NuGet\Install-Package GlobalShared.CommonUtils.Library -Version 4.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GlobalShared.CommonUtils.Library" Version="4.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GlobalShared.CommonUtils.Library --version 4.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GlobalShared.CommonUtils.Library, 4.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GlobalShared.CommonUtils.Library as a Cake Addin #addin nuget:?package=GlobalShared.CommonUtils.Library&version=4.0.4 // Install GlobalShared.CommonUtils.Library as a Cake Tool #tool nuget:?package=GlobalShared.CommonUtils.Library&version=4.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
1.The Utils class offers helper functions for string manipulation, data conversion, configuration retrieval (Appsettings and Web.Config), encryption (SHA-256), 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.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- AutoWrapper.Core (>= 4.5.1)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.1)
- Microsoft.Extensions.Configuration (>= 9.0.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.1)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 9.0.1)
- Microsoft.Extensions.Configuration.FileExtensions (>= 9.0.1)
- Microsoft.Extensions.Configuration.Json (>= 9.0.1)
- Microsoft.Extensions.FileProviders.Abstractions (>= 9.0.1)
- Microsoft.Extensions.FileProviders.Physical (>= 9.0.1)
- Microsoft.Extensions.FileSystemGlobbing (>= 9.0.1)
- Microsoft.Extensions.Primitives (>= 9.0.1)
- Newtonsoft.Json (>= 13.0.3)
- System.Buffers (>= 4.5.1)
- System.Configuration.ConfigurationManager (>= 7.0.0)
- System.Memory (>= 4.5.5)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
- System.Text.Encodings.Web (>= 9.0.1)
- System.Text.Json (>= 9.0.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.