diff --git a/src/Microsoft.AspNetCore.Hosting.Abstractions/baseline.netcore.json b/src/Microsoft.AspNetCore.Hosting.Abstractions/baseline.netcore.json index 85da0d14..1ab7d536 100644 --- a/src/Microsoft.AspNetCore.Hosting.Abstractions/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Hosting.Abstractions/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Hosting.EnvironmentName", @@ -205,6 +205,44 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "PreferHostingUrls", + "Parameters": [ + { + "Name": "hostBuilder", + "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" + }, + { + "Name": "preferHostingUrls", + "Type": "System.Boolean" + } + ], + "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "UseShutdownTimeout", + "Parameters": [ + { + "Name": "hostBuilder", + "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" + }, + { + "Name": "timeout", + "Type": "System.TimeSpan" + } + ], + "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "Start", @@ -304,6 +342,37 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Hosting.HostingStartupAttribute", + "Visibility": "Public", + "Kind": "Class", + "Sealed": true, + "BaseType": "System.Attribute", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_HostingStartupType", + "Parameters": [], + "ReturnType": "System.Type", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "hostingStartupType", + "Type": "System.Type" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Hosting.IApplicationLifetime", "Visibility": "Public", @@ -466,6 +535,28 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Hosting.IHostingStartup", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Configure", + "Parameters": [ + { + "Name": "builder", + "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Hosting.IStartup", "Visibility": "Public", @@ -551,6 +642,32 @@ "Parameters": [], "ReturnType": "System.Void", "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "StartAsync", + "Parameters": [ + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "StopAsync", + "Parameters": [ + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] } ], "GenericParameters": [] @@ -571,11 +688,11 @@ }, { "Kind": "Method", - "Name": "UseLoggerFactory", + "Name": "ConfigureAppConfiguration", "Parameters": [ { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + "Name": "configureDelegate", + "Type": "System.Action" } ], "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", @@ -595,16 +712,28 @@ }, { "Kind": "Method", - "Name": "ConfigureLogging", + "Name": "ConfigureServices", "Parameters": [ { - "Name": "configureLogging", - "Type": "System.Action" + "Name": "configureServices", + "Type": "System.Action" } ], "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "GetSetting", + "Parameters": [ + { + "Name": "key", + "Type": "System.String" + } + ], + "ReturnType": "System.String", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "UseSetting", @@ -620,17 +749,63 @@ ], "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Hosting.WebHostBuilderContext", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_HostingEnvironment", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Hosting.IHostingEnvironment", + "Visibility": "Public", + "GenericParameter": [] }, { "Kind": "Method", - "Name": "GetSetting", + "Name": "set_HostingEnvironment", "Parameters": [ { - "Name": "key", - "Type": "System.String" + "Name": "value", + "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" } ], - "ReturnType": "System.String", + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Configuration", + "Parameters": [], + "ReturnType": "Microsoft.Extensions.Configuration.IConfiguration", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Configuration", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.Extensions.Configuration.IConfiguration" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", "GenericParameter": [] } ], @@ -665,6 +840,16 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Field", + "Name": "HostingStartupAssembliesKey", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Field", "Name": "DetailedErrorsKey", @@ -724,6 +909,36 @@ "ReadOnly": true, "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "PreferHostingUrlsKey", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "PreventHostingStartupKey", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "ShutdownTimeoutKey", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] diff --git a/src/Microsoft.AspNetCore.Hosting.Abstractions/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Hosting.Abstractions/breakingchanges.netcore.json deleted file mode 100644 index 10b35b47..00000000 --- a/src/Microsoft.AspNetCore.Hosting.Abstractions/breakingchanges.netcore.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "MemberId": "Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureAppConfiguration(System.Action configureDelegate)", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "MemberId": "Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureServices(System.Action configureServices)", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.IWebHost : System.IDisposable", - "MemberId": "System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.IWebHost : System.IDisposable", - "MemberId": "System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "MemberId": "Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureLogging(System.Action configureLogging)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "MemberId": "Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLoggerFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory)", - "Kind": "Removal" - } -] diff --git a/src/Microsoft.AspNetCore.Hosting.Server.Abstractions/baseline.netcore.json b/src/Microsoft.AspNetCore.Hosting.Server.Abstractions/baseline.netcore.json index 13db5ada..4f6e70c0 100644 --- a/src/Microsoft.AspNetCore.Hosting.Server.Abstractions/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Hosting.Server.Abstractions/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication", @@ -75,14 +75,18 @@ }, { "Kind": "Method", - "Name": "Start", + "Name": "StartAsync", "Parameters": [ { "Name": "application", "Type": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication" + }, + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken" } ], - "ReturnType": "System.Void", + "ReturnType": "System.Threading.Tasks.Task", "GenericParameter": [ { "ParameterName": "TContext", @@ -90,6 +94,18 @@ "BaseTypeOrInterfaces": [] } ] + }, + { + "Kind": "Method", + "Name": "StopAsync", + "Parameters": [ + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] } ], "GenericParameters": [] @@ -107,6 +123,25 @@ "Parameters": [], "ReturnType": "System.Collections.Generic.ICollection", "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_PreferHostingUrls", + "Parameters": [], + "ReturnType": "System.Boolean", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_PreferHostingUrls", + "Parameters": [ + { + "Name": "value", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] } ], "GenericParameters": [] diff --git a/src/Microsoft.AspNetCore.Hosting.Server.Abstractions/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Hosting.Server.Abstractions/breakingchanges.netcore.json deleted file mode 100644 index b5b235a0..00000000 --- a/src/Microsoft.AspNetCore.Hosting.Server.Abstractions/breakingchanges.netcore.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.Server.IServer : System.IDisposable", - "MemberId": "System.Void Start(Microsoft.AspNetCore.Hosting.Server.IHttpApplication application)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature", - "MemberId": "System.Boolean get_PreferHostingUrls()", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature", - "MemberId": "System.Void set_PreferHostingUrls(System.Boolean value)", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.Server.IServer : System.IDisposable", - "MemberId": "System.Threading.Tasks.Task StartAsync(Microsoft.AspNetCore.Hosting.Server.IHttpApplication application, System.Threading.CancellationToken cancellationToken)", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Hosting.Server.IServer : System.IDisposable", - "MemberId": "System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken)", - "Kind": "Addition" - } -] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Hosting.WindowsServices/baseline.netframework.json b/src/Microsoft.AspNetCore.Hosting.WindowsServices/baseline.netframework.json index ec158c87..1656f763 100644 --- a/src/Microsoft.AspNetCore.Hosting.WindowsServices/baseline.netframework.json +++ b/src/Microsoft.AspNetCore.Hosting.WindowsServices/baseline.netframework.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.WindowsServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.WindowsServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Hosting.WindowsServices.WebHostService", diff --git a/src/Microsoft.AspNetCore.Hosting/baseline.netcore.json b/src/Microsoft.AspNetCore.Hosting/baseline.netcore.json index a40523b1..3f318424 100644 --- a/src/Microsoft.AspNetCore.Hosting/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Hosting/baseline.netcore.json @@ -1,6 +1,224 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Hosting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Hosting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ + { + "Name": "Microsoft.AspNetCore.Hosting.ConventionBasedStartup", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Hosting.IStartup" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Configure", + "Parameters": [ + { + "Name": "app", + "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureServices", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + } + ], + "ReturnType": "System.IServiceProvider", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "methods", + "Type": "Microsoft.AspNetCore.Hosting.Internal.StartupMethods" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Hosting.DelegateStartup", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Hosting.StartupBase", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Configure", + "Parameters": [ + { + "Name": "app", + "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "factory", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceProviderFactory" + }, + { + "Name": "configureApp", + "Type": "System.Action" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Hosting.StartupBase", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Hosting.IStartup" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Configure", + "Parameters": [ + { + "Name": "app", + "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Abstract": true, + "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureServices", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateServiceProvider", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + } + ], + "ReturnType": "System.IServiceProvider", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Protected", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Hosting.StartupBase", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "BaseType": "Microsoft.AspNetCore.Hosting.StartupBase", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "CreateServiceProvider", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + } + ], + "ReturnType": "System.IServiceProvider", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureContainer", + "Parameters": [ + { + "Name": "builder", + "Type": "T0" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "factory", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceProviderFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [ + { + "ParameterName": "TBuilder", + "ParameterPosition": 0, + "BaseTypeOrInterfaces": [] + } + ] + }, { "Name": "Microsoft.AspNetCore.Hosting.WebHostBuilder", "Visibility": "Public", @@ -11,18 +229,14 @@ "Members": [ { "Kind": "Method", - "Name": "UseSetting", + "Name": "GetSetting", "Parameters": [ { "Name": "key", "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" } ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", + "ReturnType": "System.String", "Sealed": true, "Virtual": true, "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", @@ -31,14 +245,18 @@ }, { "Kind": "Method", - "Name": "GetSetting", + "Name": "UseSetting", "Parameters": [ { "Name": "key", "Type": "System.String" + }, + { + "Name": "value", + "Type": "System.String" } ], - "ReturnType": "System.String", + "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", "Sealed": true, "Virtual": true, "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", @@ -47,11 +265,11 @@ }, { "Kind": "Method", - "Name": "UseLoggerFactory", + "Name": "ConfigureServices", "Parameters": [ { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + "Name": "configureServices", + "Type": "System.Action" } ], "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", @@ -67,7 +285,7 @@ "Parameters": [ { "Name": "configureServices", - "Type": "System.Action" + "Type": "System.Action" } ], "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", @@ -79,11 +297,11 @@ }, { "Kind": "Method", - "Name": "ConfigureLogging", + "Name": "ConfigureAppConfiguration", "Parameters": [ { - "Name": "configureLogging", - "Type": "System.Action" + "Name": "configureDelegate", + "Type": "System.Action" } ], "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", @@ -182,29 +400,21 @@ "BaseTypeOrInterfaces": [] } ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Hosting.WebHostExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ + }, { "Kind": "Method", - "Name": "Run", + "Name": "UseDefaultServiceProvider", "Parameters": [ { - "Name": "host", - "Type": "Microsoft.AspNetCore.Hosting.IWebHost" + "Name": "hostBuilder", + "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" + }, + { + "Name": "configure", + "Type": "System.Action" } ], - "ReturnType": "System.Void", + "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", "Static": true, "Extension": true, "Visibility": "Public", @@ -212,18 +422,75 @@ }, { "Kind": "Method", - "Name": "Run", + "Name": "UseDefaultServiceProvider", "Parameters": [ { - "Name": "host", - "Type": "Microsoft.AspNetCore.Hosting.IWebHost" + "Name": "hostBuilder", + "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" + }, + { + "Name": "configure", + "Type": "System.Action" + } + ], + "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureAppConfiguration", + "Parameters": [ + { + "Name": "hostBuilder", + "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" + }, + { + "Name": "configureDelegate", + "Type": "System.Action" + } + ], + "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureLogging", + "Parameters": [ + { + "Name": "hostBuilder", + "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" + }, + { + "Name": "configureLogging", + "Type": "System.Action" + } + ], + "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureLogging", + "Parameters": [ + { + "Name": "hostBuilder", + "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" }, { - "Name": "token", - "Type": "System.Threading.CancellationToken" + "Name": "configureLogging", + "Type": "System.Action" } ], - "ReturnType": "System.Void", + "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", "Static": true, "Extension": true, "Visibility": "Public", @@ -233,92 +500,100 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Hosting.ConventionBasedStartup", + "Name": "Microsoft.AspNetCore.Hosting.WebHostExtensions", "Visibility": "Public", "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Hosting.IStartup" - ], + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "Configure", + "Name": "StopAsync", "Parameters": [ { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" + "Name": "host", + "Type": "Microsoft.AspNetCore.Hosting.IWebHost" + }, + { + "Name": "timeout", + "Type": "System.TimeSpan" } ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup", + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "ConfigureServices", + "Name": "WaitForShutdown", "Parameters": [ { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + "Name": "host", + "Type": "Microsoft.AspNetCore.Hosting.IWebHost" } ], - "ReturnType": "System.IServiceProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup", + "ReturnType": "System.Void", + "Static": true, + "Extension": true, "Visibility": "Public", "GenericParameter": [] }, { - "Kind": "Constructor", - "Name": ".ctor", + "Kind": "Method", + "Name": "WaitForShutdownAsync", "Parameters": [ { - "Name": "methods", - "Type": "Microsoft.AspNetCore.Hosting.Internal.StartupMethods" + "Name": "host", + "Type": "Microsoft.AspNetCore.Hosting.IWebHost" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, "Visibility": "Public", "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Hosting.DelegateStartup", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Hosting.StartupBase", - "ImplementedInterfaces": [], - "Members": [ + }, { "Kind": "Method", - "Name": "Configure", + "Name": "Run", "Parameters": [ { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" + "Name": "host", + "Type": "Microsoft.AspNetCore.Hosting.IWebHost" } ], "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup", + "Static": true, + "Extension": true, "Visibility": "Public", "GenericParameter": [] }, { - "Kind": "Constructor", - "Name": ".ctor", + "Kind": "Method", + "Name": "RunAsync", "Parameters": [ { - "Name": "configureApp", - "Type": "System.Action" + "Name": "host", + "Type": "Microsoft.AspNetCore.Hosting.IWebHost" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, "Visibility": "Public", "GenericParameter": [] } @@ -326,68 +601,45 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Hosting.StartupBase", + "Name": "Microsoft.AspNetCore.Hosting.Server.Features.ServerAddressesFeature", "Visibility": "Public", "Kind": "Class", - "Abstract": true, "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Hosting.IStartup" + "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature" ], "Members": [ { "Kind": "Method", - "Name": "Configure", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "System.Void", + "Name": "get_Addresses", + "Parameters": [], + "ReturnType": "System.Collections.Generic.ICollection", + "Sealed": true, "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup", + "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature", "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "ConfigureServices", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "System.IServiceProvider", + "Name": "get_PreferHostingUrls", + "Parameters": [], + "ReturnType": "System.Boolean", + "Sealed": true, "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup", + "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature", "Visibility": "Public", "GenericParameter": [] }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Hosting.Server.Features.ServerAddressesFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature" - ], - "Members": [ { "Kind": "Method", - "Name": "get_Addresses", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", + "Name": "set_PreferHostingUrls", + "Parameters": [ + { + "Name": "value", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Void", "Sealed": true, "Virtual": true, "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature", @@ -475,7 +727,12 @@ { "Kind": "Constructor", "Name": ".ctor", - "Parameters": [], + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + } + ], "Visibility": "Public", "GenericParameter": [] } @@ -558,6 +815,56 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Hosting.Internal.ConfigureContainerBuilder", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_MethodInfo", + "Parameters": [], + "ReturnType": "System.Reflection.MethodInfo", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Build", + "Parameters": [ + { + "Name": "instance", + "Type": "System.Object" + } + ], + "ReturnType": "System.Action", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetContainerType", + "Parameters": [], + "ReturnType": "System.Type", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "configureContainerMethod", + "Type": "System.Reflection.MethodInfo" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder", "Visibility": "Public", @@ -600,6 +907,57 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "StartAsync", + "Parameters": [ + { + "Name": "token", + "Type": "System.Threading.CancellationToken" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "StopAsync", + "Parameters": [ + { + "Name": "token", + "Type": "System.Threading.CancellationToken" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "services", + "Type": "System.Collections.Generic.IEnumerable" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Hosting.Internal.HostingApplication", "Visibility": "Public", @@ -626,18 +984,14 @@ }, { "Kind": "Method", - "Name": "DisposeContext", + "Name": "ProcessRequestAsync", "Parameters": [ { - "Name": "context", - "Type": "Microsoft.AspNetCore.Hosting.Internal.HostingApplication+Context" - }, - { - "Name": "exception", - "Type": "System.Exception" + "Name": "context", + "Type": "Microsoft.AspNetCore.Hosting.Internal.HostingApplication+Context" } ], - "ReturnType": "System.Void", + "ReturnType": "System.Threading.Tasks.Task", "Sealed": true, "Virtual": true, "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication", @@ -646,14 +1000,18 @@ }, { "Kind": "Method", - "Name": "ProcessRequestAsync", + "Name": "DisposeContext", "Parameters": [ { "Name": "context", "Type": "Microsoft.AspNetCore.Hosting.Internal.HostingApplication+Context" + }, + { + "Name": "exception", + "Type": "System.Exception" } ], - "ReturnType": "System.Threading.Tasks.Task", + "ReturnType": "System.Void", "Sealed": true, "Virtual": true, "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication", @@ -674,7 +1032,7 @@ }, { "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" + "Type": "System.Diagnostics.DiagnosticListener" }, { "Name": "httpContextFactory", @@ -906,6 +1264,76 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Hosting.Internal.HostingEventSource", + "Visibility": "Public", + "Kind": "Class", + "Sealed": true, + "BaseType": "System.Diagnostics.Tracing.EventSource", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "HostStart", + "Parameters": [], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "HostStop", + "Parameters": [], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "RequestStart", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + }, + { + "Name": "path", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "RequestStop", + "Parameters": [], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "UnhandledException", + "Parameters": [], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Log", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Hosting.Internal.HostingEventSource", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware", "Visibility": "Public", @@ -1017,7 +1445,7 @@ "Name": "LoadMethods", "Parameters": [ { - "Name": "services", + "Name": "hostingServiceProvider", "Type": "System.IServiceProvider" }, { @@ -1068,6 +1496,14 @@ "Kind": "Class", "ImplementedInterfaces": [], "Members": [ + { + "Kind": "Method", + "Name": "get_StartupInstance", + "Parameters": [], + "ReturnType": "System.Object", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_ConfigureServicesDelegate", @@ -1089,17 +1525,9 @@ "Name": ".ctor", "Parameters": [ { - "Name": "configure", - "Type": "System.Action" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ + "Name": "instance", + "Type": "System.Object" + }, { "Name": "configure", "Type": "System.Action" @@ -1116,112 +1544,68 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Hosting.Internal.WebHost", + "Name": "Microsoft.AspNetCore.Hosting.Internal.WebHostOptions", "Visibility": "Public", "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Hosting.IWebHost" - ], + "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "get_Services", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHost", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ServerFeatures", + "Name": "get_ApplicationName", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHost", + "ReturnType": "System.String", "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "Initialize", - "Parameters": [], + "Name": "set_ApplicationName", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], "ReturnType": "System.Void", "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "Start", + "Name": "get_PreventHostingStartup", "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHost", + "ReturnType": "System.Boolean", "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", + "Name": "set_PreventHostingStartup", "Parameters": [ { - "Name": "appServices", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "hostingServiceProvider", - "Type": "System.IServiceProvider" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Hosting.Internal.WebHostOptions" - }, - { - "Name": "config", - "Type": "Microsoft.Extensions.Configuration.IConfiguration" + "Name": "value", + "Type": "System.Boolean" } ], + "ReturnType": "System.Void", "Visibility": "Public", "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Hosting.Internal.WebHostOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ + }, { "Kind": "Method", - "Name": "get_ApplicationName", + "Name": "get_HostingStartupAssemblies", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "System.Collections.Generic.IReadOnlyList", "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "set_ApplicationName", + "Name": "set_HostingStartupAssemblies", "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "System.Collections.Generic.IReadOnlyList" } ], "ReturnType": "System.Void", @@ -1354,6 +1738,27 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_ShutdownTimeout", + "Parameters": [], + "ReturnType": "System.TimeSpan", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ShutdownTimeout", + "Parameters": [ + { + "Name": "value", + "Type": "System.TimeSpan" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", @@ -1376,6 +1781,40 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Hosting.Internal.WebHostUtilities", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "ParseBool", + "Parameters": [ + { + "Name": "configuration", + "Type": "Microsoft.Extensions.Configuration.IConfiguration" + }, + { + "Name": "key", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Hosting.Builder.ApplicationBuilderFactory", "Visibility": "Public", @@ -1506,20 +1945,51 @@ "ReturnType": "System.Void", "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_EventLogEnabled", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_EventLogEnabled", + "Parameters": [ + { + "Name": "value", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Activity", + "Parameters": [], + "ReturnType": "System.Diagnostics.Activity", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Activity", + "Parameters": [ + { + "Name": "value", + "Type": "System.Diagnostics.Activity" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.Internal.Native.NativeMethods+Windows", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] } ] } \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Hosting/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Hosting/breakingchanges.netcore.json deleted file mode 100644 index 396e7897..00000000 --- a/src/Microsoft.AspNetCore.Hosting/breakingchanges.netcore.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Hosting.DelegateStartup : Microsoft.AspNetCore.Hosting.StartupBase", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Hosting.WebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "MemberId": "public Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureLogging(System.Action configureLogging)", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.AspNetCore.Hosting.WebHostExtensions", - "MemberId": "public static System.Void Run(this Microsoft.AspNetCore.Hosting.IWebHost host, System.Threading.CancellationToken token)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Hosting.WebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "MemberId": "public Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLoggerFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFactory)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Hosting.StartupBase : Microsoft.AspNetCore.Hosting.IStartup", - "MemberId": "public System.IServiceProvider ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection services)", - "Kind": "Removal" - } -] diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/baseline.netcore.json b/src/Microsoft.AspNetCore.Server.IntegrationTesting/baseline.netcore.json new file mode 100644 index 00000000..c00473af --- /dev/null +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/baseline.netcore.json @@ -0,0 +1,1456 @@ +{ + "AssemblyIdentity": "Microsoft.AspNetCore.Server.IntegrationTesting, Version=0.4.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "Types": [ + { + "Name": "System.Diagnostics.ProcessLoggingExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "StartAndCaptureOutAndErrToLogger", + "Parameters": [ + { + "Name": "process", + "Type": "System.Diagnostics.Process" + }, + { + "Name": "prefix", + "Type": "System.String" + }, + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationType", + "Visibility": "Public", + "Kind": "Enumeration", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Field", + "Name": "Portable", + "Parameters": [], + "GenericParameter": [], + "Literal": "0" + }, + { + "Kind": "Field", + "Name": "Standalone", + "Parameters": [], + "GenericParameter": [], + "Literal": "1" + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_ServerType", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Server.IntegrationTesting.ServerType", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_RuntimeFlavor", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeFlavor", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_RuntimeArchitecture", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ApplicationBaseUriHint", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ApplicationBaseUriHint", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_EnvironmentName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_EnvironmentName", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ServerConfigTemplateContent", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ServerConfigTemplateContent", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ServerConfigLocation", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ServerConfigLocation", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_SiteName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_SiteName", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ApplicationPath", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ApplicationName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ApplicationName", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_TargetFramework", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_TargetFramework", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Configuration", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Configuration", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_AdditionalPublishParameters", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_AdditionalPublishParameters", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_PublishApplicationBeforeDeployment", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_PublishApplicationBeforeDeployment", + "Parameters": [ + { + "Name": "value", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_PreservePublishedApplicationForDebugging", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_PreservePublishedApplicationForDebugging", + "Parameters": [ + { + "Name": "value", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ApplicationType", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationType", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ApplicationType", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationType" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_PublishedApplicationRootPath", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_PublishedApplicationRootPath", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_EnvironmentVariables", + "Parameters": [], + "ReturnType": "System.Collections.Generic.List>", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_PublishEnvironmentVariables", + "Parameters": [], + "ReturnType": "System.Collections.Generic.List>", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_UserAdditionalCleanup", + "Parameters": [], + "ReturnType": "System.Action", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_UserAdditionalCleanup", + "Parameters": [ + { + "Name": "value", + "Type": "System.Action" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ToString", + "Parameters": [], + "ReturnType": "System.String", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "applicationPath", + "Type": "System.String" + }, + { + "Name": "serverType", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.ServerType" + }, + { + "Name": "runtimeFlavor", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeFlavor" + }, + { + "Name": "runtimeArchitecture", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentResult", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_ApplicationBaseUri", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ContentRoot", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DeploymentParameters", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_HostShutdownToken", + "Parameters": [], + "ReturnType": "System.Threading.CancellationToken", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_HttpClient", + "Parameters": [], + "ReturnType": "System.Net.Http.HttpClient", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateHttpClient", + "Parameters": [ + { + "Name": "baseHandler", + "Type": "System.Net.Http.HttpMessageHandler" + } + ], + "ReturnType": "System.Net.Http.HttpClient", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + }, + { + "Name": "deploymentParameters", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters" + }, + { + "Name": "applicationBaseUri", + "Type": "System.String" + } + ], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + }, + { + "Name": "deploymentParameters", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters" + }, + { + "Name": "applicationBaseUri", + "Type": "System.String" + }, + { + "Name": "contentRoot", + "Type": "System.String" + }, + { + "Name": "hostShutdownToken", + "Type": "System.Threading.CancellationToken" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.RetryHelper", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "RetryRequest", + "Parameters": [ + { + "Name": "retryBlock", + "Type": "System.Func>" + }, + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" + }, + { + "Name": "retryCount", + "Type": "System.Int32", + "DefaultValue": "60" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "RetryOperation", + "Parameters": [ + { + "Name": "retryBlock", + "Type": "System.Action" + }, + { + "Name": "exceptionBlock", + "Type": "System.Action" + }, + { + "Name": "retryCount", + "Type": "System.Int32", + "DefaultValue": "3" + }, + { + "Name": "retryDelayMilliseconds", + "Type": "System.Int32", + "DefaultValue": "0" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture", + "Visibility": "Public", + "Kind": "Enumeration", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Field", + "Name": "x64", + "Parameters": [], + "GenericParameter": [], + "Literal": "0" + }, + { + "Kind": "Field", + "Name": "x86", + "Parameters": [], + "GenericParameter": [], + "Literal": "1" + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeFlavor", + "Visibility": "Public", + "Kind": "Enumeration", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Field", + "Name": "Clr", + "Parameters": [], + "GenericParameter": [], + "Literal": "0" + }, + { + "Kind": "Field", + "Name": "CoreClr", + "Parameters": [], + "GenericParameter": [], + "Literal": "1" + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.ServerType", + "Visibility": "Public", + "Kind": "Enumeration", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Field", + "Name": "IISExpress", + "Parameters": [], + "GenericParameter": [], + "Literal": "0" + }, + { + "Kind": "Field", + "Name": "IIS", + "Parameters": [], + "GenericParameter": [], + "Literal": "1" + }, + { + "Kind": "Field", + "Name": "WebListener", + "Parameters": [], + "GenericParameter": [], + "Literal": "2" + }, + { + "Kind": "Field", + "Name": "Kestrel", + "Parameters": [], + "GenericParameter": [], + "Literal": "3" + }, + { + "Kind": "Field", + "Name": "Nginx", + "Parameters": [], + "GenericParameter": [], + "Literal": "4" + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationDeployer", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Server.IntegrationTesting.IApplicationDeployer" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_DeploymentParameters", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_LoggerFactory", + "Parameters": [], + "ReturnType": "Microsoft.Extensions.Logging.ILoggerFactory", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Logger", + "Parameters": [], + "ReturnType": "Microsoft.Extensions.Logging.ILogger", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "DeployAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Abstract": true, + "ImplementedInterface": "Microsoft.AspNetCore.Server.IntegrationTesting.IApplicationDeployer", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "DotnetPublish", + "Parameters": [ + { + "Name": "publishRoot", + "Type": "System.String", + "DefaultValue": "null" + } + ], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CleanPublishedOutput", + "Parameters": [], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ShutDownIfAnyHostProcess", + "Parameters": [ + { + "Name": "hostProcess", + "Type": "System.Diagnostics.Process" + } + ], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AddEnvironmentVariablesToProcess", + "Parameters": [ + { + "Name": "startInfo", + "Type": "System.Diagnostics.ProcessStartInfo" + }, + { + "Name": "environmentVariables", + "Type": "System.Collections.Generic.List>" + } + ], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SetEnvironmentVariable", + "Parameters": [ + { + "Name": "environment", + "Type": "System.Collections.Generic.IDictionary" + }, + { + "Name": "name", + "Type": "System.String" + }, + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "InvokeUserApplicationCleanup", + "Parameters": [], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "TriggerHostShutdown", + "Parameters": [ + { + "Name": "hostShutdownSource", + "Type": "System.Threading.CancellationTokenSource" + } + ], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "StartTimer", + "Parameters": [], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "StopTimer", + "Parameters": [], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Dispose", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Abstract": true, + "ImplementedInterface": "System.IDisposable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "deploymentParameters", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "DotnetCommandName", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "DotnetArgumentSeparator", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationDeployerFactory", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Create", + "Parameters": [ + { + "Name": "deploymentParameters", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "ReturnType": "Microsoft.AspNetCore.Server.IntegrationTesting.IApplicationDeployer", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.IApplicationDeployer", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [ + "System.IDisposable" + ], + "Members": [ + { + "Kind": "Method", + "Name": "DeployAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.IISExpressDeployer", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationDeployer", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_IsWin8OrLater", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Is64BitHost", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "DeployAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Override": true, + "ImplementedInterface": "Microsoft.AspNetCore.Server.IntegrationTesting.IApplicationDeployer", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Dispose", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "ImplementedInterface": "System.IDisposable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "deploymentParameters", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.NginxDeployer", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Server.IntegrationTesting.SelfHostDeployer", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "DeployAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Override": true, + "ImplementedInterface": "Microsoft.AspNetCore.Server.IntegrationTesting.IApplicationDeployer", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Dispose", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "ImplementedInterface": "System.IDisposable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "deploymentParameters", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.RemoteWindowsDeployer", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationDeployer", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "DeployAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Override": true, + "ImplementedInterface": "Microsoft.AspNetCore.Server.IntegrationTesting.IApplicationDeployer", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Dispose", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "ImplementedInterface": "System.IDisposable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "deploymentParameters", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.RemoteWindowsDeploymentParameters" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.RemoteWindowsDeploymentParameters", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_ServerName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ServerAccountName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ServerAccountPassword", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DotnetRuntimePath", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_RemoteServerFileSharePath", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "applicationPath", + "Type": "System.String" + }, + { + "Name": "dotnetRuntimePath", + "Type": "System.String" + }, + { + "Name": "serverType", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.ServerType" + }, + { + "Name": "runtimeFlavor", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeFlavor" + }, + { + "Name": "runtimeArchitecture", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.RuntimeArchitecture" + }, + { + "Name": "remoteServerFileSharePath", + "Type": "System.String" + }, + { + "Name": "remoteServerName", + "Type": "System.String" + }, + { + "Name": "remoteServerAccountName", + "Type": "System.String" + }, + { + "Name": "remoteServerAccountPassword", + "Type": "System.String" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.SelfHostDeployer", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Server.IntegrationTesting.ApplicationDeployer", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_HostProcess", + "Parameters": [], + "ReturnType": "System.Diagnostics.Process", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "DeployAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Override": true, + "ImplementedInterface": "Microsoft.AspNetCore.Server.IntegrationTesting.IApplicationDeployer", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "StartSelfHostAsync", + "Parameters": [ + { + "Name": "hintUrl", + "Type": "System.Uri" + } + ], + "ReturnType": "System.Threading.Tasks.Task>", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Dispose", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "ImplementedInterface": "System.IDisposable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "deploymentParameters", + "Type": "Microsoft.AspNetCore.Server.IntegrationTesting.DeploymentParameters" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.SkipIfEnvironmentVariableNotEnabledAttribute", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "System.Attribute", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Testing.xunit.ITestCondition" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_IsMet", + "Parameters": [], + "ReturnType": "System.Boolean", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Testing.xunit.ITestCondition", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_SkipReason", + "Parameters": [], + "ReturnType": "System.String", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Testing.xunit.ITestCondition", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_AdditionalInfo", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_AdditionalInfo", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "environmentVariableName", + "Type": "System.String" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.SkipOn32BitOSAttribute", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "System.Attribute", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Testing.xunit.ITestCondition" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_IsMet", + "Parameters": [], + "ReturnType": "System.Boolean", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Testing.xunit.ITestCondition", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_SkipReason", + "Parameters": [], + "ReturnType": "System.String", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Testing.xunit.ITestCondition", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Server.IntegrationTesting.Common.TestUriHelper", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "BuildTestUri", + "Parameters": [], + "ReturnType": "System.Uri", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "BuildTestUri", + "Parameters": [ + { + "Name": "hint", + "Type": "System.String" + } + ], + "ReturnType": "System.Uri", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetNextPort", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.TestHost/baseline.netcore.json b/src/Microsoft.AspNetCore.TestHost/baseline.netcore.json index 72c27a1d..d0dd62b1 100644 --- a/src/Microsoft.AspNetCore.TestHost/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.TestHost/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.TestHost, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.TestHost, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.TestHost.ClientHandler", @@ -167,6 +167,17 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_Features", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.IServer", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "CreateHandler", @@ -226,6 +237,22 @@ ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "builder", + "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" + }, + { + "Name": "featureCollection", + "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] diff --git a/src/Microsoft.Extensions.Hosting.Abstractions/baseline.netcore.json b/src/Microsoft.Extensions.Hosting.Abstractions/baseline.netcore.json new file mode 100644 index 00000000..4f681fed --- /dev/null +++ b/src/Microsoft.Extensions.Hosting.Abstractions/baseline.netcore.json @@ -0,0 +1,39 @@ +{ + "AssemblyIdentity": "Microsoft.Extensions.Hosting.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "Types": [ + { + "Name": "Microsoft.Extensions.Hosting.IHostedService", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "StartAsync", + "Parameters": [ + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "StopAsync", + "Parameters": [ + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + } + ] +} \ No newline at end of file