Nate McMaster
8dc80c54ad
Minor test code changes to resolve xUnit2013 build error
2017-10-05 17:13:26 -07:00
Henk Mollema
d6a3c3f83e
Add helper to register IHttpContextAccessor ( #947 )
2017-10-02 08:31:12 -07:00
Nate McMaster
9c699f74b0
Use Directory.Build.props/targets
2017-08-29 12:41:50 -07:00
Justin Kotalik
6657f4cf36
Adds MaxAge property to CookieOptions/Builder ( #904 )
2017-08-22 16:57:04 -07:00
Nate McMaster
5b58a6a71d
Upgrade to xunit 2.3.0-beta4
2017-08-22 16:29:13 -07:00
Justin Kotalik
594f55947f
Keep ResponseCookie options on delete. ( #905 )
2017-08-10 18:01:30 -07:00
Justin Kotalik
5ec8a7134e
Adds FormFeature quoted boundary test
2017-08-08 21:09:39 -07:00
Cesar Blum Silveira
8d4e04cfb4
Fix duplicate test warnings.
2017-07-10 16:43:44 -07:00
Chris R
85402d4bd6
Add CancellationToken to ISession Load/CommitAsync
2017-07-05 09:05:01 -07:00
David Fowler
9bf94d3667
Remove unused parameter in ctor of HttpContextFactory ( #881 )
...
- We removed the use of the ObjectPoolProvider in 1.x, this change
just removes it from the ctor.
2017-06-29 11:44:46 -07:00
Hao Kung
b1f92fb6bc
Forbid + obsolete context.Authentication
2017-05-25 18:26:36 -07:00
John Luo
6e87b0f5eb
Target netstandard2.0 TFM
2017-05-18 14:38:26 -07:00
John Luo
07470d41b1
Ignore empty header values #722
2017-05-17 12:45:56 -07:00
Nate McMaster
bf0b0e283d
Upgrade test framework versions and fix test issues
2017-05-15 15:25:02 -07:00
John Luo
9168442704
Migration
2017-05-05 14:59:10 -07:00
Pranav K
b3b846c27e
Remove net451 as a cross-compile target
2017-03-24 11:46:13 -07:00
John Luo
c69c926217
Merge branch 'properties-dict' of https://github.com/tuespetre/HttpAbstractions into tdev
2017-03-21 17:45:29 -07:00
Kiran Challa
50f3cd6877
Changed samples and tests to run on netcoreapp2.0
2017-03-21 13:25:34 -07:00
Derek Gray
d89f66f150
Use a CopyOnWriteDictionary in ApplicationBuilder so branches can set their own properties
...
Fix #783
2017-03-21 14:31:26 -05:00
Nate McMaster
73d58b7a13
Unify dependency versions to one file
2017-03-15 13:54:28 -07:00
Doug Bunting
d4800d188a
Bump test projects up to .NET 4.5.2
...
- aspnet/Testing#248
- xUnit no longer supports .NET 4.5.1
- build tests for desktop .NET only on Windows
2017-02-14 08:37:12 -08:00
Chris R
96f33b27d4
Migrate from xproj to csproj
2017-02-03 15:37:51 -08:00
Pranav K
991fbb08bc
Updating to 4.4 CoreFx packages
2016-12-14 14:47:29 -08:00
Pranav K
4fbb0b01fc
Updating versions to 1.2.0-*
2016-11-09 14:17:55 -08:00
Pranav K
cdbd9ffa74
Updating to netcoreapp1.1
2016-10-13 11:18:10 -07:00
Pranav K
11a67b8f55
Revert "Updating to netcoreapp1.1"
...
This reverts commit 6d5cd28e9b .
2016-10-12 16:08:46 -07:00
Pranav K
6d5cd28e9b
Updating to netcoreapp1.1
2016-10-12 13:45:30 -07:00
Ben Adams
4569653504
Don't allocate for ResponseCookiesFeature
2016-10-07 10:01:42 -07:00
Pranav K
874dcebbcb
Updating partner package versions
2016-09-28 11:50:48 -07:00
BrennanConroy
9a0ea424ea
Fix cross appdomain exception
2016-07-25 09:48:10 -07:00
Doug Bunting
748e96f513
One build to rule them all
...
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:01:29 -07:00
Pranav K
62eaf16585
Updating to RTM builds of xunit
2016-07-01 11:21:28 -07:00
John Luo
4986137ffe
Use filename* for files in multipart forms when available #651
2016-06-29 12:31:52 -07:00
Chris R
3c0c02112d
#659 Parse headers with consecutive commas
2016-06-23 14:22:23 -07:00
Pranav K
20d608170e
Updating to dev versions
2016-06-16 10:17:59 -07:00
N. Taylor Mullen
54bdd47763
Remove direct Microsoft.NETCore.Platforms dependency.
...
- Microsoft.NETCore.App now pulls this package in.
aspnet/Coherence-Signed#344
2016-06-13 15:28:32 -07:00
Pavel Krymets
8b3c308c22
Limit value number instead of key number in form reader
2016-06-01 15:46:40 -07:00
moozzyk
e854d3aa9a
Allow query string parameters without values
...
Addresses #624
2016-05-23 15:41:37 -07:00
John Luo
6d91a160b6
Add IsAvailable property to ISession #634
2016-05-23 10:08:05 -07:00
Pranav K
a4bd3bc895
Merge branch 'release' into dev
2016-05-02 14:56:19 -07:00
Chris R
5767306875
#547 Remove '+' replacement from request cookies.
2016-05-02 14:44:26 -07:00
Pranav K
edff60f293
Fix build warnings
2016-05-02 11:27:17 -07:00
Chris R
13f73c6101
Make the form body limits configurable.
2016-04-25 11:59:40 -07:00
Pranav K
f429cd262b
Use latest build of dotnet-test-xunit
2016-04-19 14:54:02 -07:00
Pavel Krymets
87b8d478e0
Bring Microsoft.NETCore.Platforms dependency back
2016-04-18 16:52:06 -07:00
Pavel Krymets
440b8bc0ba
Migrate tests, tools and samples to portable
2016-04-14 14:34:51 -07:00
Chris R
8196f2ab81
#605 Fix regressions in FormReader / FileBufferingReadStream.
2016-04-01 11:34:45 -07:00
Doug Bunting
6725d68559
Move some implementations (all feature implementations) out of `.Internal` namespaces
...
- #549 , #592
- move feature implementations to `Microsoft.AspNetCore.Http.Features` and `...Authentication.Features`
- move `DefaultHttpContext`, `HttpContextAccessor`, `HttpContextFactory`, `FormCollection` and
`HeaderDictionary` to `Microsoft.AspNetCore.Http`
- move `FormFile` to `Microsoft.AspNetCore.Http.Internal`
- that and `Microsoft.AspNetCore.Http.Authentication.Internal` are the remaining `.Internal` namespaces
nits:
- remove a couple of parameterless constructors
- add / fill subfolders to align with new namespaces
- remove all use of (unnecessary) "T:..." `<see cref=""/>` values
2016-03-30 16:01:37 -07:00
Doug Bunting
80813f7c1e
Use pooled `StringBuilder` to reduce allocations when adding response cookies
...
- #561
- new `SetCookieHeaderValue.AppendToStringBuilder()` method; avoids per-call `StringBuilder` allocation
- `ResponseCookies` uses `ObjectPool<StringBuilder>` that `ResponseCookiesFeature` provides
- `ResponseCookies` works fine if no `ObjectPoolProvider` is available
- `IHttpContextFactory` instance is a singleton instantiated from CI
- make `HttpContextFactory` `ObjectPoolProvider` and `ResponseCookiesFeature`-aware
- apply same pattern to sample `PooledHttpContextFactory`
- pool is not currently configurable; defaults are fine for response cookies
- if we need (policy) configuration, would add an `IOptions<HttpContextFactorySettings>`
nit: Add some doc comments
2016-03-25 09:38:52 -07:00
David Fowler
8efc650e74
Fixed build
2016-03-25 01:54:05 -07:00