Anomali.Shared.Library
1.1.0
See the version list below for details.
dotnet add package Anomali.Shared.Library --version 1.1.0
NuGet\Install-Package Anomali.Shared.Library -Version 1.1.0
<PackageReference Include="Anomali.Shared.Library" Version="1.1.0" />
<PackageVersion Include="Anomali.Shared.Library" Version="1.1.0" />
<PackageReference Include="Anomali.Shared.Library" />
paket add Anomali.Shared.Library --version 1.1.0
#r "nuget: Anomali.Shared.Library, 1.1.0"
#:package Anomali.Shared.Library@1.1.0
#addin nuget:?package=Anomali.Shared.Library&version=1.1.0
#tool nuget:?package=Anomali.Shared.Library&version=1.1.0
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
FileManager
ReadDirectory
UploadFile
SharedResponseMsg
SuccessLoad (200001)
SuccesError (200002)
AuthInvalidUser (400001)
AuthInvalidPassword (400002)
AuthInvalidOTP (400003)
NullData (400004)
AuthUnauthorized (401001)
AuthForbidden (401002)
GlobalException (500001)
#Release Notes
##1.1.0 Improve Filemanager and add ability to delete file
##1.0.6 Add Filemanager function to read folder and write file
Product | Versions 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. |
-
net6.0
- MailKit (>= 3.1.1)
- Microsoft.AspNetCore.Mvc (>= 2.2.0)
- MimeKit (>= 3.1.1)
- SixLabors.ImageSharp (>= 2.1.3)
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.32 | 134 | 9/8/2025 |
1.1.31 | 146 | 9/3/2025 |
1.1.30 | 142 | 9/2/2025 |
1.1.29 | 129 | 9/2/2025 |
1.1.28 | 150 | 7/14/2025 |
1.1.27 | 147 | 7/14/2025 |
1.1.26 | 137 | 7/4/2025 |
1.1.25 | 151 | 12/2/2024 |
1.1.24 | 170 | 5/18/2024 |
1.1.23 | 148 | 5/17/2024 |
1.1.22 | 157 | 5/17/2024 |
1.1.21 | 159 | 5/17/2024 |
1.1.20 | 159 | 5/17/2024 |
1.1.19 | 151 | 5/15/2024 |
1.1.18 | 147 | 5/15/2024 |
1.1.17 | 140 | 5/15/2024 |
1.1.16 | 179 | 1/31/2024 |
1.1.15 | 339 | 2/14/2023 |
1.1.14 | 443 | 11/1/2022 |
1.1.13 | 513 | 9/7/2022 |
1.1.12 | 515 | 8/21/2022 |
1.1.11 | 526 | 8/13/2022 |
1.1.10 | 555 | 6/29/2022 |
1.1.9 | 561 | 6/25/2022 |
1.1.8 | 545 | 6/22/2022 |
1.1.7 | 514 | 6/22/2022 |
1.1.6 | 575 | 6/22/2022 |
1.1.5 | 563 | 6/22/2022 |
1.1.4 | 551 | 6/22/2022 |
1.1.3 | 554 | 6/22/2022 |
1.1.2 | 538 | 6/22/2022 |
1.1.1 | 559 | 6/20/2022 |
1.1.0 | 558 | 6/20/2022 |
1.0.6 | 543 | 6/20/2022 |
1.0.5 | 562 | 5/25/2022 |
1.0.4 | 658 | 2/9/2022 |
1.0.3 | 637 | 2/9/2022 |
1.0.2 | 614 | 2/8/2022 |
1.0.1 | 638 | 2/6/2022 |
1.0.0 | 643 | 2/6/2022 |
Update script to get host url