diff --git a/src/Microsoft.AspNet.Hosting.WindowsServices/WebApplicationExtensions.cs b/src/Microsoft.AspNet.Hosting.WindowsServices/WebApplicationExtensions.cs index 4eb008faa9..41f3e0548f 100644 --- a/src/Microsoft.AspNet.Hosting.WindowsServices/WebApplicationExtensions.cs +++ b/src/Microsoft.AspNet.Hosting.WindowsServices/WebApplicationExtensions.cs @@ -1,4 +1,7 @@ -using System.ServiceProcess; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.ServiceProcess; namespace Microsoft.AspNet.Hosting.WindowsServices { diff --git a/src/Microsoft.AspNet.Hosting.WindowsServices/WebApplicationService.cs b/src/Microsoft.AspNet.Hosting.WindowsServices/WebApplicationService.cs index 11819d3411..a50d0d76a7 100644 --- a/src/Microsoft.AspNet.Hosting.WindowsServices/WebApplicationService.cs +++ b/src/Microsoft.AspNet.Hosting.WindowsServices/WebApplicationService.cs @@ -1,8 +1,9 @@ -using Microsoft.AspNet.Hosting.Internal; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System; using System.ServiceProcess; +using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNet.Hosting.WindowsServices { @@ -11,9 +12,6 @@ namespace Microsoft.AspNet.Hosting.WindowsServices /// public class WebApplicationService : ServiceBase { - private const string HostingJsonFile = "hosting.json"; - private const string EnvironmentVariablesPrefix = "ASPNET_"; - private const string ConfigFileKey = "config"; private IWebApplication _application; private IDisposable _applicationShutdown; private bool _stopRequestedByWindows;