Commit Graph

958 Commits

Author SHA1 Message Date
Nate McMaster 9a4a43cc6a Use Directory.Build.props/targets 2017-08-29 09:52:04 -07:00
Eric 9b1cbedffc WebSocketClient.ConnectAsync throws when the provided CancellationToken is cancelled. 2017-08-24 15:14:59 -07:00
John Luo b187c1adc4 Add fallback when resolving application name
- Use the name of the EntryAssembly when application name is not specified
2017-08-24 11:00:01 -07:00
Javier Calvarro Nelson 964b671288 [Fixes #1012] Make it possible to override services when using UseStartup.
* Add IStartupConfigureServicesFilter to wrap ConfigureServices.
* Add IStartupConfigureContainerFilter<TContainerBuilder> to wrap
  ConfigureContainer.
* Make StartupLoader build a thunk for configure services that
  resolves all instances of IStartupConfigureServicesFilter and
  IStartupConfigureContainerFilter<TContainerBuilder> and wraps
  invocations to ConfigureServices and ConfigureContainer respectively.
* Refactor building the ConfigureServices callback into a private
  builder class due to the increased complexity in the process.
2017-08-23 14:32:51 -07:00
Justin Kotalik 1ea0647ae2 Update comments to reflect code behavior (#1182) 2017-08-22 16:46:00 -07:00
Nate McMaster e7541e99a7 Upgrade to xunit 2.3.0-beta4 2017-08-22 15:25:22 -07:00
Justin Kotalik 312e0da556 Fix case sensitivity on Startup classes and methods (#1166) 2017-08-18 09:45:12 -07:00
Justin Kotalik c74d0e7458 Adds .Value to logger calls to avoid calling .ToUriComponents on a bad header. (#1169)
* Add .Value to request properties in HostingRequestStartLog
2017-08-18 09:43:04 -07:00
Henk Mollema 456957bf57 Use dictionary for deployment parameters (#1126) 2017-08-10 10:56:21 -07:00
Christian Weiss 07f96a444e Always log startup exceptions 2017-08-08 09:55:30 -07:00
John Luo a49db63f06 Increment M.H.Server.IntegrationTesting version 2017-08-07 15:28:45 -07:00
John Luo 198ef2365e Ensure fallback to curl after failed wget 2017-08-02 14:31:48 -07:00
John Luo b28a28c13a Update __get_remote_file logic 2017-08-02 12:44:44 -07:00
Nate McMaster 44272ca2ba Fix syntax warning when running build.sh on older versions of bash
[ci skip]
2017-07-26 10:27:28 -07:00
Nate McMaster 4f66ac679b Update bootstrappers to use the compiled version of KoreBuild
[ci skip]
2017-07-25 16:32:06 -07:00
Pranav K bf4556a5dd Updating to InternalAspNetCoreSdkVersion 2.1.1-* 2017-07-25 15:13:14 -07:00
Ryan Brandenburg cd4689871f Set AspNetCoreVersion 2017-07-24 17:56:05 -07:00
Ryan Brandenburg 0dfb34011e 2.0.0-rtm to 2.1.0-preview1 2017-07-24 12:28:52 -07:00
Mike Harder 266736764c Rename to DiagnosticSourceVersion (#1143)
- Matches other repos
2017-07-19 09:37:37 -07:00
David Fowler e4350945c5 Attach the correlation id to the request scope if logging is on (#1138)
- Add the correlation id to the request scope as well as setting
it as the parent id of the activity
2017-07-11 10:03:15 -07:00
Ryan Brandenburg 3860ff4496 Skip first time experience on Appveyor 2017-07-10 15:18:18 -07:00
Pranav K 6abad0af2e Merge branch 'rel/2.0.0' into dev 2017-07-10 11:57:56 -07:00
Pranav K ff547c46a0 Updating KoreBuild branch 2017-07-10 11:57:56 -07:00
Pranav K b5efb77aa4 Merge branch 'rel/2.0.0' into dev 2017-07-10 11:42:43 -07:00
Pranav K 5fc9d8c198 Branching for 2.0.0 rtm 2017-07-10 11:42:42 -07:00
Ryan Brandenburg 7ca5002b4c Remove NETSTandard.Library.NETFramework 2017-07-07 10:27:25 -07:00
Pranav K 4d156bcaca Update version suffix for 2.0.0 RTM release 2017-07-06 15:08:16 -07:00
Ryan Brandenburg 84f7aad30e Set "TreatWarningsAsErrors" before NuGet restore
* Ensures our build stays clean of NuGet warnings
2017-07-06 13:35:34 -07:00
Nate McMaster b7ab95291c React to aspnet/BuildTools#293
[ci skip]
2017-07-06 10:37:29 -07:00
Ryan Brandenburg 654d6bee4a DiagnosticSource to 4.4.1 2017-07-03 15:06:56 -07:00
Pranav K d70c1b9f5c Update LICENSE.txt text 2017-07-03 14:05:52 -07:00
John Luo 15008b0b7f Add WaitForShutdown to WebHostExtensions 2017-07-01 23:13:52 -07:00
David Fowler b0a70aeef7 Add synchronous Start back to IWebHost (#1125)
* Add synchronous Start back to IWebHost
- Fixed extension methods to have a default(CancellationToken)
- Removed extension methods for Start, StartAsync and StopAsync
2017-07-01 15:00:54 -07:00
David Fowler b8e699b844 Remove dependency in HttpContextFactory for HostingApplicationTests (#1121) 2017-06-29 11:24:30 -07:00
Ryan Brandenburg bd661a9e86 Update Moq and remove NETSTandard.Library.NetFramework 2017-06-29 10:18:14 -07:00
Mike Harder 81dafd0e3b Remove custom apt source (#1113)
* Matches `.travis.yml` used in other repos
2017-06-26 14:41:03 -07:00
David Fowler 92fe9e1cd3 Fix travis settings 2017-06-23 19:32:42 -07:00
David Fowler 5fa9fc9458 Updated breaking changes file 2017-06-23 09:33:58 -07:00
Kristian Hellang 513f6ac816 Avoid having to return anything in StartupBase.ConfigureServices (#957)
* Implement IStartup explicitly so we don't have to return a service provider
* Inherit StartupBase and override CreateServiceProvider
2017-06-23 08:48:06 -07:00
Pranav K acb96ec971 Preapre for StackTrace.Sources changes 2017-06-22 11:18:43 -07:00
Pranav K d14b453c33 Allow publishing rid specific desktop applications 2017-06-21 12:16:01 -07:00
David Fowler e88ad84a72 Create a scoped service provider for the call to Configure (#1106)
* Create a scoped service provider for the call to Configure
- This allows scoped dependencies to be injected into the Configure method.
It means you can resolve the DbContext or any other scoped service without
the hassle of the CreateScope boiler plate. As a side effect, it also makes
Startup.Configure a bit more testable.
2017-06-19 14:14:20 -07:00
David Fowler 70a3017b12 Add overload that takes an IConfigurationBuilder (#1107) 2017-06-19 12:41:43 -07:00
Kiran Challa 39aa81abcc Fixed version of netstandard.library 2017-06-15 05:31:02 -07:00
Kiran Challa 21be9922c2 Merge branch 'rel/2.0.0-preview2' into dev-gate 2017-06-15 04:01:23 -07:00
Kiran Challa 53128bca0e Revert "Add "--no-restore" parameter to "dotnet publish" (#1101)"
This reverts commit 007e3b6b51.
2017-06-14 20:06:11 -07:00
Kiran Challa 0b90376bbf Revert "Add "--no-restore" parameter to "dotnet run" (#1104)"
This reverts commit 78877b6ba2.
2017-06-14 20:06:03 -07:00
Kiran Challa 9f49d34c17 Revert "Workaround: On xplat machines, provided executable permission to published standalone application executable"
This reverts commit 51f77ea7f3.
2017-06-14 19:52:54 -07:00
Mike Harder 3763aba85c Merge remote-tracking branch 'origin/rel/2.0.0-preview2' into dev 2017-06-13 10:40:19 -07:00
Mike Harder 78877b6ba2 Add "--no-restore" parameter to "dotnet run" (#1104)
- Workaround for "Publish fails on app with project reference to netstandard2.0 class library" (https://github.com/dotnet/cli/issues/6843)
2017-06-13 10:39:58 -07:00