FuelTaxAutomation.ConnectionStrings 1.0.3

A machine cental encrypted store for connectionStrings

There is a newer version of this package available.
See the version list below for details.
Install-Package FuelTaxAutomation.ConnectionStrings -Version 1.0.3
dotnet add package FuelTaxAutomation.ConnectionStrings --version 1.0.3
<PackageReference Include="FuelTaxAutomation.ConnectionStrings" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FuelTaxAutomation.ConnectionStrings --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FuelTaxAutomation.ConnectionStrings, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install FuelTaxAutomation.ConnectionStrings as a Cake Addin
#addin nuget:?package=FuelTaxAutomation.ConnectionStrings&version=1.0.3

// Install FuelTaxAutomation.ConnectionStrings as a Cake Tool
#tool nuget:?package=FuelTaxAutomation.ConnectionStrings&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

What is ConnectionStrings?

it is a simple way for the FTA developers to centalize all of their connections stings in one place on the computer. Encrypted and secure.

How to use ConnectionStrings?


include FuelTaxAutomation.ConnectionStrings;



//To get a encrypted connection string
var connectionString = "Server=localhost;Database=FuelTaxAutomation;User Id=sa;Password=Poop1;";
string encryptedConnectionString = ConnectionString.GenerateEncrypted(connectionString);
// Copy the encrypted connection string and paste it in the Enviroment Variables manually.

//Or

//Set the the Enviroment variable directly
ConnectionString.SetByName("FuelTaxAutomation", connectionString);

//Then to get the connection string from all your apps
var liveConnectionString = ConnectionString.GetByName("FuelTaxAutomation");

if (liveConnectionString == null)
{
	Console.WriteLine("Connection string not found");
}
else
{
	Console.WriteLine(liveConnectionString);
}

What is ConnectionStrings?

it is a simple way for the FTA developers to centalize all of their connections stings in one place on the computer. Encrypted and secure.

How to use ConnectionStrings?


include FuelTaxAutomation.ConnectionStrings;



//To get a encrypted connection string
var connectionString = "Server=localhost;Database=FuelTaxAutomation;User Id=sa;Password=Poop1;";
string encryptedConnectionString = ConnectionString.GenerateEncrypted(connectionString);
// Copy the encrypted connection string and paste it in the Enviroment Variables manually.

//Or

//Set the the Enviroment variable directly
ConnectionString.SetByName("FuelTaxAutomation", connectionString);

//Then to get the connection string from all your apps
var liveConnectionString = ConnectionString.GetByName("FuelTaxAutomation");

if (liveConnectionString == null)
{
	Console.WriteLine("Connection string not found");
}
else
{
	Console.WriteLine(liveConnectionString);
}

  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.8.1

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on FuelTaxAutomation.ConnectionStrings:

Package Downloads
FuelTaxAutomation.Logging.Serilog
A simple pre-configured Serilog logger for AFTR.
ProMiles.FuelTaxAutomation.UseCases
Package Description

Version History

Version Downloads Last updated
1.0.16 0 11/19/2024
1.0.15 0 6/4/2024
1.0.14 0 6/4/2024
1.0.13 0 5/28/2024
1.0.12 0 5/24/2024
1.0.8 0 5/23/2024
1.0.7 0 5/22/2024
1.0.6 0 5/22/2024
1.0.5 0 5/21/2024
1.0.4 0 5/16/2024
1.0.3 0 5/16/2024
1.0.2 0 5/16/2024
1.0.1 0 5/16/2024
Show less