Commit Graph

308 Commits

Author SHA1 Message Date
Nate McMaster c0f937239a Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 09:32:44 -07:00
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
Justin Kotalik 1e8a22dae3 NameValueHeaderValue Escaping/Unescaping quoted-strings and helpers (#913) 2017-08-30 14:03:12 -07:00
Nate McMaster e5825641ce Use PackageLineup to manage PackageReference versions 2017-08-29 12:43:13 -07:00
Nate McMaster 9c699f74b0 Use Directory.Build.props/targets 2017-08-29 12:41:50 -07:00
Justin Kotalik e97e6546c2 Add structured syntax suffixes and facets to MediaTypeHeaderValue (#921) 2017-08-29 10:20:56 -07:00
Kiran Challa ce68ec23c0 Using WebEncoders' Base64Url encode/decode functionality 2017-08-24 14:00:49 -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 27b0f60f09 ForbidAsync now uses correct Schemes method (#918)
* ForbidAsync now uses correct Schemes method

* comment

* adds tests
2017-08-19 22:09:22 -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
Justin Kotalik 057fc816fa Refactor to HttpRequest/Response Streams 2017-07-27 15:46:13 -07:00
Justin Kotalik a8270a4901 Removes quotes from names in ContentDispositionHeaderValue 2017-07-27 12:30:04 -07:00
Justin Kotalik b41d8656d5 Adds new date string in HttpRuleParser 2017-07-18 13:34:32 -07:00
Justin Kotalik ab0185a0b8 Adds null checks to UriHelper and fixes typo 2017-07-17 12:23:01 -07:00
Cesar Blum Silveira 8d4e04cfb4 Fix duplicate test warnings. 2017-07-10 16:43:44 -07:00
Hao Kung d894584254 Add DefaultScheme, remove single fallback (#891) 2017-07-07 10:47:54 -07:00
Chris R 85402d4bd6 Add CancellationToken to ISession Load/CommitAsync 2017-07-05 09:05:01 -07:00
Hao Kung 271faf11bb Refactor IAuthenticationHandler/Result 2017-06-29 16:25:24 -07:00
Nate McMaster f9e0439ef1 Add CookieBuilder 2017-06-29 15:55: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
Nate McMaster 64c6e11ce4 Change HttpResponseStreamWriter.DefaultBufferSize to 16K and remove it from public API surface 2017-06-27 17:31:54 -07:00
Hao Kung 12f89f66a6 Improve PathString <-> string logic 2017-06-20 10:49:17 -07:00
Hao Kung df5c6730f7 Add new default schemes + tests (#870) 2017-06-14 12:57:45 -07:00
Pranav K a78b194a84 Remove usage of TaskCache 2017-06-08 13:46:05 -07:00
Hao Kung 300d69e644 Remove ConfigureDefaultOptions 2017-06-05 09:57:57 -07:00
Hao Kung a55b818a07 Bind AuthenticationOptions to config + PathString type converter (#851) 2017-06-01 15:43:40 -07:00
Hao Kung b1f92fb6bc Forbid + obsolete context.Authentication 2017-05-25 18:26:36 -07:00
Chris R 2ce2d8b6c5 #758 Convert the header parsers to use StringSegment 2017-05-22 15:14:02 -07:00
John Luo e8123db21e Add SameSite attribute to SetCookie header 2017-05-22 14:42:05 -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
Hao Kung 3085f016e4 Fix GetToken() 2017-04-24 11:58:12 -07:00
John Luo 0da88e0dda Avoid double escaping in PathString 2017-04-06 13:29:06 -07:00
Hao Kung 13925be91e Initial Auth 2.0 checkin 2017-03-31 11:56:20 -07:00
John Luo 2bdbbbf41d UseMiddleware resolves InvokeAsync in addition to Invoke 2017-03-27 11:28:09 -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
kchanlee 1b02cd2baf Implement `OwinEnvironment` `IEnumerable.GetEnumerator()` (#789) 2017-03-13 07:54:57 -07:00
Yves57 7440d5d29c Remove allocations and improve Header Quality Values parsing performance 2017-03-06 14:31:13 -08:00
John Luo 15adff9433 Only format non-negative int64 #760 2017-02-28 14:47:08 -08: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
David Fowler 945b4e63de Added support for middleware activation via IMiddlewareFactory (#773)
* Added support for middleware activation via IMiddlewareFactory
- IMiddlewareFactory and IMiddleware are new extensiblity points for
activating and authoring middleware. Under the covers, middleware is still
very much just a function. This just provides a nice way to get a per request
activated middleware instance that is created and released via the IMiddlewareFactory.
The caveats are that middleware needs to be registered in the container (by default)
and that not possible to explicitly pass arguments directly via UseMiddleware.
- Added tests
2017-02-13 18:53:10 -08:00