Commit Graph

27731 Commits

Author SHA1 Message Date
Pranav K 948a2537da
Merge remote-tracking branch 'origin/release/2.1' into dev 2018-04-02 16:17:07 -07:00
Pranav K d1b745f249 Use Razor.Sdk package to verify templates
Fixes #400
2018-04-02 16:15:32 -07:00
David Fowler 6b183c5ac0
Use 4K as the minimum segment size (#2452)
- This normalizes the behavior for kestrel no matter what memory pool implementation is used. The transports should behave the same (ask for 1/2 full blocks) across pool implementations.
- Declare the minimum segment size in KestrelMemoryPool
- Updated the AdaptedPipeline to use MinimumSegmentSize / 2
2018-04-02 16:14:40 -07:00
ASP.NET CI aaf0b28683 Updating submodule(s)
WebSockets => 9930499ee1

[auto-updated: submodules]
2018-04-02 15:53:57 -07:00
dotnet-maestro-bot 2872a236ec Updating external dependencies to '20180330-03-1543000' (#1024) 2018-04-02 15:32:42 -07:00
Nate McMaster cad2b01dae
Hard-code the repo-to-repo build order on macOS and Linux (#1028)
Workaround for #1014
2018-04-02 15:31:45 -07:00
Pavel Krymets 1b5a2f25e4 Versions 2018-04-02 15:24:46 -07:00
Chris Ross (ASP.NET) 821c707955 Merge branch 'release/2.1' into dev 2018-04-02 15:06:25 -07:00
Justin Kotalik dd369bfaee
Merge pull request #1026 from aspnet/jkotalik/merge 2018-04-02 14:59:58 -07:00
Chris Ross (ASP.NET) 9930499ee1 Work around HttpClient TLS regression 2018-04-02 14:56:41 -07:00
Andrew Stanton-Nurse 2466764b65 update Kestrel submodule 2018-04-02 14:49:56 -07:00
James Newton-King 3460d44848
Fix non-serializable tests (#1820) 2018-04-03 09:31:52 +12:00
ASP.NET CI 13b07bf614 Updating submodule(s)
Hosting => 6e957e436a
Identity => b22c88b567

[auto-updated: submodules]
2018-04-02 20:55:22 +00:00
Andrew Stanton-Nurse 5d1bd0b70d update SignalR submodule 2018-04-02 13:51:22 -07:00
Nate McMaster fbdb3c558f
Mark dotnet-aspnet-codegenerator as noship (#1022)
... for now.
2018-04-02 13:36:34 -07:00
Kiran Challa 90de4469af Merge branch 'release/2.1' into dev 2018-04-02 12:21:58 -07:00
Kiran Challa b22c88b567 Fix CDN urls to match the fallback source folders' versions 2018-04-02 12:12:15 -07:00
ASP.NET CI 59f1e62282 Updating submodule(s)
DotNetTools => 6d4a632b96
Mvc => 07a1907918
WebHooks => 5da0e4e03526006f64f15e338d3f6671621526da

[auto-updated: submodules]
2018-04-02 19:04:07 +00:00
Justin Kotalik 6e957e436a
Support inprocess hosting in IISExpressDeployer via switching the HostingModel property. (#1368) 2018-04-02 12:01:53 -07:00
Justin Kotalik 5d2da9fed8 Merge into dev 2018-04-02 11:42:51 -07:00
BrennanConroy 5ce672dfe6
ThreadStatic MemoryBufferWriter (#1821) 2018-04-02 11:25:04 -07:00
BrennanConroy 6640f14e35
Detailed errors enabled for functional tests (#1822) 2018-04-02 10:42:26 -07:00
Chris Ross (ASP.NET) 852a5b31be Fix bad rebase 2018-04-02 10:37:02 -07:00
Nate McMaster 5bec83c5c9
Merge branch 'release/2.1' into dev 2018-04-02 10:35:48 -07:00
Pranav K e91e8b8ce2
Merge branch 'release/2.1' into dev 2018-04-02 10:34:16 -07:00
Pranav K 07a1907918
Introduce ViewDataAttribute
Allow properties on controllers, Razor Page and Razor Page models annotatted with [ViewDataAttribute]
to populate ViewDataDictionary

Fixes https://github.com/aspnet/Mvc/issues/6525
2018-04-02 10:31:16 -07:00
Pranav K fdc4df35ed
Fix build break 2018-04-02 10:29:46 -07:00
Nate McMaster 6d4a632b96
Fix race condition in test code waiting for dotnet-watch to restart 2018-04-02 10:10:57 -07:00
David Fowler e9d58154ec
Added TCP client sample to HubSample (#1805)
- Ripped of Kestrel's SocketConnection to make a TcpConnection
IConnection implementation.
- Fixed issue with SignalR assuming there will always be a non-null user
on the ConnectionContext.
2018-04-02 09:50:50 -07:00
Chris Ross (ASP.NET) 0ed396db0b Enable tests on 2.1 for Win7 2018-04-02 09:50:23 -07:00
Pranav K c7559e1ff4
Merge pull request #7590 from aspnet/release/2.1
Release/2.1
2018-04-02 09:49:14 -07:00
Pranav K c515cece8e Use ModelMetadataProvider to infer BindingSource on application model 2018-04-02 09:48:49 -07:00
Kristian Hellang a16504b941 Added failing test for #7546 2018-04-02 09:48:49 -07:00
Chris Ross (ASP.NET) ba87a293f9 Remove obsolete workaround 2018-04-02 09:46:21 -07:00
Andrew Stanton-Nurse bbc9f56ece
update artifacts.props in dev (#1025) 2018-04-02 09:41:58 -07:00
ASP.NET CI b16656debf Updating submodule(s)
Templating => 56fc40dbca

[auto-updated: submodules]
2018-04-02 06:35:17 +00:00
Jass Bagga 11054e30cb Merge branch 'release/2.1' into dev 2018-04-01 23:32:56 -07:00
Jass Bagga 56fc40dbca
Revert "Revert "Update jquery-validation-unobtrusive (#421)"" (#426)
This reverts commit e6112a0911.
2018-04-01 23:29:52 -07:00
David Fowler ef30e2e2df
Clean up the SSE client side transport (#1816)
- Renamed StreamPipeConnection to PipeReaderFactory
- Flow the transport cancellation token to the CopyToAsync routine 
- Other small cleanup and nits to make the style consistent with the other pipe reader loops
- Return a cancelled ValueTask from PipeWriterStream.WriteAsync
- Move event stream request to start itself
- We no longer need to pass the tcs through.
- It also cleans up handling failure in start since the application pipe hasn't been read or written to
2018-04-01 21:11:59 -07:00
David Fowler bb7cb14a1c
Clean up the logging style for HttpConnectionManager (#1819)
- Remove nameof usage
2018-04-01 19:34:11 -07:00
David Fowler 82bda4a9c8
Added micro benchmarks for SSE parsing and Writing (#1818) 2018-04-01 09:19:07 -07:00
David Fowler a37fa83aee
Fixed a parser bug found when trying out the array pool (#2450)
- When using the array pool, we get terrible block density and as a result
the header parser was failing.
- This fixes the case where the parser needed to skip 2 blocks at the end
(which is unrealistic). Comparing the current index to the reader index is incorrect
since we may end up at the same index in another segment.
2018-04-01 00:04:02 -07:00
James Newton-King ca161e9bc8
Improve writing single characters with UTF8 text writer (#1814) 2018-04-01 17:34:19 +12:00
David Fowler e6e45cea05
Change how HttpConnection sets headers (#1806)
- Removed SendUtils.PrepareRequst and instead used HttpClient.DefaultRequstHeaders to set the common headers to apply HttpOptions to all outbound requests
- Modified how we check for the user agent request testing
2018-03-31 22:23:09 -07:00
James Newton-King 04a22f23dd
Deserializing ISO formatted strings in method arguments (#1812) 2018-04-01 12:26:30 +12:00
ASP.NET CI 23b3dd2247 Updating submodule(s)
Templating => 23b9290deb

[auto-updated: submodules]
2018-03-31 23:30:30 +00:00
Pavel Krymets 23b9290deb
Merge pull request #425 from aspnet/revert-421-jbagga/UpdatejQueryLibraries
Revert "Update jquery-validation-unobtrusive"
2018-03-31 16:24:56 -07:00
Pavel Krymets a76d51c46b Revert "Update jquery-validation-unobtrusive (#421)"
This reverts commit ac9addabcc.
2018-03-31 16:24:07 -07:00
Pavel Krymets 31995a380b
Merge pull request #424 from aspnet/revert-423-release/2.1
Revert "Update jquery-validation-unobtrusive (#421)"
2018-03-31 16:13:06 -07:00
Pavel Krymets e6112a0911
Revert "Update jquery-validation-unobtrusive (#421)" 2018-03-31 16:09:27 -07:00