Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Publish: better support for app settings for different environments #841

Open
sayedihashimi opened this issue Nov 2, 2016 · 5 comments
Open

Comments

@sayedihashimi
Copy link
Contributor

From dotnet/AspNetCore.Docs#2029 (comment) @benzhi2011 has requested that we have better support for app settings for different environments. In the past he used web.config transforms and was pretty happy with that.

For ASP.NET Core we should have a better story than what we have today. We will need to think about this, and create a proposal here. Right now I'm busy with some other time critical work so I can't do that now, but I'll get to it over the next few weeks.

@benzhi2011
Copy link

web.config transforms is a very powerful thing, I think it will be great .net core can continue to support this.

@guardrex
Copy link

Related: There is a nice community bit from @nil4 at https://github.com/nil4/dotnet-transform-xdt

@nil4
Copy link

nil4 commented Nov 15, 2016

@sayedihashimi
Copy link
Contributor Author

We are planning to port xdt to core. This issue is more the idea of "config transform". Since we don't use xml files for config xdt doesn't directly apply.

@ghost
Copy link

ghost commented Jan 3, 2017

A convenient way to handle multiple environment should be to add a rule to publishOptions to ignore files on different environment.

@sayedihashimi sayedihashimi removed their assignment Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants