Do you want to save 80% of your bandwidth to your search provider? Do you want to deliver content to your users faster? With this one tr...Development Elasticsearch Debugging
If you’re not familiar, or just haven’t used Sass maps, here’s your chance to dive in. Our latest static site was built on Jekyll using ...sass
C# being an Object Oriented Programming (OOP) language, we have access to inheritance. Like any feature of a programming language, you sh...csharp bugs
We love the combination of SQL and Elasticsearch and believe it is a winning combination for anyone building a modern application. Elasti...Elasticsearch NEST C#
I’ve been watching [DotNetConf][dotnetconf] videos over the weekend, and was most curious about [Mads Torgersen’s][mads] [“What’s Coming ...c-sharp C# .NET
Hugo is an amazing static site generator, but getting lost when templating is easier than we’d like. We’ve found a way to evaluate variab...Hugo JAMStack Static
Regardless of your opinion on Object Relational Mappers (ORM), I think they are a great tool for prototyping ideas. Over time, they can l....net core sql
Dealing with JSON data in SQL Database introduces several challenges. This post addresses querying json data stored in SQL Database that...SQL Azure Database development
We are in the middle of writing a template engine to define dynamic forms. The user interface can only post to a known model on the serve...C# development
We are living on the bleeding edge that is Hugo’s release cycle. To keep our macOS development environments up to date we wrote this shel...development
Hugo recently released an amazing asset pipeline, which means you need less external dependencies to build a sweet static site. To take a...dev build
With the news that Microsoft is acquiring GitHub, I thought I would ask the team what their thoughts are on the topic. We utilize the .NE...
Security is an essential part of any application ecosystem, but it can also be a nebulous concept for an organization to grasp. During ou...development
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!