Troy Dai
5de4816f59
Update the RemoteAuthenticationHandler error handling
...
1. Exeption will be still thrown from CreateTicketAsync to avoid breaking
change.
2. OAuthHandler won't try to capture the exception.
3. OAuthHandler will check if the AuthenticateTicket is null.
4. RemoteAuthenticationHandler's error handling flow is improved to cover
the exception thrown from HandleRemoteAuthenticateAsync. The exeption
thrown from it will go throw the user error handling logic, too.
2016-07-26 10:30:50 -07:00
Troy Dai
988bcc81ee
Update comments for HandleRemoteAuthenticateAsync method
2016-07-26 10:30:50 -07:00
Troy Dai
312edaafb4
Handle back channel failure gracefully
...
1. Check the response states code. If it is out of 2XX range, compose a
readable message and throw in an exception.
2. Capture the exception in HandleRemoteAuthenticateAsync and translate
it into AuthenticateResult.
2016-07-26 10:30:50 -07:00
Justin Kotalik
68a766f2cd
Circular Dependency with Static Files fix.
2016-07-26 09:38:10 -07:00
Troy Dai
ecb3b90984
Undo change to the GoogleDefaults
2016-07-26 09:19:42 -07:00
Troy Dai
eabdd45816
Improve code readability for Authentication.Google
2016-07-26 09:13:18 -07:00
SteveSandersonMS
79872c1bde
Amend aspnet-webpack for better node-inspector support
2016-07-26 16:38:46 +01:00
SteveSandersonMS
2fe06ea784
Make the dependency on es6-shim explicit, and include it in the vendor bundle
2016-07-26 14:57:14 +01:00
Simon Kamlet
77b404188b
fix angular's (click) events not being triggered on IE9
2016-07-26 14:50:17 +01:00
Mark Pieszak
96228711f2
chore(package): Update to rc4, beta router & universal 104.5
...
104.5 includes some bug fixes.
Router beta update required pathMatch on home.
Tested w/ JS on/off everything passes & works.
2016-07-26 14:46:11 +01:00
Mike Mazmanyan
64a8ef1112
Moving and updating "aspnet-webpack" package in templates ( #207 )
2016-07-26 14:44:07 +01:00
Troy Dai
7b7da43fd8
Update comments in RemoteAuthenticationOptions
2016-07-25 20:33:12 -07:00
Justin Kotalik
fad730441a
Fix Assembly Info
2016-07-25 16:52:01 -07:00
Ryan Brandenburg
651815c282
Remove OfType allocations ( #906 )
2016-07-25 16:31:27 -07:00
Justin Kotalik
a9c2656404
Url Rewrite WIP
2016-07-25 16:11:11 -07:00
jci-cpined
e008264316
Fixed incorrect .xproj DNX targets.
2016-07-25 13:20:05 -07:00
Paul Oliveira
1bce0acfde
Added asp-area to Components, _Layout and _LoginPartial links (Header links are broken in Admin area #666 )
2016-07-25 12:48:28 -07:00
Ajay Bhargav Baaskaran
184a25792a
[ Fixes #819 ] Display LoaderExceptions in ReflectionTypeLoadException
2016-07-25 12:19:32 -07:00
Ajay Bhargav Baaskaran
4600100695
Added a test to verify ReflectionTypeLoadException
2016-07-25 12:06:16 -07:00
Ajay Bhargav Baaskaran
1ac8ccafe2
Regenerated ErrorPage.cs
2016-07-25 12:05:10 -07:00
Ajay Bhargav Baaskaran
f7641fa28b
[ Fixes #315 ] Display LoaderExceptions in ErrorPage
2016-07-25 11:47:17 -07:00
BrennanConroy
d3816fa458
Make middleware issues more discoverable
2016-07-25 11:13:27 -07:00
Cesar Blum Silveira
2244f190e1
Merge branch 'benaadams/exceptions' into dev
2016-07-25 10:31:32 -07:00
Stephen Halter
3a67cb9df5
Merge branch 'benaadams/enum-rather-than-string' into dev
2016-07-25 10:30:33 -07:00
Stephen Halter
b5c117695e
Stop KestrelThreads in parallel
2016-07-25 10:29:01 -07:00
Stephen Halter
dc12f3150e
Wait for graceful shutdown now that it usually works
...
- Unreference the async handle to allow the loop to stop without walking first
- Wait before walking open handles to allow earlier uv_close calls to complete
2016-07-25 10:29:01 -07:00
BrennanConroy
496d94b41f
Fix cross appdomain exception
2016-07-25 09:51:45 -07:00
BrennanConroy
9a0ea424ea
Fix cross appdomain exception
2016-07-25 09:48:10 -07:00
Cesar Blum Silveira
9a79ef5213
Merge branch 'benaadams/interned' into dev
2016-07-22 17:12:44 -07:00
Ben Adams
0ab04d7e73
Tests to makes sure known strings are interned
2016-07-23 01:07:04 +01:00
Ben Adams
51288e13f8
Enum to singular
2016-07-22 22:25:03 +01:00
Ben Adams
0a1ea124ee
Use HttpVersionType enum rather than string compare
2016-07-22 21:34:49 +01:00
Ben Adams
0620ce5a2f
Consolidate BadHttpRequestException messages
2016-07-22 21:19:44 +01:00
Ben Adams
7c811ff568
Only allocate key string when unknown
2016-07-22 20:50:43 +01:00
Doug Bunting
49a48a0a33
Mark `ValueProviderResultExtensions` as `[Obsolete]`
...
- #4521
2016-07-22 12:39:13 -07:00
Stephen Halter
27f8c8dca2
Ensure libuv handles get disposed properly after binding errors
2016-07-22 12:26:27 -07:00
Pavel Krymets
c4220c3d8c
Pass bigger buffer size to StreamCopyOperation.CopyToAsync ( #148 )
2016-07-22 09:21:52 -07:00
David Fowler
0e7967a7fc
Allocate things per KestrelThread instead of per listener
...
- Moved things that have loop affinity to KestrelThread like
WriteReqPool, MemoryPool and the ConnectionManager
- Changed on the listeners to only kill the ListenSocket, not the
connections on dispose
- Moved connection disposal to KestrelThread.Stop
- Simplify the connection manager logic so it's possible to walk and
wait in a single call
2016-07-21 22:17:18 -07:00
Stephen Halter
24fa5c0264
Merge pull request #938 from NVentimiglia/dev
...
As an American, I had to correct the spelling of 'independent'
2016-07-21 17:17:47 -07:00
Pavel Krymets
b4b2dd6bf2
Add buffer size parameter to CopyTo method ( #674 )
2016-07-21 16:40:48 -07:00
Cesar Blum Silveira
3c0e0f8d88
Always throw same exception type on read after connection error ( #975 ).
2016-07-21 16:33:56 -07:00
Pavel Krymets
6bcf7643df
Do not allocate large write task queues ( #1005 )
2016-07-21 16:05:50 -07:00
Ryan Nowak
30221a0229
Merge branch 'rel/1.0.1' into dev
2016-07-21 13:29:32 -07:00
Pavel Krymets
7b7e2889ce
Allocate less in GetIPEndPoint ( #1004 )
2016-07-21 12:17:55 -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
Ryan Nowak
85ca3e4976
Fix #4998 - Change lifetime of ViewComponentResultExecutor
...
This service has a scoped dependency so it should be scoped or transient.
2016-07-21 10:23:36 -07:00
Ryan Nowak
9e7bc919a3
Merge branch 'rel/1.0.1' into dev
2016-07-21 10:21:19 -07:00
Ryan Nowak
fb514d7ef8
Update versions to 1.0.1-*
...
Also adding a version number to TestConfiguration. This is not a leaf node
so it should have a version.
2016-07-21 09:55:28 -07:00
David Fowler
93130dd4a1
Merge pull request #821 from ardalis/patch-1
...
Fixed typo
2016-07-20 23:41:28 -07:00
Ben Adams
f42316af7f
Remove Environment.StackTrace as crashing tests
2016-07-21 01:44:23 +01:00