David Fowler
42594afd42
Introducing IApplicationLifetimeEvents ( #875 )
...
- Introduce a new DI friendly API for handling lifetime events. IApplicationLifetime isn't
isn't replaceable so we introduce a new DI friendly API that can be implemented to handle
lifetime events of an ASP.NET application. It should also make it possible to write up extension
on IWebHostBuilder to wire up to external systems that need to register the state of the application (like systemd).
- Run all handlers even if one throws
- Let both sets of event handlers run before throwing (IApplicationLifetimeEvents and IApplicationLifetime cancellation token callbacks).
2016-11-29 03:38:07 -08:00
Pranav K
21f7c89838
Updating versions to 1.2.0-*
2016-11-09 14:17:46 -08:00
jacalvar
911da31476
Created public API baselines
2016-11-04 15:17:13 -07:00
Pavel Krymets
a29ceeb9e8
Deterministically dispose instances created by WebHostBuilder ( #868 )
2016-10-31 11:59:57 -07:00
Pavel Krymets
0f1eac5a98
React to DependencyInjection changes ( #869 )
2016-10-28 15:03:50 -07:00
Pranav K
37b1fc039d
Updating partner package versions
2016-09-29 10:52:23 -07:00
Steve Smith
44fc5a7bf9
Fixed typo
...
speficied => specified
2016-07-20 17:18:07 -04:00
Doug Bunting
9a03b504ef
One build to rule them all
...
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 11:59:39 -07:00
Pranav K
ef0de2b6e7
Updating to dev versions
2016-06-16 10:17:56 -07:00
John Luo
4fccbeebdc
Update metadata
2016-05-27 15:26:29 -07:00
David Fowler
e7b8c3f90a
Support ASPNETCORE_URLS to set server urls
...
- Read both urls and server.urls in WebHost
- UseUrls now sets urls instead of server.urls
2016-05-22 01:37:28 -07:00
David Fowler
14557f0131
Removed UseServer
2016-05-20 22:07:43 -07:00
David Fowler
057bcb43ac
Move extension methods to Hosting.Abstractions
...
- - Moved everything that could be moved to Hosting.Abstractions
2016-05-20 22:07:43 -07:00
David Fowler
c5e8120e39
Remove UseServer(string) overload
...
- Removed the overload that takes a string because it's broken
#731
2016-05-20 21:55:26 -07:00
Pranav K
7b5d7f7883
Merge branch 'release' into dev
2016-05-02 14:56:12 -07:00
Pranav K
7fdc9271f4
Fix build warnings
2016-05-02 12:39:09 -07:00
John Luo
9479f0910a
Merge branch 'release' into dev
2016-04-27 14:04:41 -07:00
John Luo
e505ecbc21
#700 #727 Add environment variables by default and remove UseDefaultHostingConfiguration
2016-04-27 11:40:22 -07:00
David Fowler
8f5f8d28d0
This change introduces a new service `IStartup` that can be registered in the hosting container to override any startup logic. `UseStartup` overloads have been changed to detect `IStartup` and directly put it in the container, or to wrapping it with a `ConventionBasedStartup` implementation to preserve the existing behavior.
...
- Remove IStartupLoader and add `IStartup` instead that matches the signature hosting cares about
- Moved `UseStartup` to extension methods
- Move existing logic into `ConventionBasedStartup` class
2016-04-18 21:33:03 -07:00
Pranav K
a1267311fe
Removing imports from src projects
2016-04-08 06:48:53 -07:00
David Fowler
1182a5a9ca
Remove IServerLoader and add the IServerFactory to the DI container
...
- This change removes the indirection and between the IServerLoader and
the IServerFactory. We now add the IServerFactory directly to the DI
container and resolve it from there.
- Moved logic that resolves IServerFactory from an assembly to a static
helper
2016-03-30 13:39:27 -07:00
Christian Weiss
4b16e83a1f
Pass existing LoggerFactory into WebHostBuilder
2016-03-25 15:34:30 -07:00
David Fowler
7a50deb9af
Merge pull request #662 from cwe1ss/cweiss/EnvironmentDocs
...
Replaces Hosting:Environment with new values in docs
2016-03-20 12:24:54 -07:00
Christian Weiss
312db4b424
Consistency fixes for XML docs
2016-03-20 11:38:46 +01:00
Christian Weiss
2e07ddee45
Replaces Hosting:Environment with new values in docs
2016-03-20 11:15:26 +01:00
John Luo
5ac589317f
Additional fiels in HostingEnvironment and Renames
...
- Added ApplicationName, ContentRootPath and ContentRootFileProvider
- Removed Configuration
- Removed MapPath
2016-03-14 16:21:56 -07:00
Chris R
a31f840675
Rename environment variables to ASPNETCORE_. Remove the legacy ENV abbreviation.
2016-03-11 10:42:47 -08:00
Ajay Bhargav Baaskaran
fc51cb1f30
Added Company, Copyright and Product attributes to AssemblyInfo
2016-03-03 17:32:36 -08:00
Doug Bunting
5e11093127
Remove project name from output path
...
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 18:49:26 -08:00
N. Taylor Mullen
57371e5c9c
Transition to netstandard.
...
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:32:58 -08:00
Ajay Bhargav Baaskaran
4fe825793b
Enabled xml doc generation
2016-02-18 12:29:56 -08:00
John Luo
ae47bb21a6
Ordering sensitive configuration #582
2016-01-28 13:55:17 -08:00
N. Taylor Mullen
e62ceb8528
Rename AspNet 5 file contents.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:21:40 -08:00
N. Taylor Mullen
c24e0297b2
Rename AspNet 5 folders and files.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:21:33 -08:00