TSI.DotNet.Utilities 1.0.2

There is a newer version of this package available.
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                
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="TSI.DotNet.Utilities" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TSI.DotNet.Utilities --version 1.0.2                
#r "nuget: TSI.DotNet.Utilities, 1.0.2"                
#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 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

Installation

Use the nuget package manager TSI Dotnet Utility to install component.

Install-Package TSI.DotNet.Utilities -Version 1.0.1

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 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. 
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.0.3 622 3/20/2020
1.0.2 447 3/16/2020
1.0.1 500 3/14/2020
1.0.0 481 3/4/2020

- GoogleSheet Generation