Config transformations in ASP.NET Core

added by ThomasArdal
11/9/2016 12:00:00 AM

5 Kicks, 219 Views

You probably know web.config transformations available in ASP.NET. Using a transform XML file, you can replace, insert, remove settings from any XML file. Transformations is primarily used to have sets of variables for different environments like localhost, staging and production. Since Core no longer use web.config, web.config transformations no longer apply. Luckily, Core introduces a similar concept for its JSON configuration files.