#452 Rename Microsoft.AspNet.Hosting.json to hosting.json.

This commit is contained in:
Chris R 2015-10-28 14:07:22 -07:00
parent 2bb2f95532
commit 995f0ca92f
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Hosting
{
public class WebApplication
{
private const string HostingJsonFile = "Microsoft.AspNet.Hosting.json";
private const string HostingJsonFile = "hosting.json";
private const string ConfigFileKey = "config";
public static void Run(string[] args)

View File

@ -66,9 +66,9 @@ namespace Microsoft.AspNet.Server.Testing
private void SetAspEnvironmentWithJson()
{
// Drop a Microsoft.AspNet.Hosting.json with Hosting:Environment information.
Logger.LogInformation("Creating Microsoft.AspNet.Hosting.json file with Hosting:Environment.");
var jsonFile = Path.Combine(DeploymentParameters.ApplicationPath, "Microsoft.AspNet.Hosting.json");
// Drop a hosting.json with Hosting:Environment information.
Logger.LogInformation("Creating hosting.json file with Hosting:Environment.");
var jsonFile = Path.Combine(DeploymentParameters.ApplicationPath, "hosting.json");
File.WriteAllText(jsonFile, string.Format("{ \"Hosting:Environment\":\"{0}\" }", DeploymentParameters.EnvironmentName));
}