andrewlock-ci - dotnet-config2json 0.3.0

A simple tool for migrating a web.config file to an appsettings.json file

PM> Install-Package dotnet-config2json -Version 0.3.0 -Source https://www.myget.org/F/andrewlock-ci/api/v3/index.json

Copy to clipboard

> nuget.exe install dotnet-config2json -Version 0.3.0 -Source https://www.myget.org/F/andrewlock-ci/api/v3/index.json

Copy to clipboard

> dotnet tool install -g dotnet-config2json --version 0.3.0 --add-source https://www.myget.org/F/andrewlock-ci/api/v3/index.json

Copy to clipboard
<DotNetCliToolReference Include="dotnet-config2json" Version="0.3.0" />
Copy to clipboard
source https://www.myget.org/F/andrewlock-ci/api/v3/index.json

nuget dotnet-config2json  ~> 0.3.0
Copy to clipboard

> choco install dotnet-config2json --version 0.3.0 --source https://www.myget.org/F/andrewlock-ci/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "andrewlock-ci" -SourceLocation "https://www.myget.org/F/andrewlock-ci/api/v2"
Install-Module -Name "dotnet-config2json" -RequiredVersion "0.3.0" -Repository "andrewlock-ci" 
Copy to clipboard

dotnet-config2json

AppVeyor build status

NuGet MyGet

A simple tool to convert a web.config file to an appsettings.json file.

Installation

The latest release of dotnet-config2json requires the 2.1.300 .NET Core SDK or newer. It also works with .NET Core 2.2. and .NET Core 3.1. Once installed, run this command:

dotnet tool install --global dotnet-config2json

Usage

Usage: dotnet config2json [arguments] [options]

Arguments:
  path          Path to the file or directory to migrate
  delimiter     The character in keys to replace with the section delimiter (:)
  prefix        If provided, an additional namespace to prefix on generated keys

Options:
  -?|-h|--help  Show help information

Performs basic migration of an xml .config file to
a JSON file. Uses the 'key' value as the key, and the
'value' as the value. Can optionally replace a given
character with the section marker (':').
  • .NETCoreApp 2.1: 2.1.0.0
  • .NETCoreApp 2.2: 2.2.0.0
  • .NETCoreApp 3.1: 3.1.0.0

Owners

Andrew Lock

Authors

Andrew Lock

Project URL

https://github.com/andrewlock/dotnet-config2json

License

MIT

Info

961 total downloads
66 downloads for version 0.3.0
Download (1.1 MB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
0.3.0 1.1 MB Thu, 09 Jan 2020 22:19:57 GMT 66
0.3.0-rtm.16 1.1 MB Thu, 09 Jan 2020 22:15:45 GMT 66
0.3.0-rtm.14 1.1 MB Thu, 09 Jan 2020 22:00:20 GMT 73
0.2.2 380.61 KB Mon, 04 Mar 2019 19:47:11 GMT 63
0.2.2-rtm.10 380.62 KB Mon, 04 Mar 2019 19:42:48 GMT 64
0.2.2-rtm.9 380.62 KB Mon, 04 Mar 2019 19:39:19 GMT 75
0.2.1 380.18 KB Thu, 31 May 2018 13:08:53 GMT 74
0.2.1-rtm.8 380.22 KB Sun, 16 Sep 2018 13:41:47 GMT 68
0.2.1-rtm.6 380.19 KB Thu, 31 May 2018 13:07:58 GMT 67
0.2.0 380.15 KB Thu, 31 May 2018 13:06:06 GMT 66
0.2.0-rtm.4 380.16 KB Thu, 31 May 2018 13:04:58 GMT 69
0.1.0 380.24 KB Thu, 10 May 2018 08:31:03 GMT 68
0.1.0-rtm.3 380.25 KB Thu, 10 May 2018 09:17:27 GMT 71
0.1.0-rtm.1 380.24 KB Thu, 10 May 2018 08:29:43 GMT 71