Commit Graph

42429 Commits

Author SHA1 Message Date
David Fowler d1494224f4 Make the tests that use the Heartbeat more deterministic. (#1724)
- Added Start to Heartbeat and made OnHeartbeat internal
- Explicitly call start in tests
2017-04-20 01:41:37 -07:00
Hao Kung fc51c4ffa6 Add inject 2017-04-19 21:14:36 -07:00
Hao Kung 62abf9431f Add using to sample 2017-04-19 19:46:25 -07:00
Hao Kung 27e90edc1c SignalR => Auth 2.0 2017-04-19 18:51:24 -07:00
Stephen Halter a053ca4758 Move shutdown logic from transport to core (#1707)
* Move shutdown logic from transport to core
* Use weak references to track FrameConnections
2017-04-19 18:08:36 -07:00
Hao Kung 4aafafe6f9 Update sample 2017-04-19 17:59:14 -07:00
David Fowler d40dbb81ea Fixed broken tests that leak UvWriteReq 2017-04-19 17:50:43 -07:00
Hao Kung 2b34372689 Disable API check for now 2017-04-19 17:06:29 -07:00
Hao Kung d938fef626 MvcPrecompilation => Auth 2.0 2017-04-19 17:05:54 -07:00
Ryan Nowak 4bf518b09b Fix #6140 - Allow linking between controller and page
The issue here is that route values used for action selection are
'global'. That means that pages need to have a 'null' route value for
'action' and controllers need to have a 'null' route value for pages. This
is the same way that areas work.

The fix is to move the 'merge' of route values up to a level where pages
and controllers can work together. Since ADPs use the russian-doll
pattern, the fix is to run this 'merge' in the controller ADP, but after
all of the ADs have been created.
2017-04-19 16:48:38 -07:00
Chris R 76a4299b52 #326 Fix API set target 2017-04-19 16:09:57 -07:00
Hao Kung 6cd487e15f Disable api check temporarily to unblock build 2017-04-19 16:07:23 -07:00
Nate McMaster 7a3a731686 Refactor address binding and handle EAFNOSUPPORT
- Simplify KestrelServer by refactoring address binding into a separate class
 - Use strategy pattern to implement address binding for different sceanrios
 - Add fallback from binding 0.0.0.0 if binding to [::] fails (can happen if UvException with EAFNOSUPPORT is thrown)
2017-04-19 15:58:12 -07:00
David Fowler 42d82a507d Make all UvRequest objects normal GC handles (#1698)
* Make all UvRequest objects normal GC handles
- This avoids the cost of using GCHandle.Alloc per operation.
- It *does* mean that we need to explicitly dispose UvRequest objects
after using them (which we did before anyways). This change does
add a few try catch statements to make sure we always dispose the UvRequest
if there are synchronous exceptions.
- This is ~1.5% of the overhead in the benchmarks today
- Keep track of all allocated UvRequest objects with a WeakReference in DEBUG
and assert none are kept around after cleaning up.
- Fixed a leak where we don't clean up UvWriteReq objects when writing
to the named pipe.
2017-04-19 15:16:11 -07:00
Hao Kung 025efe1d6e Fix usings to use Auth 2.0 2017-04-19 15:12:50 -07:00
Ryan Brandenburg c9bfd2296d Parity between Controller and Page/PageModel 2017-04-19 15:02:06 -07:00
Hao Kung 7fd15a2ae6 Fix tests 2017-04-19 14:32:28 -07:00
Hao Kung bb73898ca2 Disable api check 2017-04-19 14:14:46 -07:00
= 853b3847ad Updates for WebHostBuilderContext overloads 2017-04-19 14:02:23 -07:00
glennc 2b07e88a58 Add overloads to ConfigureServices to accept the WebHostBuilderContext and make the context accessible in more locations. 2017-04-19 14:00:17 -07:00
Hao Kung da30688fa9 Disable api checks for now 2017-04-19 13:58:38 -07:00
Hao Kung 14b4bea964 Identity => Auth 2.0 2017-04-19 13:02:19 -07:00
Hao Kung 99aa3bd35d Auth 2.0 2017-04-19 13:00:03 -07:00
Barry Dorrans d4669453ba Merge pull request #1161 from Nordic-Dev/dev
Fixing minor typo
2017-04-19 12:10:21 -07:00
Hao Kung 4237a93ee8 MusicStore => Auth 2.0 2017-04-19 12:00:39 -07:00
Hao Kung 3e8cd1e7c9 MVC => Auth 2.0 2017-04-19 11:57:04 -07:00
John Luo 7ee08665c1 Fix build script 2017-04-19 11:42:25 -07:00
Pranav K 7f4aa60a45 Add support for precompiling RazorPages 2017-04-19 11:27:56 -07:00
Kiran Challa 69e2fa82eb Set MvcRazorExcludeRefAssembliesFromPublish to false to fix build break temporarily 2017-04-19 10:48:22 -07:00
Kiran Challa fa25533bb3 Removed global.json 2017-04-19 09:55:41 -07:00
John Luo 16eae43d38 Missed repository update 2017-04-18 17:39:27 -07:00
Stephen Halter e4ba1d01ce Ensure that KeepAliveTimeoutTests do not run with sync context (#1718)
- With Task.Delay(1).ConfigureAwait(false) there's a race where
  Task.IsCompleted could already be true by the time it's evaluated.
2017-04-18 17:20:59 -07:00
Kiran Challa d65e77e4f7 Updated dependency model version to 2.0.0-* 2017-04-18 16:55:39 -07:00
John Luo c202608f19 Platform specific path separator 2017-04-18 16:30:27 -07:00
Ryan Nowak a8eb5bee70 Implement view search for pages
The View Engine now needs to know about pages :(. This isn't ideal but the
view engine needs to know what set of search paths to use. This was
already hardcoded for controllers vs controllers + areas. It felt right to
further hardcode instead of introduce a wierd abstraction that we only
use.

Additionally pages use a view location expander to implement an ascending
directory search.
2017-04-18 16:11:24 -07:00
Mikael Mengistu 8c8f6c708b Server-Sent Events Transport + Parser (#401) 2017-04-18 16:08:48 -07:00
Kiran Challa 4319593e7f Updated dependency model version to 2.0.0-* 2017-04-18 15:42:27 -07:00
N. Taylor Mullen a4a194e273 Make ViewComponentTagHelper discovery resilient to null. 2017-04-18 14:33:44 -07:00
John Luo 2d15ba8917 Add manifests to .All MetaPackage 2017-04-18 12:48:07 -07:00
Andrew Stanton-Nurse 2d278009b2 clean up client sample (#392) 2017-04-18 12:41:23 -07:00
Kiran Challa d4d0e28f0e Updated ViewCompilation project to netcoreapp2.0 2017-04-18 12:14:59 -07:00
Andrew Stanton-Nurse d8b1724454 improve logging of Autobahn tests (#166) 2017-04-18 11:53:45 -07:00
moozzyk e691e1cff8 Removing legacy raw format for `send`
Fixes issues #383 and #127
2017-04-18 11:34:43 -07:00
Chris R 0ce85e2ea2 #263 Add Caching_SetTtlAndStatusCode_Cached test diagnostics 2017-04-18 09:41:30 -07:00
Pavel Krymets 88890595d1 Define a constant to workaround corefxlab classes asses modifier issue 2017-04-18 09:01:35 -07:00
Cesar Blum Silveira a0743650ef Don't use hardcoded ports in PreferHostingUrls tests (#1701). 2017-04-17 20:47:46 -07:00
Cesar Blum Silveira 801a7c7652 Add copyright header to TransportSocketOptions.cs. 2017-04-17 20:47:29 -07:00
John Luo 87c513b0d8 Add target to set default target manifest 2017-04-17 17:35:38 -07:00
Hao Kung d508c027ba Add GetToken overload to HttpContext as well 2017-04-17 16:41:22 -07:00
Ryan Brandenburg c56b64fc41 Add factory methods 2017-04-17 16:11:34 -07:00