Hosting Versions Save

[Archived] Code for hosting and starting up an ASP.NET Core application. Project moved to https://github.com/aspnet/Extensions and https://github.com/aspnet/AspNetCore

2.0.1

6 years ago

Bugs Fixed

  • Port logging startup exceptions in 2.0.x (#1174)

1.0.5

6 years ago

rel/2.0.0

6 years ago

Features

  • Add WaitForShutdown method (#1022)

Bugs Fixed

  • IWebHost breaking change (#1124)

rel/2.0.0-preview2

6 years ago

Features

  • Make IHostedService async, and run before the Server is started (#1085)
  • Add API to configure shutdown timeout (#1031)
  • StopAsync cancellationToken chaining (#1016)

Bugs Fixed

  • Suppress exceptions from failing to load HostingStartup assemblies (#1075)

rel/2.0.0-preview1

6 years ago

Features

  • Add WebHostBuilderContext to ConfigureLogging<T> and remove UseLoggerFactory(this IWebHostBuilder hostBuilder, Action<WebHostBuilderContext, LoggerFactory> configure) (#1015)
  • Make the HostContext available to extension methods on IWebHostBuilder (#1014)
  • Add support for executing IHostingStartup in the app assembly (#1000)
  • Server addresses configuration enhancements (#968)
  • TestServer IServer.Features is null and makes it overly difficult to test middleware relying on ServerFeatures being populated. (#967)
  • First class Configuration and Logging in WebHostBuilder (#955)
  • Add Platform lightup hook (#951)
  • Graceful Server Shutdown (#947)
  • Consider renaming the methods on IApplicationLifetimeEvents (and maybe the interface) (#895)
  • Adding EventSource events to Hosting (#883)

Bugs Fixed

  • [IntegrationTesting] If IISExpress fails to start, IISExpressDeployer null refs in Dispose (#1053)
  • IHostingStartup should be called before we call ConfigureAppConfiguration callbacks (#1050)
  • Remove PreferHostingUrls from WebHostOptions and read the value from config during EnsureServer() (#1045)
  • Make WebHost internal to avoid type conflict (#1030)
  • Logger is disposed too soon (#984)
  • Stop adding "http://localhost:5000" to empty IServerAddressesFeatures (#917)
  • TestServer should call IHttpContextFactory.Create with valid featureCollection (#896)
  • Consider removing the dependency between IApplicationLifetime and IApplicationLifetimeEvents (#894)

rel/1.0.1

7 years ago

Bugs Fixed

  • [LTS patch] WebHost.Run() completes before ApplicationStopping (#873)

rel/1.1.0

7 years ago

Bugs Fixed

  • Handle SIGTERMs for graceful shutdown (#870)
  • Object disposal issues in WebHostBuilder (#867)

rel/1.1.0-preview1

7 years ago

Features

  • Proposal: Support IServiceProviderFactory (#829)
  • Output to console that the application is shutting down gracefully (#794)

Bugs Fixed

  • Updated IISDeployer (#860)
  • Fix startup exception page to handle flattened exceptions (#831)
  • WebHost.Run() completes before ApplicationStopping (#812)

1.0.0

7 years ago

Features

  • Add a second environment variable for Urls (#755)
  • Remove UseServer overloads (#731)
  • Move some WebHostBuilderExtensions to Hosting.Abstractions (#675)
  • Is there a way to parameterize and pass an instance of Startup rather than just the type? (#333)

Bugs Fixed

  • Warning causing OPTIONS request to return as 502 (#782)
  • ConfigureServices IServiceCollection exception message is confusing. (#502)

1.0.0-rc2

7 years ago

Features

  • Add ASPNETCORE_* environment variables by default to hosting configuration (#700)
  • Pass existing LoggerFactory to WebHostBuilder (#658)
  • Add Name to IHostingEnvironment (#635)
  • IHostingEnvironment Updates (#633)
  • WebHostBuilder should have an option to set the IApplicationEnvironment.ApplicationName (#613)
  • Consider changing WebApplication* to WebHost* (#567)
  • Add Options services back to hosting (#547)
  • Add an API to set the application base (#546)
  • Remove IHostingEnvironment.Configuration property (#528)
  • Update Hosting API and TestServer API (#525)
  • How to get DbContext when unit testing with TestServer (#519)
  • Remove compilation error support from Startup error page (#510)
  • Remove some platform abstractions from WebHostBuilder bootup (#501)
  • Flow hosting configuration through to application (#488)
  • Make hosting configuration consistency (#453)
  • Revisit IServerFactory.Start (#395)
  • Profiling/observing the middleware chain (#318)

Bugs Fixed

  • For RC2 use both environment names for dev/release etc. (#738)
  • Prefer uppercase environment variable for ASPNETCORE_ (#733)
  • Self host deployers not testing on full CLR if test app is not published before deployment (#728)
  • RC2 Templates Review follow-up: Remove UseDefaultHostingConfiguration (#727)
  • DNX branding shows up in the ErrorPage (#722)
  • Test server should fire onResponseCompleted after the actual response has completed instead of just the headers (#721)
  • Update deployers for shared runtime (#718)
  • Startup fails when static method is passed to WebHostBuilder.Configure (#712)
  • Include the content root path as part of exception message (#707)
  • Remove IServerFactory from Hosting.Server.Abstractions (#698)
  • Need a way to inform user of Hosting-supported command-line arguments` (#693)
  • Issue with Microsoft.AspNetCore.Server.Testing IISDeployer on net451 (#684)
  • Make RequestServicesContainerMiddleware the first middleware in the pipeline (#653)
  • ApplicationBasePath set to temporary folder (#641)
  • Application deployer in testing package doesn't work when user's home dir contains whitespace (#630)
  • Hosting logging needs to use structured logging instead of format strings (#597)
  • webroot setting by default using environment variable (#585)
  • The error message when there's no Startup class specified sucks (#559)
  • CaptureStartupErrors default and configuration (#552)
  • Request timings not very accurate (nearest 15ms) (#544)
  • Using an active logger (not NullLogger) with TestHost results in a null ref (#532)
  • Remove dnx451 and dnxcore50 from project.json (#531)
  • TestHost.Create() has incompatible overloads (#497)
  • Regression: Not detecting HTTP_PLATFORM_PORT in IIS/Express (#470)
  • Unnecessary access request to drive root (#464)
  • BUG: WebHostBuilder.UseEnvironment being overwritten on WebHostBuilder.Build (#302)