From 14557f01311a72f0cca9ac57e5063057297b3bb5 Mon Sep 17 00:00:00 2001 From: David Fowler Date: Fri, 20 May 2016 22:06:12 -0700 Subject: [PATCH] Removed UseServer --- ...ostingAbstractionsWebHostBuilderExtensions.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Microsoft.AspNetCore.Hosting.Abstractions/HostingAbstractionsWebHostBuilderExtensions.cs b/src/Microsoft.AspNetCore.Hosting.Abstractions/HostingAbstractionsWebHostBuilderExtensions.cs index 7e62cbeac0..fdccdf9aa8 100644 --- a/src/Microsoft.AspNetCore.Hosting.Abstractions/HostingAbstractionsWebHostBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Hosting.Abstractions/HostingAbstractionsWebHostBuilderExtensions.cs @@ -60,22 +60,6 @@ namespace Microsoft.AspNetCore.Hosting .UseSetting(WebHostDefaults.StartupAssemblyKey, startupAssemblyName); } - /// - /// Specify the assembly containing the server to be used by the web host. - /// - /// The to configure. - /// The name of the assembly containing the server to be used. - /// The . - public static IWebHostBuilder UseServer(this IWebHostBuilder hostBuilder, string assemblyName) - { - if (assemblyName == null) - { - throw new ArgumentNullException(nameof(assemblyName)); - } - - return hostBuilder.UseSetting(WebHostDefaults.ServerKey, assemblyName); - } - /// /// Specify the server to be used by the web host. ///