Commit Graph

68 Commits

Author SHA1 Message Date
Pranav K 231f3a44b1 Update samples and tests to target netcoreapp2.1 2017-11-13 15:13:10 -08:00
Justin Kotalik 1e8a22dae3 NameValueHeaderValue Escaping/Unescaping quoted-strings and helpers (#913) 2017-08-30 14:03:12 -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
Nate McMaster 5b58a6a71d Upgrade to xunit 2.3.0-beta4 2017-08-22 16:29: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
Cesar Blum Silveira 8d4e04cfb4 Fix duplicate test warnings. 2017-07-10 16:43:44 -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
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
Kiran Challa 50f3cd6877 Changed samples and tests to run on netcoreapp2.0 2017-03-21 13:25:34 -07:00
Nate McMaster 73d58b7a13 Unify dependency versions to one file 2017-03-15 13:54:28 -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
Chris R 96f33b27d4 Migrate from xproj to csproj 2017-02-03 15:37:51 -08:00
John Luo 2e2b54a507 Add more cache control header parsing tests 2017-01-31 12:02:01 -08:00
John Luo 3289afe007 Add check for index advance during parsing 2017-01-31 11:03:20 -08:00
Pranav K 991fbb08bc Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
John Luo d50a24145d Add functionalities to HeaderUtilities
- Add allocation free parsing of int32, int64
- Improve performance of converting int64 to string
- Add parsing of seconds from header values
- Add check for existence of cache directives
- Expose CacheControlHeaderValue constants
2016-12-08 17:43:25 -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
Kristian Hellang 063d6eca0f Added custom RFC 1123 DateTimeFormatter to improve allocation profile (#716) 2016-10-05 12:19:15 -07:00
Pranav K 874dcebbcb Updating partner package versions 2016-09-28 11:50:48 -07:00
John Luo e4afd782e8 Add strong and weak ETag comparisons 2016-08-30 14:15:16 -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
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
Pranav K edff60f293 Fix build warnings 2016-05-02 11:27:17 -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
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
Doug Bunting 3105fd1075 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 18:51:48 -08:00
N. Taylor Mullen 9f499d7962 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:31:53 -08:00
John Luo dc2aa0ec8f Updating test TFMs for custom test discovery 2016-02-18 15:01:26 -08:00
Kiran Challa 4a3e2ad3c5 Enable tests to run using dotnet xunit runner 2016-02-09 22:11:54 -08:00
Chris R 3e6c7171be #515 Make forgiving vs strict header list parsers. 2016-02-08 10:21:28 -08:00
John Luo 8aa7a0993d Relocating dependencies 2016-02-01 18:26:36 -08:00
John Luo 93079ea3a6 Updating to new CLI 2016-02-01 16:37:16 -08:00
Victor Hurdugaci e7bf0e71bb Build with dotnet 2016-01-07 14:22:25 -08:00
Nick Craver 6874b87f13 C#6 Cleanup & Optimizations
The main intent is cleanup using C# 6 operators and normalization of
type aliases. While there are no intended functional changes here, it
does eliminate a few tight race conditions as a bonus (not a real-win
since this isn't thread-safe all over, simply noting).
2015-11-10 09:38:49 -08:00