TSI.DotNet.Utilities
1.0.1
See the version list below for details.
dotnet add package TSI.DotNet.Utilities --version 1.0.1
NuGet\Install-Package TSI.DotNet.Utilities -Version 1.0.1
<PackageReference Include="TSI.DotNet.Utilities" Version="1.0.1" />
paket add TSI.DotNet.Utilities --version 1.0.1
#r "nuget: TSI.DotNet.Utilities, 1.0.1"
// Install TSI.DotNet.Utilities as a Cake Addin #addin nuget:?package=TSI.DotNet.Utilities&version=1.0.1 // Install TSI.DotNet.Utilities as a Cake Tool #tool nuget:?package=TSI.DotNet.Utilities&version=1.0.1
TSI Dotnet Utility Components
Installation
Use the nuget package manager TSI Dotnet Utility to install component.
Install-Package TSI.DotNet.Utilities -Version 1.0.2
1. Cryptography
Encrypt and Decrypt your strings.
Description
Library to encrypt and decrypt the user registered password. Here we are going to maintain the custom key in configuration, so that the component user can set various key based on their projects to make the library unique.
Goal
To tight up the user information security.
Usage
//Import Namespace
using TSI.DotNet.Utilities;
//Encryption
Cryptography cryptography = new Cryptography();
string encryptedText = cryptography.Encryption("Your encryption text", "Your secret key");
//Decryption
Cryptography cryptography = new Cryptography();
string decryptedText = cryptography.Decryption("Your decryption text", "Your secret key");
2. ImageCompression
Compress image for custom size
Description
Whenever the website or Mobile app users uploading the high pixel/resolution images or requirement to create a copy of thumbnail for an image uploaded, we can use this image compression library to compress the image with valid resolution. The component user have option to configure the compress resolution from settings.
Usage
//Import Namespace
using TSI.DotNet.Utilities;
ImageCompression.Compress.Start("Required Image size","Input image path","Output image path to save after compressed");
3. GoogleSheet
To avoid sharing reports as xls file in email, when multiple report user trying to comment the report from various places as single file.
Description
When a customer requested to generate their reports through google sheet Daily, Weekly, Monthly or custom schedule basis, the component user can use this library by passing a set of database records, Sheetname, title etc., to create Google sheet records.
Usage
//Import Namespace
using TSI.DotNet.Utilities;
Steps to configure google sheet account
1. Login to your google sheet generation gmail account and go to https://developers.google.com/sheets/api/quickstart/dotnet
2. Click "Enable the Google Sheets API"
3. Download credentials.json file and place in project main folder.
ex: GoogleSheetLibrary\bin\Debug\credentials.json
GoogleSheet.GenerateGoogleSheet("Your google sheetname", "IList set of data to bind in sheet")
Note: IList first row should be set of column names
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. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.0
- Newtonsoft.Json (>= 10.0.2)
- SixLabors.ImageSharp (>= 1.0.0-beta0007)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- ImageCompression