Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Use a json file instead of an ini file to configure hosting environment #270

Closed
wants to merge 1 commit into from

Conversation

PonchoPowers
Copy link

No description provided.

@dnfclas
Copy link

dnfclas commented May 13, 2015

Hi @Matthew-Bonner, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@dnfclas
Copy link

dnfclas commented May 13, 2015

Hi @Matthew-Bonner, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Hosting
{
public class Program
{
private const string HostingIniFile = "Microsoft.AspNet.Hosting.ini";
private const string HostingJsonFile = "Microsoft.AspNet.Hosting.json";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it would be better to simply support both? Prefer json first, if not present, look for ini?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the point? The whole idea of switching to JSON is to make this consistent with where everything else is headed, and to avoid overcomplicating something which does not need to be complex we should only support one language opposed to many. So we might as well ditch the ini file now so that we can give people time to update their projects and then we can work on more pressing issues.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea we're just going to use json forget the ini file.

@Mike-E-angelo
Copy link

I would like to vote for both .json & .ini. You are able to configure ASP.NET in any format you want as long as there is a provider, correct? Why not make it the same here?

@muratg
Copy link

muratg commented Sep 8, 2015

@Matthew-Bonner Could you rebase the PR?

@Tratcher Could you take this in?

@Tratcher
Copy link
Member

Tratcher commented Sep 8, 2015

@Matthew-Bonner don't worry about it, I'll take care of it.

@Tratcher
Copy link
Member

Tratcher commented Sep 8, 2015

Rebased, updated, and merged.

@Tratcher Tratcher closed this Sep 8, 2015
@PonchoPowers
Copy link
Author

Thanks guys 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants