Chris R
48ca10cffc
Merge branch 'rel/1.1.0' into dev
2016-11-10 16:16:12 -08:00
Chris R
f8fbb15e14
IISIntegration#292 Test support for bin deployed aspnetcore.dll
2016-11-10 16:06:39 -08:00
Pranav K
21f7c89838
Updating versions to 1.2.0-*
2016-11-09 14:17:46 -08:00
Pavel Krymets
1ee27971a5
Add test for SIGTERM functionality ( #878 )
2016-11-08 09:58:45 -08:00
jacalvar
911da31476
Created public API baselines
2016-11-04 15:17:13 -07:00
Pavel Krymets
2bddba8f90
Handle SIGTERMs for graceful shutdown ( #876 )
2016-11-02 09:29:44 -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
d0e8c4dd4c
Updating to netcoreapp1.1
2016-10-13 11:17:42 -07:00
jhkimnew
e67c82e7f2
Updated IISDeployer
2016-10-07 10:15:17 -07:00
Pranav K
37b1fc039d
Updating partner package versions
2016-09-29 10:52:23 -07:00
Kiran Challa
b6da89f54c
[ Fixes #852 ] TestHost: OnStarting and OnCompleted callbacks of response are not being awaited
2016-09-15 16:35:27 -07:00
BrennanConroy
98e35cc6da
Add retry to ApplicationDeployer delete
2016-09-08 11:04:24 -07:00
Kiran Challa
9c44d493ca
Revert "Revert "Remove existing implementation of StartupExceptionPage and use the one in Common""
...
This reverts commit 3f6b558cf3 .
2016-08-29 12:40:13 -07:00
Kiran Challa
3f6b558cf3
Revert "Remove existing implementation of StartupExceptionPage and use the one in Common"
...
This reverts commit 83e0d4798e .
2016-08-25 17:21:29 -07:00
Kiran Challa
83e0d4798e
Remove existing implementation of StartupExceptionPage and use the one in Common
...
[Fixes #831 ] Fix startup exception page to handle flattened exceptions
2016-08-25 16:27:30 -07:00
BrennanConroy
e927dd6924
More old code
2016-08-25 11:45:19 -07:00
BrennanConroy
0bd8a841bb
Remove old code
2016-08-24 16:21:59 -07:00
Pranav K
ec575595ad
Make dotnet publish use LogInformation instead of LogTrace
...
This would make it have the same LogLevel as dotnet run so we'd have better diagnostics without having to change tests.
2016-08-22 15:04:17 -07:00
Pranav K
d2f109ef6c
Add environment variables to dotnet publish
2016-08-18 10:34:13 -07:00
David Fowler
0a7cf6b5a0
Added support for Startup.ConfigureContainer
...
- Startup.ConfigureContainer allows users to configure a 3rd party DI
container in a first class way in the Startup class. 3rd party containers
plug in via IServiceProviderFactory<TContainerBuilder> configured in
IWebHostBuilder.ConfigureServices.
- Added tests
2016-08-17 10:44:27 -07:00
Pranav K
f8189a2296
Rename to Microsoft.AspNetCore.Server.IntegrationTesting
...
Fixes #824
2016-08-12 12:03:01 -07:00
Kiran Challa
c6de61b520
Addressed feedback
2016-08-10 11:50:04 -07:00
Kiran Challa
cc65ddfa28
Updated ApplicationDeployer to conditionally delete published application folder
2016-08-10 10:04:17 -07:00
Kiran Challa
1aa5ebc585
ApplicationDeployer: Supply the build configuration to dotnet publish
2016-08-08 13:27:23 -07:00
Kiran Challa
e96f2cb738
Set deployed application root folder as working directory
2016-08-04 14:07:36 -07:00
Ajay Bhargav Baaskaran
184a25792a
[ Fixes #819 ] Display LoaderExceptions in ReflectionTypeLoadException
2016-07-25 12:19:32 -07:00
John Luo
b955ec7743
Update shutdown logic for hosted applications
...
- Guarantee the ordering of ApplicationLifetime events
- Guarantee that the callbacks of each event is completed before the next event is triggered
2016-07-21 11:14:51 -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
dc35157f7a
Use MethodDisplayInfo to display stack trace
2016-07-05 11:47:09 -07:00
Mohammad Rahhal
7b513de5c3
Output "Application is shutting down" message
2016-06-17 10:53:30 -07:00
Pranav K
ef0de2b6e7
Updating to dev versions
2016-06-16 10:17:56 -07:00
BrennanConroy
7d2ec5b37b
Fix tests hanging
2016-06-14 16:43:56 -07:00
Kiran Challa
c72f8ac8bb
Updated the dotnet CLI workaround for enabling standalone or portable apps to run in Nano
2016-06-13 12:39:19 -07:00
Cesar Blum Silveira
0f79bff98b
Prevent NullReferenceException when disposing Context.Scope ( #782 ).
2016-06-09 15:58:31 -07:00
jacalvar
525b9251df
Remove unnecesary imports
2016-06-08 14:58:21 -07:00
John Luo
db4b0af98b
Read environment variables by default #784
2016-06-08 10:42:00 -07:00
BrennanConroy
e41b455141
Update
2016-06-07 11:35:40 -07:00
BrennanConroy
7808a47ccc
Use Sources RuntimeEnvironment
2016-06-07 10:01:27 -07:00
Kiran Challa
808ee7e965
Fixed SelfHostDeployer and IISExpressDeployer to use the correct application path
2016-06-06 16:32:51 -07:00
Kiran Challa
772bd562c9
Fixed RemoteWindowsDeployer to support IIS scenarios
2016-06-06 16:32:51 -07:00
Pranav K
cb27e74fc9
Target netstandard1.3
2016-06-06 12:57:14 -07:00
Pranav K
d02f67785f
Use Microsoft.Extensions.StackTrace.Sources
2016-06-03 16:44:57 -07:00
Pranav K
a3b2a7b62b
Fix package verifier warnings
2016-06-02 10:55:03 -07:00
Cesar Blum Silveira
a2ee01272a
React to HttpAbstractions@8212694.
2016-05-31 17:05:39 -07:00
Kiran Challa
1433822ec8
Fix OS platform check in SelfHostDeployer
2016-05-31 15:54:17 -07:00
Kiran Challa
bb3555c3dc
Fixed RemoteWindowsDeployer to copy dontet runtime to target server for enabling portable apps scenario
2016-05-31 11:50:28 -07:00
BrennanConroy
f60aa7aa70
Replace some of PlatformAbstractions with RuntimeInformation
2016-05-31 10:38:03 -07:00
David Fowler
92553ae77c
Removed dead code
2016-05-28 16:34:38 -07:00
John Luo
4fccbeebdc
Update metadata
2016-05-27 15:26:29 -07:00
John Luo
8a9963ece2
React to updated CoreCLR packages
...
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:33:37 -07:00
Kiran Challa
be7069b198
Fixed RemoteWindowsDeployer for testing portable apps and temporary workaround for a dotnet cli issue
2016-05-26 12:37:21 -07:00
John Luo
7f4e3645f2
Update ConfigureServicesBuilder exception message #502
2016-05-23 16:11:18 -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
Pavel Krymets
bdc3959938
Downgrade Server.Testing version to 0.1
2016-05-20 14:35:06 -07:00
Pranav K
2bd97b6071
Fix build warnings
2016-05-19 14:20:17 -07:00
Pranav K
d42df96a47
Revert "aspnet/Coherence#97 - React to updated CoreCLR packages"
...
This reverts commit 5326405fd7 .
2016-05-18 10:24:02 -07:00
Pranav K
ad7de3619a
Revert "React to updated CoreCLR packages"
...
This reverts commit 657d35819d .
2016-05-18 09:43:34 -07:00
John Luo
657d35819d
React to updated CoreCLR packages
...
https://github.com/aspnet/Coherence/issues/97
2016-05-17 15:13:47 -07:00
Ajay Bhargav Baaskaran
5326405fd7
aspnet/Coherence#97 - React to updated CoreCLR packages
2016-05-17 12:53:24 -07:00
Kiran Challa
954e864f96
Fixed RemoteWindowsDeployer to differentiate running between portable/standalone apps.
2016-05-13 10:17:55 -07:00
John Luo
06e23558d2
Merge branch 'release' into dev
2016-05-06 17:25:13 -07:00
John Luo
3337c288c7
Update self host deployer to target specific framework when lauching without publish
2016-05-05 18:58:37 -07:00
Chris R
4cad0a2f01
Merge branch 'release' into dev
2016-05-03 09:05:55 -07:00
Chris R
642cdc0437
#738 Support legacy environment keys
2016-05-03 09:02:44 -07:00
Chris R
e6bddd4131
Prepopulate the environment rather than fall back to it.
2016-05-03 08:55:56 -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
Pranav K
853820cd9d
Clean up sample
2016-04-29 08:54:04 -07:00
BrennanConroy
d5b1df13cf
Merge branch 'release' into dev
2016-04-28 10:06:13 -07:00
BrennanConroy
289b3f58d0
Prefer uppercase ASPNETCORE_ENVIRONMENT
2016-04-28 10:01:43 -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
John Luo
98bf64819e
Merge branch 'release' into dev
2016-04-27 11:13:58 -07:00
John Luo
c3d8a00c11
Remove DNX branding from footer
2016-04-27 10:42:11 -07:00
jacalvar
126a73a475
Merge branch 'release' into dev
2016-04-27 09:34:46 -07:00
jacalvar
e36c80bc7b
[ Fixes #721 ] Test server should fire onResponseCompleted after the actual response has completed
2016-04-27 09:31:02 -07:00
Pranav K
abe6dd5692
Merge branch 'release' into dev
2016-04-26 10:18:15 -07:00
Pranav K
3853d988c2
Remove references to IRuntimeEnvironment \ IApplicationEnvironment
2016-04-25 14:25:19 -07:00
Kiran Challa
80714a3d70
Added RemoteWindowsDeployer to deploy published applications on remote windows machines
2016-04-21 15:30:29 -07:00
John Luo
744e736c70
Merge branch 'release' into dev
2016-04-21 10:38:19 -07:00
John Luo
e874f99791
Updating deployers for apps using shared runtime
2016-04-21 10:27:03 -07:00
David Fowler
68092dbb97
Porting #712 to release
2016-04-19 10:29:25 -07:00
Dorin Andreica
d2780734b2
Rebased #713 on latest aspnet/Hosting
2016-04-19 11:38:32 +02:00
David Fowler
933a2f5a1d
Don't dispose the server anymore, the container does it
2016-04-18 22:47:28 -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
dd6bf6a205
Merge branch 'release' into dev
2016-04-18 16:58:32 -07:00
Pavel Krymets
e3f4f23b5a
Bring Microsoft.NETCore.Platforms dependency back
2016-04-18 16:58:28 -07:00
Ryan Brandenburg
6fd469e748
Make contentRootPath error give failed path
2016-04-18 09:48:48 -07:00
Chris R
5e425b24ec
Merge branch 'release' into dev
2016-04-15 16:02:49 -07:00
Chris R
26e6036187
#698 Remove IServerFactory
2016-04-15 16:01:17 -07:00
Ryan Brandenburg
6a57ec1fa9
Make contentRootPath error give failed path
2016-04-15 14:47:22 -07:00
Dorin Andreica
eb8c0a2634
Do not suppress original exceptions in ConfigureBuilder, Fix #695
2016-04-15 11:06:20 -07:00
BrennanConroy
90510f5138
Allow nginx to run with published apps
2016-04-15 10:05:13 -07:00
John Luo
816b5df9cd
React to moving web.config
2016-04-08 16:35:14 -07:00
Pranav K
a1267311fe
Removing imports from src projects
2016-04-08 06:48:53 -07:00
jacalvar
4cbda0358b
Eagerly initialize hosting environment
2016-04-02 00:53:11 -07:00
David Fowler
b6a3fee088
Allocate the IServiceScopeFactory once and reuse it across requests
...
- Since we resolve the IServiceProvider from the application container, it's should be safe to reuse it across requests without the extra lookup everytime.
2016-04-01 20:32:59 -07:00
BrennanConroy
8c69989a5f
React to logging changes
2016-04-01 12:02:09 -07:00
BrennanConroy
b5816f22cf
Replace DNX451 with NET451
2016-03-31 10:58:45 -07:00
Doug Bunting
6e87b51638
React to HttpAbstractions namespace changes
...
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:02:42 -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
BrennanConroy
8451d1afcb
Fix rare deadlock in TestHost
2016-03-30 10:24:50 -07:00
David Fowler
a0de7564e2
Small tweaks to hosting
...
- Added some framework assemblies to stop VS from complaining
- Call AddSingleton instead of TryAddSigleton since we're always first.
- Remove the null check since these abstractions are never null now.
- Moved comments
2016-03-29 03:03:40 -07:00
John Luo
a406bfd86f
Add addtional test and some comments
2016-03-25 17:11:21 -07:00
Christian Weiss
4b16e83a1f
Pass existing LoggerFactory into WebHostBuilder
2016-03-25 15:34:30 -07:00
BrennanConroy
22eab75005
Add Nginx Deployer
2016-03-25 14:52:10 -07:00
Doug Bunting
b06a84457d
Ensure an `ObjectPoolProvider` is registered
...
- e.g. take advantage of aspnet/HttpAbstractions#561 fix wherever cookies are used
2016-03-25 09:58:05 -07:00
Christian Weiss
bfcaa00e1b
removes the ConfigureDelegate delegate
2016-03-24 18:03:53 -07:00
John Luo
312192b447
WebHostBuilder extensions rename and documentation. #636 #648
2016-03-22 16:27:28 -07:00
Doug Bunting
bb3809d3dc
React to HttpAbstractions change: No features in `.Internal` namespace
...
- see issue aspnet/HttpAbstractions#561 and pull aspnet/HttpAbstractions#589
2016-03-21 09:06:37 -07:00
Pranav K
3af7a96c78
Reacting to CoreCLR package changes
2016-03-20 20:17:52 -07:00
David Fowler
0852883133
Merge pull request #664 from cwe1ss/cweiss/InconsistentFilenames
...
File names not matching class names
2016-03-20 12:25:26 -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
David Fowler
2836c20093
Merge pull request #663 from cwe1ss/cweiss/AbstractionsDocs
...
Consistency fixes for XML docs
2016-03-20 12:24:15 -07:00
Christian Weiss
cc0fc6ac06
File names not matching class names
2016-03-20 12:06:46 +01: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
862f16efa9
Update package name
2016-03-17 16:35:20 -07:00
John Luo
9ae3327af3
Use KillTree from Common
2016-03-17 16:07:38 -07:00
John Luo
ac7741fe81
Configure IStartupFilters in FIFO order #653
2016-03-17 15:51:32 -07:00
John Luo
32740d67a7
Use NullFileProvider from FileSystem
2016-03-16 14:27:45 -07:00
John Luo
24279aa946
Handle directories with spaces during deployment publish #630
2016-03-15 17:49:16 -07:00
Pranav K
f76fb06c8f
Fixing CI build break
2016-03-15 12:43:43 -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
John Luo
9ade9da2f7
Revert ApplicationBasePath default resolution #641
2016-03-14 10:31:08 -07:00
Pranav K
7b1931c2c8
Fixing CI build failure
2016-03-12 17:38:44 -08:00
Chris R
a31f840675
Rename environment variables to ASPNETCORE_. Remove the legacy ENV abbreviation.
2016-03-11 10:42:47 -08:00
Chris R
a77e7cf6da
Allow ConfigureServices to be called multiple times.
2016-03-10 16:15:22 -08:00
John Luo
b48b5f1553
Set default ApplicationName and ApplicationBase in ApplicationEnvironment #613
2016-03-10 15:45:05 -08:00
John Luo
c6f6066b03
Elevate application starup errors to be logged as critical #612
2016-03-04 14:55:58 -08:00
John Luo
a04dae1b14
Merge branch 'johluo/fix-deployers' into dev
2016-03-04 12:11:20 -08:00
John Luo
18828d7c2e
Add a parameter for tests to specify TFM for publish before deployment. #626
2016-03-04 10:40:55 -08:00
Ajay Bhargav Baaskaran
6b933b5e8a
Removed duplicate attribute
2016-03-03 18:10:20 -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
=
947adbc8a8
Fix deployers for non-windows platforms and coreclr
...
- Execute published clr applications on linux and mac with mono
- Update TFM for coreclr project to netstandardapp1.5
2016-03-01 02:29:31 -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
8cdc6da20b
Fix how processes are killed on Linux
2016-02-26 16:46:09 -08:00
John Luo
06cfdcaf23
Removing duplicated extension for creating enumerable configuration
2016-02-25 17:38:11 -08:00
John Luo
0d737d5eb8
Append .exe to executable when deploying published CLR applications
2016-02-25 16:12:25 -08:00
John Luo
9b214971f6
Update the self host deployer message so published application command is accurate
2016-02-25 15:54:11 -08:00
Kiran Challa
5106376cbb
Remove the 'exe' extension to enable tests to run on non-Windows platforms
2016-02-25 12:59:30 -08:00
BrennanConroy
09ad082913
No dnu
2016-02-25 10:13:21 -08:00
moozzyk
899fe193e7
Replacing KillProcess with taskkill /t which kills entire process tree
2016-02-19 14:56:43 -08:00
Ajay Bhargav Baaskaran
19501c03aa
Few minor doc comment changes
2016-02-18 16:47:33 -08:00
Ajay Bhargav Baaskaran
4fe825793b
Enabled xml doc generation
2016-02-18 12:29:56 -08:00
John Luo
6aa848dd93
Convert TFM to net451 to allow custom test discovery
2016-02-16 17:59:17 -08:00
David Fowler
0633690715
Simplify resolve path check
2016-02-13 22:47:07 -08:00
Victor Hurdugaci
e7eb076a39
Change the deployers to use dotnet
2016-02-09 10:23:43 -08:00
Pranav K
41baf6feed
Reacting to CoreCLR package version changes
2016-02-08 09:33:45 -08:00
David Fowler
fb0807cd7d
Reduce dependencies in server abstractions
2016-02-06 02:25:34 -08:00
moozzyk
79df7c9ca7
Resolving relative application base paths
2016-02-04 12:48:48 -08:00
Kiran Challa
906ed5f0fb
Fixes #597 : Hosting logging needs to use structured logging instead of format strings
2016-02-03 10:10:25 -08:00
John Luo
8e94d40688
Updating to new CLI
2016-02-01 19:11:00 -08:00
David Fowler
94593de0c1
Print the application base path out
...
- This helps to show how the host is configured
2016-01-29 16:04:57 -08:00
John Luo
ae47bb21a6
Ordering sensitive configuration #582
2016-01-28 13:55:17 -08:00
Brennan
3ea44c6f75
React to Logging API changes
2016-01-27 14:01:49 -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
Brennan
70c69178f6
React to Fileprovider namespace changes
2016-01-21 16:56:27 -08:00
Pranav K
802dbea6db
Reacting to CoreCLR package version change
2016-01-20 20:50:18 -08:00
David Fowler
cb029209a3
Remove top level environment variables from default config
2016-01-20 22:41:47 +00:00
John Luo
cad9ea1df7
Rename WebApplication to WebHost
2016-01-17 15:31:29 -08:00
David Fowler
0673acedc4
Added overload of Run that triggers shutdown on a cancellation token
...
- Added test
- Changed NotifyStopped() after all work has been done
2016-01-16 11:24:43 +00:00
Troy Dai
80bc8bbbe1
Fix test break caused by null ApplicationBaseUrlHint
...
In addtion to the fix here are the changes to improve the helper:
1. Rename the helper to better represent its function;
2. Add overload to generate free port without hint;
3. Add overload to generate local test url;
2016-01-14 14:50:59 -08:00
Pavel Krymets
3c79b425f1
Use dynamic ports for all deployers
2016-01-13 14:31:24 -08:00
John Luo
c747ce630d
TestServer should not capture startup errors by default
2016-01-13 14:23:16 -08:00
John Luo
f7be1fb80e
Fixing logger nullref when context created with no feature #532
2016-01-13 11:47:10 -08:00
Ben Adams
fa72fdeaed
Higher accuracy in timings
2016-01-13 11:36:39 -08:00
John Luo
d422201e01
Elaborating error message when no startup is specified
2016-01-12 22:14:09 -08:00
Chris R
317c9d0e80
Remove HttpPlatformHandler port detection.
2016-01-12 11:43:01 -08:00
Troy Dai
eb617eb9a9
Publish to inetpub
2016-01-12 11:37:40 -08:00
John Luo
1b05fb442e
Add extension to configure capture startup errors setting which defaults to true #552
2016-01-12 10:59:09 -08:00
Troy Dai
ccde330978
Update IISDeployer and its base class
2016-01-11 23:19:08 -08:00
John Luo
48451bdabc
Making application available from TestServer #519
2016-01-11 16:39:48 -08:00
John Luo
2c7f0ff35d
Remove IncludedConfigurationProvider since it's been added to Configuration repo
2016-01-07 15:19:41 -08:00
David Fowler
294e16732f
Move default config to Hosting.Abstractions
2016-01-07 07:49: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
d8a20521f1
Add Options to the default set of services
...
#547
2016-01-04 16:38:23 -08:00
John Luo
d07a072287
Adding AssemblyInfo for WindowsServices
2015-12-22 19:58:51 -08:00
John Luo
4ec36de602
Minor cleanup of WindowsServices
2015-12-22 17:00:26 -08:00
Erez Testiler
83c8816eb7
Add support for hosting within a Windows service.
2015-12-22 17:00:26 -08:00
John Luo
f5a866ff3c
Using new PlatformServices API
2015-12-22 15:12:28 -08:00
Ben Adams
216fe7843c
Remove unnecessary state machine
2015-12-22 13:44:57 +00:00
Henk Mollema
45a1981e3b
Remove dnx451 and dnxcore50 TFM's
2015-12-22 08:50:31 +01:00
John Luo
7b43502817
Update selfhost to specify server via command line
2015-12-21 14:37:04 -08:00
Chris R
94bf7bf2d5
Dont select an architecture specific version of IIS Express.
2015-12-21 10:17:50 -08:00
David Fowler
1c70ff4d13
API changes to Hosting and TestServer #525
2015-12-17 14:52:42 -08:00
Pranav K
35f9de5ae1
Reacting to DI and PlatformAbstraction changes
2015-12-17 11:45:48 -08:00
Martin Johns
5e837b4eef
Reduce overuse of null-conditional operator
2015-12-14 10:47:15 -08:00
John Luo
455d865948
Fixing deadlock hang in test when running in single threaded environment
2015-12-14 10:14:32 -08:00
Kiran Challa
3325bfc653
Fix how we chose target runtime in deployers
2015-12-12 22:12:01 -08:00
Pranav K
8aa3fd6e9c
Use TypeNameHelper for pretty printing names
2015-12-09 16:59:12 -08:00
Pranav K
a83c556bb7
Remove compilation error support from Startup error page
...
Fixes #510
2015-12-09 16:58:36 -08:00
Pranav K
b966ed0ba3
Fixing CoreCLR package versions
2015-12-08 17:15:40 -08:00
David Fowler
29a4f302d8
Remove non-essential platform services
...
- Remove services that can be registered by the application itself.
- These services use to come from the DNX but now they are stand alone
implementations that can be registered by applications if they choose.
#501
2015-12-07 21:58:12 -08:00
Doug Bunting
3f9c23a6ee
Remove `[SuppressMessage]`s
...
- build break
2015-12-07 20:15:37 -08:00
John Luo
0f0999161d
Reacting to verbose rename
2015-12-07 12:09:32 -08:00
John Luo
8c256a0d87
New IServer design with IHttpApplication added #395
2015-12-01 12:08:40 -08:00
Pavel Krymets
f600604140
Add tests for map path without wwwroot, and typos
2015-12-01 08:44:00 -08:00
Chris R
d01c8bb1cf
#318 Move IStartupFilter to Hosting.Abstractions.
2015-11-21 21:56:34 -08:00
Chris R
9d19a27b6b
#481 Add the DNX runtime to the path when lanching test processes.
2015-11-20 15:45:57 -08:00
Pavel Krymets
6a719ab95d
Remove webroot fallback to approot
2015-11-20 13:37:08 -08:00
John Luo
73fd257844
Reacting to ApplicationServices removal from HttpContext
2015-11-19 17:03:31 -08:00
Pavel Krymets
04c30c8bb7
Flow configuration via IHostingEnvironment
2015-11-19 14:18:45 -08:00
Pavel Krymets
7c8b37bcc7
Do not add IHttpContextAccessor to DI by default
2015-11-18 15:03:03 -08:00
Chris R
2f2ca234a5
Enable detailed startup errors by default.
2015-11-18 14:01:40 -08:00
Master T
3c1b759750
Merge pull request #485 from tmds:dev
...
Convert Environment Ticks to TimeSpan Ticks
2015-11-18 10:57:05 -08:00
Pranav K
8341c6a944
Reacting to DependencyInjection changes
2015-11-13 11:04:43 -08:00
N. Taylor Mullen
0692ebe628
Remove System beta tag in project.json for coreclr packages.
2015-11-12 12:23:29 -08:00
Pavel Krymets
ecb7e697d1
Fix bug with environment name beeng overwritten
...
After being set using UseEnvironment
2015-11-11 08:44:24 -08:00
Pavel Krymets
b2edb0d484
Fix environment variable loading in hosting #470
2015-11-10 12:26:07 -08:00
Pavel Krymets
660f1cad10
Make hosting configuration consistent
2015-11-09 16:35:27 -08:00
Pavel Krymets
5bb737b6ad
Make Compilation Abstractions naming consistent with Platform Abstractions
2015-11-06 15:10:11 -08:00
Pavel Krymets
c1311f903e
Rename Microsoft.Dnx.Compilation.Abstractions to Microsoft.Extensions.Compilation.Abstractions
2015-11-03 15:08:40 -08:00
Cesar Blum Silveira
c7d5603c9e
Merge branch 'release' into dev
2015-11-03 13:29:07 -08:00
Cesar Blum Silveira
79eed1807e
Strong name Microsoft.AspNet.TestHost.
2015-11-03 12:42:26 -08:00
Cesar Blum Silveira
354e0876a6
Merge branch 'release' into dev
2015-11-02 16:32:11 -08:00
Cesar Blum Silveira
201e3d325a
Strong name everything.
2015-11-02 15:50:03 -08:00
Pavel Krymets
2ed9ae8586
Rename Microsoft.Dnx.Compilation.Abstractions to Microsoft.Extensions.Compilation.Abstractions
2015-11-02 15:24:06 -08:00
John Luo
3933a1904e
Refactoring IServerFactory #395
2015-10-30 13:00:07 -07:00
Chris R
21373740c7
React to WebEncoders change.
2015-10-30 10:39:39 -07:00
Stephen Halter
4ad38625c7
Get the current runtime path via PlatformServices.Default
...
- This fixes an issue whith ApplicationDeployer on Mono.
Instead of giving the dnx path, Process.GetCurrentProcess().MainModule.FileName
would give the path to the Mono executable.
2015-10-29 14:50:51 -07:00
Victor Hurdugaci
0b14bc135b
Show type load exception on the startup error page
2015-10-29 11:43:31 -07:00
Chris R
995f0ca92f
#452 Rename Microsoft.AspNet.Hosting.json to hosting.json.
2015-10-29 08:21:30 -07:00
Kiran Challa
2bb2f95532
Log messages from HostingEngine are sometimes null #454
2015-10-28 15:51:36 -07:00
Victor Hurdugaci
9be0758c4d
Event ids and more logging
2015-10-26 14:42:37 -07:00
Chris R
2f4c34476b
#411 Use "webroot" instead of "hosting:webroot"
2015-10-26 13:43:00 -07:00
Chris R
52796a09a2
#434 Make sure IApplicationLifetime gets added even if startup throws.
2015-10-26 08:59:47 -07:00
Chris R
0107ba005b
One more line.
2015-10-25 09:12:55 -07:00
Chris R
8e1a0768db
Remove IHttpContextFactory, it was moved to HttpAbstractions.
2015-10-25 09:12:33 -07:00
Louis DeJardin
f37375f43c
Reduce logging overhead in hosting
...
* TraceIdentifier is done at the last moment, or not at all
* Request starting and finished messages are added
* This pair provide many of the top-level values that you would have
found in server log files.
2015-10-23 14:22:58 -07:00
Pranav K
a20b3e6e37
React to Testing changes
2015-10-23 14:12:21 -07:00
Chris R
56256a013b
#430 Move Program.Main into WebApplication.Run.
2015-10-23 09:43:59 -07:00
David Fowler
460b9bcac1
Exclude facade from .NET 4.5.1 target
2015-10-23 05:04:51 -07:00
David Fowler
d56e2fe59b
Removed whitespace
2015-10-23 03:11:50 -07:00
David Fowler
fa72b35883
More granualr null checks for platform services
2015-10-23 02:59:50 -07:00
David Fowler
02de506c28
React to rename of DNX abstractions
2015-10-23 00:33:48 -07:00
Pavel Krymets
ea0abd8293
Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions
2015-10-22 18:10:41 -07:00
John Luo
b72f95bdb5
Setting IHttpContextAccessor in CreateHttpContext #405
2015-10-22 16:19:31 -07:00
John Luo
0394987271
Adding more specific error for private configure
2015-10-22 12:35:25 -07:00
Pranav K
47365e421f
Add generations TFMs to Hosting packages
2015-10-22 12:19:45 -07:00
N. Taylor Mullen
8e946798a1
Remove compilation options from services.
...
- This was a temporary work around to allow MVC to build.
- Reacts to aspnet/Mvc#3383
2015-10-22 11:01:51 -07:00
Chris R
4702752384
#411 Default webroot to wwwroot if the directory exists.
2015-10-22 09:27:53 -07:00