diff --git a/src/Microsoft.AspNet.Http.Core/ApplicationBuilder.cs b/src/Microsoft.AspNet.Http.Core/ApplicationBuilder.cs index 71f6ef267b..e7a00106c2 100644 --- a/src/Microsoft.AspNet.Http.Core/ApplicationBuilder.cs +++ b/src/Microsoft.AspNet.Http.Core/ApplicationBuilder.cs @@ -36,15 +36,15 @@ namespace Microsoft.AspNet.Builder } } - public IServerInformation Server + public object Server { get { - return GetProperty(Constants.BuilderProperties.ServerInformation); + return GetProperty(Constants.BuilderProperties.ServerInformation); } set { - SetProperty(Constants.BuilderProperties.ServerInformation, value); + SetProperty(Constants.BuilderProperties.ServerInformation, value); } } diff --git a/src/Microsoft.AspNet.Http/IApplicationBuilder.cs b/src/Microsoft.AspNet.Http/IApplicationBuilder.cs index bed7c50f0d..cfecfd9728 100644 --- a/src/Microsoft.AspNet.Http/IApplicationBuilder.cs +++ b/src/Microsoft.AspNet.Http/IApplicationBuilder.cs @@ -10,7 +10,7 @@ namespace Microsoft.AspNet.Builder { IServiceProvider ApplicationServices { get; set; } - IServerInformation Server { get; set; } + object Server { get; set; } IDictionary Properties { get; set; } diff --git a/src/Microsoft.AspNet.Http/IServerInformation.cs b/src/Microsoft.AspNet.Http/IServerInformation.cs deleted file mode 100644 index e99042e637..0000000000 --- a/src/Microsoft.AspNet.Http/IServerInformation.cs +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -namespace Microsoft.AspNet.Builder -{ - public interface IServerInformation - { - string Name { get; } - } -}