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
Ben Adams
aa385a1317
Use Environment.NewLine and Environment.StackTrace
2016-07-21 01:13:27 +01:00
Ben Adams
7b8abf5a3e
Improved Memoryblock tracking
...
Also fixed 3 tests that weren't handling block properly
2016-07-21 01:13:27 +01:00
Ryan Nowak
b80f4d31f3
Add a test to verify our service lifetimes
...
This test uses the new features in the service provider to verify that we
don't reference any scoped services from singletons.
Note that this can't really cover the cases where we have optional
services or where we replace default services (like DI for controllers).
You'll just have to be careful.
2016-07-20 17:10:52 -07:00
Ryan Nowak
bc76c0ef31
Fix #4998 - Resolve IViewComponentHelper every time
...
This change resolves the scoped IViewComponentHelper every time its
needed, rather than misusing a shared instance. IViewComponentHelper is
stateful, so sharing an instance was the cause of this bug.
2016-07-20 17:01:39 -07:00
Troy Dai
7235007a9f
Merge pull request #909 from svick/patch-1
...
Improve sample README
2016-07-20 16:56:21 -07:00
Doug Bunting
8a6e99c7c0
Always render antiforgery tokens if `!CanRenderAtEndOfForm`
...
- #5005
- also add `FormContext` doc comments
2016-07-20 15:25:08 -07:00
Steve Smith
44fc5a7bf9
Fixed typo
...
speficied => specified
2016-07-20 17:18:07 -04:00
Petr Onderka
a1f8278381
Improve sample README
...
* fixed broken link
* improved formatting
* added missing full stops
2016-07-20 19:35:12 +02:00
ivano scifoni
581a5ea573
column attribute for <textarea> is incorrect ( #5049 )
...
- Modify tagBuilder.MergeAttribute key to cols
2016-07-20 09:22:39 -07:00
Doug Bunting
35cc5b6e83
Use `IValidationAttributeAdapterProvider` more often
...
- #5009
- don't create a `RequiredAttributeAdapter` directly
2016-07-19 15:35:08 -07:00
Derek
6cd46a5c10
Remote auth expiration fix ( #893 )
...
Remote auth expiration fix, and move ISystemClock to the base AuthenticationProperties
2016-07-19 15:18:42 -07:00
Pranav K
6bdcf35670
Pin the version of dotnet-test-xunit to 1.0.0-rc3-00000-01
2016-07-19 11:14:56 -07:00
Pranav K
22f75a1e00
Pin the version of dotnet-test-xunit to 1.0.0-rc3-00000-01
2016-07-19 11:14:33 -07:00
Pranav K
571fddbd1d
Pin the version of dotnet-test-xunit to 1.0.0-rc3-00000-01
2016-07-19 11:13:05 -07:00
SteveSandersonMS
749c7cb3ce
Add example of full-page prerendering via a custom action result
2016-07-19 15:50:54 +01:00
David Fowler
3078f4914c
Removed unneeded things from Connection
2016-07-18 22:19:45 -07:00
mnltejaswini
0240882031
Perf: Use RouteValueDictionary in AnchorTagHelper rather than creating a new Dictionary ( #4941 )
...
* Perf: Use lighter, more optimized dictionaries for route sensitive TagHelpers
* Changing the project dependency to Routing.Abstractions
2016-07-18 18:41:41 -07:00
Ajay Bhargav Baaskaran
dde24fbba0
Optimize ListStorage in RouteValueDictionary
2016-07-18 17:31:50 -07:00
Kiran Challa
52a7c112e8
[ Fixes #4876 ] ContentResult forcing chunked encoding
2016-07-18 16:10:01 -07:00
Jonathan
f278822a2c
Update UserStore.cs
2016-07-18 14:22:05 -07:00
Jonathan
d807ec029c
Fixed typo
2016-07-18 14:22:05 -07:00