See the version list below for details.
dotnet add package TSI.DotNet.Utilities --version 1.0.2
NuGet\Install-Package TSI.DotNet.Utilities -Version 1.0.2
<PackageReference Include="TSI.DotNet.Utilities" Version="1.0.2" />
paket add TSI.DotNet.Utilities --version 1.0.2
#r "nuget: TSI.DotNet.Utilities, 1.0.2"
// Install TSI.DotNet.Utilities as a Cake Addin #addin nuget:?package=TSI.DotNet.Utilities&version=1.0.2 // Install TSI.DotNet.Utilities as a Cake Tool #tool nuget:?package=TSI.DotNet.Utilities&version=1.0.2
TSI Dotnet Utility Components
Use the nuget package manager TSI Dotnet Utility to install component.
Install-Package TSI.DotNet.Utilities -Version 1.0.1
Encrypt and Decrypt your strings.
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.
To tight up the user information security.
//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");
Compress image for custom size
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.
//Import Namespace using TSI.DotNet.Utilities; ImageCompression.Compress.Start("Required Image size","Input image path","Output image path to save after compressed");
To avoid sharing reports as xls file in email, when multiple report user trying to comment the report from various places as single file.
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.
//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.|
|.NET Core||netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
- GoogleSheet Generation