FuelTaxAutomation.ConnectionStrings
1.0.7
A machine cental encrypted store for connectionStrings
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package FuelTaxAutomation.ConnectionStrings -Version 1.0.7
dotnet add package FuelTaxAutomation.ConnectionStrings --version 1.0.7
<PackageReference Include="FuelTaxAutomation.ConnectionStrings" Version="1.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FuelTaxAutomation.ConnectionStrings --version 1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FuelTaxAutomation.ConnectionStrings, 1.0.7"
#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.7
// Install FuelTaxAutomation.ConnectionStrings as a Cake Tool
#tool nuget:?package=FuelTaxAutomation.ConnectionStrings&version=1.0.7
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 LocalMachine Enviroment Variables manually.
//or (With Admin Rights)
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 LocalMachine Enviroment Variables manually.
//or (With Admin Rights)
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);
}
Dependencies
-
.NETFramework 4.6.1
- No dependencies.
-
.NETFramework 4.8.1
- No dependencies.
-
net6.0
- No dependencies.
Used By
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
|