Bye-Common-Code 1.0.0

Bye Bye Common Code

A nuget package containing: Emailer, Common Document Generator, An Http Form and File Uploader, Java Script (Angular/JQuery), String Validator (Phone, Email, International Phone, Number, ect.) in Constant Time, XSS and Xml String Manipulator, and a Symmetric Key Base 64 Encryptor and Decryptor.

Install-Package Bye-Common-Code -Version 1.0.0
dotnet add package Bye-Common-Code --version 1.0.0
<PackageReference Include="Bye-Common-Code" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bye-Common-Code --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package gives you all the code you write that is the same for every single company and project.
This includes: Symmetric Key Encryption/Decryption, Emailing, Making Form Submissions, File Upload Forms, Java Script JQuery/Angular JS File Generation for Model Classes (GetAll and FindById methods), Validation of Strings, XSS and XML String cleaning, and CSV and XML Document Generation.
This is given free of charge under the MIT License.

The Encryptor does Symmetric Key Encryption then converts the encryption text to base 64.
Encryption/Decryption requires a salt, a viKey, and a password.
The code is stateless meaning no set up.
The Mime Types Supported are Excel Files, Docx Files, Doc files, PDFs, and more.
Valid mime types are found in the MimeType enumeration.
Every string validation is constant time save the international phone validation which is big O(n).
Form Submission With File Upload needs maxrequest/response and httpruntime to be set in the web config or to run in a separate thread.
Email, Decryption and Encryption assumes UTF8 Encoding.
Java Script/Type Script Generation generates per object and assumes you can get/write the System.config.js, NgModule.ts, Routes.ts and only generates the [ObjectName].Service.ts and [ObjectName].Conponent.ts with the [ObjectName].html template file.
Some methods require models to be passed in. The models have common sense names save XmlTreeModel: Which assumes you can build a Tree using the data structure's NodeModel which is just an xml node with 0+ children and 0+ attributes.

This package gives you all the code you write that is the same for every single company and project.
This includes: Symmetric Key Encryption/Decryption, Emailing, Making Form Submissions, File Upload Forms, Java Script JQuery/Angular JS File Generation for Model Classes (GetAll and FindById methods), Validation of Strings, XSS and XML String cleaning, and CSV and XML Document Generation.
This is given free of charge under the MIT License.

The Encryptor does Symmetric Key Encryption then converts the encryption text to base 64.
Encryption/Decryption requires a salt, a viKey, and a password.
The code is stateless meaning no set up.
The Mime Types Supported are Excel Files, Docx Files, Doc files, PDFs, and more.
Valid mime types are found in the MimeType enumeration.
Every string validation is constant time save the international phone validation which is big O(n).
Form Submission With File Upload needs maxrequest/response and httpruntime to be set in the web config or to run in a separate thread.
Email, Decryption and Encryption assumes UTF8 Encoding.
Java Script/Type Script Generation generates per object and assumes you can get/write the System.config.js, NgModule.ts, Routes.ts and only generates the [ObjectName].Service.ts and [ObjectName].Conponent.ts with the [ObjectName].html template file.
Some methods require models to be passed in. The models have common sense names save XmlTreeModel: Which assumes you can build a Tree using the data structure's NodeModel which is just an xml node with 0+ children and 0+ attributes.

Release Notes

I hereby release this package as part of the MIT License which gives you unlimited use.
Released March 18, 2018

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 320 3/19/2018