I was trying to get a global .NET Core tool working on my development machine, which just so happens to be running macOS. I also work wit....NET macOS
We’ve moved around CSS frameworks in the past few years, Semantic UI for our application layer, and Bootstrap for our static sites. As ou...SASS
New to the frontend at RIMdev, or looking for more about our Frontend team? Here’s a quick overview of our team, tools, and culture! As ...Team RIMdev Frontend
We’re in the process of scaffolding out our Microsoft Azure environments using Terraform. We’re looking at deploying consistently from ma...Azure Terraform
Requirement ASP.NET Core 2.2 or 3.0 Why can’t I do this in earlier versions? Read ASP.NET Core 2.2 First Look – Endpoint Routing ...ASP.NET Core Routing Middleware
Health checks in ASP.NET Core are useful for reporting the health of your ASP.NET Core web application. But, this functionality can’t dir....NET
As I’ve walked through upgrading a number of solutions to target a new version of the .NET Framework, I’ve compiled a list of helpful ste....NET
What is WSL? Windows Subsytsem for Linux (aka WSL) is an excellent tool for running Linux-based binaries natively in Windows. With the i...WSL git ASP.NET MVC
Updated Solution! Thanks for the post!If you don't want to create a web.config, you can also drive this through the <AspNetCoreHo...asp.net asp.net core
I, Khalid Abuhakmeh, recently wrote about my [Razor Pages first impressions][khalid] and am mostly positive about the addition to the ASP...asp.net asp.net core razor
We’re in the process of scaffolding out our Microsoft Azure environments using Terraform. While Terraform does an excellent job creating ...Terraform OSS
TL;DR Explicitly using SqlBulkCopy might never cause this problem since mapping is done manually, but NPoco’s usage does automatic map...NPoco SqlBulkCopy
As you’re building out an API it’s important to keep response times in check. In many cases slowness is due to database calls, web reques...Benchmarking OSS
We’ve accomplished so much this year thanks to @VueJS that we wanted to give back to the Vue community in some way. Ritter IM is sponsor...VueJS
At Ritter Insurance Marketing we utilize Azure Web Apps for hosting many of our web applications. Azure Web Apps is a platform as a service (PaaS) offering from Microsoft, enabling their customers to host web applications without managing and maintaining the server infrastructure.
One difficulty we’ve encountered using Azure Web Apps is configuration difficulty arising from spinning up another copy of an application, whether for debugging or other purposes. Using the Azure portal in a web browser, copying app settings and connection strings is a tedious copy and paste process — especially when there’s a bunch of them!
We prefer to work smarter, rather than harder. That said, we’re pleased to announce our cross-platform Azure Web App Configuration Copier tool for copying app settings and connection strings between applications!
First, you’ll need Node.js installed.
Next, the tool uses the Microsoft Azure Cross Platform Command Line tool, available on npm as azure-cli. With Node.js / npm installed, it’s as simple as
npm install -g azure-cli to install it globally – then use
azure login to authenticate and run
azure config mode asm to use the older mode this tool uses (it can be set back with
azure config mode arm).
Now that the prerequisites are ready, we can move onto installing and using the Azure Web App Configuration Copier tool. Do the following:
git clone [email protected]:ritterim/azure-web-app-configuration-copier.git(or navigate to the GitHub repository and download the repository manually)
We’re all set! Now, to run it:
> node main.js \ --sourceApp MySourceApp \ --destApp MyDestinationApp \ --subscription "My Subscription"
It’ll begin copying the app settings and connection strings. Be patient, it takes some time.
--subscription parameter is optional. If omitted, it will use the current subscription configured in the azure-cli.
Found a bug or have an idea? We welcome contributions at the GitHub repository.
We hope you find this tool useful!