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
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
Pavel Krymets
622d6b006f
Migrate tests, tools and samples to portable
2016-04-14 15:18:02 -07:00
John Luo
fb036a4e3a
Update samples TFM
2016-03-25 17:30:52 -07:00
John Luo
312192b447
WebHostBuilder extensions rename and documentation. #636 #648
2016-03-22 16:27:28 -07: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
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
John Luo
8e94d40688
Updating to new CLI
2016-02-01 19:11:00 -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
John Luo
cad9ea1df7
Rename WebApplication to WebHost
2016-01-17 15:31:29 -08:00
David Fowler
e72924796e
More hosting API changes
...
- Added IWebApplicationBuilder and moved it to Hosting.Abstractions as a
target for others to extend the web application builder.
- Made methods extension methods where possible
- Added UseUrls
2016-01-06 21:09:33 -08:00
David Fowler
46e3e25ec7
Add the ability to set the IApplicationEnvironment.ApplicationBasePath
...
- Added UseApplicationBasePath which sets the base path (used for views
and static files)
2016-01-04 17:43:23 -08:00
David Fowler
1c70ff4d13
API changes to Hosting and TestServer #525
2015-12-17 14:52:42 -08:00