Commit Graph

683 Commits

Author SHA1 Message Date
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
Brian Chavez 6e01e642cb Fixed typo in HttpContext.User XML doc. (#771) 2017-02-08 20:00:08 -08:00
Chris R 96f33b27d4 Migrate from xproj to csproj 2017-02-03 15:37:51 -08:00
Daniel Roth 2703835352 Fix doc comment typo 2017-02-01 06:36:45 -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
Chris R 779115b1ad #407 Add ContentLength to IHeaderDictionary 2017-01-24 15:14:46 -08:00
john b7d2f8c905 separate GetEncodedUrl and GetEncodedPathAndQuery 2017-01-17 11:37:25 -08:00
john 6ac2452231 update xml doc 2017-01-17 11:37:25 -08:00
john 51f6415ea1 let UriHelper.GetEncodedUrl can get relative url 2017-01-17 11:37:25 -08:00
Chris R 622d112372 #723 Make HttpContextAccessor static AsyncLocal 2017-01-09 14:49:35 -08:00
Ben Adams 3b25acd4ad ContentType.IsNullOrEmpty 2017-01-09 13:38:18 -08:00
John Luo 3ea2f36449 Fix wrong status code 2017-01-06 15:46:00 -08:00
John Luo 33dd1d965f Add all status codes in IANA list and update reason phrases 2017-01-06 13:51:27 -08:00
John Luo 7d20ae2156 Add more status codes and reason phrases 2017-01-05 16:37:16 -08:00
John Luo b34bfdd92d Add 101 status code 2017-01-03 09:55:32 -08:00
Pranav K 991fbb08bc Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Ajay Bhargav Baaskaran 15d05c2e3d Removed packages list in NuGetPackageVerifier.json 2016-12-12 00:40:09 -08:00
Andrius Bentkus a12de2cfd9 Small typo fix 2016-12-09 14:17:47 -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
N. Taylor Mullen b727f0e1ac Update .travis.yml osx image to xcode7.3. 2016-12-08 10:02:40 -08:00
N. Taylor Mullen 156c0ef35a Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 15:58:10 -08:00
Nate McMaster d95f32219a
Clean tmp folder after unzipping KoreBuild 2016-11-18 10:56:54 -08:00
Kiran Challa aa158f5d25 Modified Base64UrlTextEncoder to reduce string allocations. 2016-11-16 13:43:56 -08:00
Pranav K 4fbb0b01fc Updating versions to 1.2.0-* 2016-11-09 14:17:55 -08:00
Pranav K d2a67c0b9d Merge branch 'rel/1.1.0' into dev 2016-11-09 11:31:11 -08:00
Pranav K 74677b6a60 Branching for 1.1.0 2016-11-09 11:31:08 -08:00
jacalvar db677639c3 Created public API baselines 2016-11-04 16:31:24 -07:00
Kiran Challa 4dcde8a329 Added Base64UrlTextEncoder utility from Security repo 2016-11-01 15:31:39 -07:00
Pranav K 1ff417f321 Merge remote-tracking branch 'origin/rel/1.1.0-preview1' into dev 2016-10-17 09:56:07 -07:00
Pranav K a8fcba4e56 Branching for 1.1.0-preview1 2016-10-17 09:49:12 -07: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
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
Ben Adams 067eb9c6f8 Make FeatureReferences<T>.Fetch inlineable (#704) 2016-09-28 11:35:04 -07:00
Mikael Mengistu 35cde79e46 Renamed HttpMethod class to HttpMethods to avoid conflicts 2016-09-27 14:26:36 -07:00
Mikael Mengistu 626332c5db Adding HTTP method constants 2016-09-26 23:09:08 -07:00
David Fowler 87cd79d6fc Added decoding tests for the FormReader
- This is the first step in work to remove
char[] allocations from the FormReader
2016-09-08 09:57:58 -07:00
Pavel Krymets 18f08fdb2f Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#705)
Instead of Task.FromResult(0)
2016-09-07 10:40:13 -07:00
Doug Bunting 22e5dfd8df Increase .travis.yml consistency between repos
- aspnet/Universe#349
- minimize `dotnet` setup time; no need for caching
2016-09-04 19:51:44 -07:00
Kiran Challa 30a4b09d9f Fix CookieOptions.HttpOnly doc comment 2016-09-01 10:18:39 -07:00
John Luo e4afd782e8 Add strong and weak ETag comparisons 2016-08-30 14:15:16 -07:00
John Luo e2a0e887af Add UsePathBase middleware 2016-08-16 16:18:36 -07:00
Justin Kotalik 69729bc75b Perf to ToUriComponent 2016-08-10 16:26:33 -07:00
Pranav K d16614a653 Switching to dotnet.myget.org feed 2016-08-09 15:03:15 -07:00
Justin Kotalik a4a4e490c5 Addresses #678 and #679 2016-08-03 22:31:42 -07:00