Anomali.Shared.Library 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anomali.Shared.Library --version 1.0.4
                    
NuGet\Install-Package Anomali.Shared.Library -Version 1.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="Anomali.Shared.Library" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anomali.Shared.Library" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Anomali.Shared.Library" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Anomali.Shared.Library --version 1.0.4
                    
#r "nuget: Anomali.Shared.Library, 1.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.
#:package Anomali.Shared.Library@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Anomali.Shared.Library&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Anomali.Shared.Library&version=1.0.4
                    
Install as a Cake Tool

Anomali Shared Library for Net6.

This library is internally used to build various projects by Anomali Studio.

*Instruction To build package:

  • Make sure it's on debug and go to Build > Pack AnomaliLibrary
  • Find the package at bin > debug > ....nupkg
  • Go to Nuget website and upload the package file there.

*Add these in the Program.cs: builder.Services.AddControllers(options ⇒ { options.Filters.Add(new GlobalExceptionFilter()); }); SharedLibrary.Configuration = app.Configuration;

*Add these in the appsettings.json: "EncKey": [INSERT STRONG PASSWORD], "Mailing": { "SenderEmail": "no-reply@anomalistudio.com", "SenderName": "Anomali Studio", "SupportEmail": "support@anomalistudio.com" }, "SMTP": { "Username": "localhost", "Port": 25, "Username": "", "Password": "", "IsUseSSL": false }

*Available Classes **EncryptDecrypt Encrypt Decrypt **GlobalExceptionFilter **HttpClientRequest GET POST **HttpRequestExtensions GetAbsoluteUri GetPath GetHost GetUserDevice **MailService SenderName SenderEmail Recipient Subject Body Attachment **RandomChar Alphabet Numeric AlphaNumeric **SharedLibrary NewId Base64Encode Base64Decode Base64EncodeFromImagePath Slugify TruncateText **SharedResponseMsg SuccessLoad (200001) SuccesError (200002) AuthInvalidUser (400001) AuthInvalidPassword (400002) AuthInvalidOTP (400003) NullData (400004) AuthUnauthorized (401001) AuthForbidden (401002) GlobalException (500001)

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.28 130 7/14/2025
1.1.27 132 7/14/2025
1.1.26 121 7/4/2025
1.1.25 139 12/2/2024
1.1.24 158 5/18/2024
1.1.23 136 5/17/2024
1.1.22 145 5/17/2024
1.1.21 147 5/17/2024
1.1.20 147 5/17/2024
1.1.19 139 5/15/2024
1.1.18 135 5/15/2024
1.1.17 128 5/15/2024
1.1.16 167 1/31/2024
1.1.15 328 2/14/2023
1.1.14 431 11/1/2022
1.1.13 501 9/7/2022
1.1.12 503 8/21/2022
1.1.11 514 8/13/2022
1.1.10 542 6/29/2022
1.1.9 549 6/25/2022
1.1.8 533 6/22/2022
1.1.7 502 6/22/2022
1.1.6 563 6/22/2022
1.1.5 551 6/22/2022
1.1.4 539 6/22/2022
1.1.3 542 6/22/2022
1.1.2 526 6/22/2022
1.1.1 547 6/20/2022
1.1.0 546 6/20/2022
1.0.6 531 6/20/2022
1.0.5 550 5/25/2022
1.0.4 645 2/9/2022
1.0.3 625 2/9/2022
1.0.2 602 2/8/2022
1.0.1 626 2/6/2022
1.0.0 631 2/6/2022

Update script to get host url