Commit Graph

405 Commits

Author SHA1 Message Date
Pranav K 58974a9def Replacing NotNullAttribute with thrown exceptions 2015-09-18 15:11:27 -07:00
N. Taylor Mullen f4a25b1408 Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:32:19 -07:00
Ryan Nowak e56c3806b6 Add tests for HtmlContentBuilderExtensions 2015-09-15 23:45:44 -07:00
Ryan Nowak 7ef2242805 Extension methods for IHtmlContentBuilder
Resolves a bunch of duplication between TagHelperContent and
BufferedHtmlContent, plus adds a few more convenience overloads we don't
have in one of the two places.
2015-09-15 16:50:01 -07:00
Ryan Nowak 52cfdf75f2 Add AppendEncoded to the builder
This is needed because a builder may have an optimized path for an
unencoded string. There's also no 'common' encoded string implementation
so it's much more straightforward to put this on the interface.
2015-09-14 11:58:38 -07:00
David Fowler 7a24045953 Split ParsingHelpers classes into their own files
#397
2015-09-13 22:07:17 -07:00
Ryan Nowak ed3ea33918 Add IHtmlContentBuilder interface
Common interface for things that allow appending content (TagBuilder,
BufferedHtmlContent). We want to be able to expose this from APIs for
users to add content.

See discussion: https://github.com/aspnet/Mvc/issues/3087
2015-09-10 18:41:17 -07:00
Pranav K b1a2db0a7c Adding NeutralResourcesLanguageAttribute 2015-09-10 17:48:17 -07:00
Chris R 327dabb243 Fix namespace for Clear extension. 2015-09-10 11:35:22 -07:00
Chris R 00d5a056d9 #360 Add Response.Clear() extension. 2015-09-10 11:30:42 -07:00
Justin Van Patten df33a3cff8 StringValues improvements
- Add public struct enumerator (avoids enumerator allocations)
 - Implement IReadOnlyList<string>
 - Rename indexer parameter name from "key" to "index"
 - Faster IndexOf (no more enumerator allocation & faster array enumeration)
 - Faster Contains (no more box allocation)
 - Faster CopyTo (no more enumerator allocation)
 - Faster Concat (no more enumerator allocations; use CopyTo)
2015-09-09 09:17:06 -07:00
Justin Van Patten 20e534a570 Add more StringValues tests 2015-09-09 09:17:05 -07:00
Chris R 4e0f0c79ec #366 Rewind the request buffer after parsing the form. 2015-09-08 12:04:53 -07:00
Levi B 43d0b0f65b Update WebEncoders from Unicode 7.0 to Unicode 8.0
Add "how to update" file detailing update steps
2015-09-05 17:32:27 -07:00
Hao Kung f3e828892d React to options 2015-09-02 13:46:52 -07:00
Chris R c3290a029f Change IApplicationBuilder.Server to IFeatureCollection ServerFeatures. 2015-08-31 16:48:50 -07:00
Chris R e45e70da01 #367 Remove HttpContext.Get/SetFeature. Take 2. 2015-08-31 16:41:27 -07:00
Chris R f475e53ad2 #367 Add HttpContext.Features, move Get/SetFeature. Take 1. 2015-08-30 21:55:22 -07:00
Chris R 59b44a4c24 Move *CommaSeperatedValues APIs from IHeaderDictionary to extension. 2015-08-28 12:11:14 -07:00
Chris R 456277fe1d #361 Introduce StringValues to replace string[] usage. 2015-08-28 12:11:13 -07:00
Ryan Nowak 15687ab80a Fix #343 - Avoid going to disk when reading the form
This change tries to avoid looking up the TEMP directory for most reads of
the form data. We'll now only hit the disk when necessary.
2015-08-28 09:41:12 -07:00
Ryan Nowak 516a435ea5 Fix #365 - Make IFormFileCollection implmenent IReadOnlyList<T> 2015-08-21 10:39:27 -07:00
David Fowler 6ba7793636 Merge pull request #376 from khellang/owin-request-user
Add owin.RequestUser
2015-08-21 01:00:50 -07:00
Kristian Hellang 138bc6a20f Added owin.RequestUser 2015-08-21 09:38:53 +02:00
Kristian Hellang 68eb9646ea Added asserts to tests 2015-08-21 09:38:53 +02:00
N. Taylor Mullen d013bdfbf6 Update 'build.sh' to pull Sake from v2 NuGet feed. 2015-08-20 20:46:08 -07:00
N. Taylor Mullen 1655fbf03a Update 'build.cmd' to pull Sake from v2 NuGet feed. 2015-08-20 15:37:08 -07:00
N. Taylor Mullen 5b3d7230b3 Update NuGet feed from v2 => v3. 2015-08-19 14:52:58 -07:00
Pranav K aa0f6c37bb Updating to aspnetlitedev. 2015-08-18 14:00:19 -07:00
Pranav K ced0f989ab Merge branch 'release' into dev 2015-08-18 14:00:18 -07:00
Pranav K bbeea8ba4a Updating to aspnetliterelease. 2015-08-18 14:00:18 -07:00
Pranav K 1f1feb298d Merge branch 'release' into dev 2015-08-17 14:48:04 -07:00
Pranav K 7ca6982883 Updating to release NuGet.config. 2015-08-17 14:48:02 -07:00
Troy Dai e4722b0bef Update packages' versions 2015-08-17 11:11:16 -07:00
Hao Kung 8487e42a68 Hello HttpContextAccessor 2015-08-12 13:08:58 -07:00
Kiran Challa 282c50876b Enable pinning build script 2015-08-11 16:53:01 -07:00
Hao Kung 67803d2f41 Challenge now always checks for accept 2015-08-11 16:15:48 -07:00
Pranav K 4576481a32 Reacting to DI changes 2015-08-11 12:57:06 -07:00
Troy Dai 3cd5907fc5 Update CoreCLR versions 2015-08-05 09:33:00 -07:00
Chris R 9c3a39123a #341 Add HttpReqeuest GetEncodedUrl and GetDecodedUrl extensions. 2015-08-04 10:09:39 -07:00
Chris R ac945a0bcf #339 Reduce IFeatureCollection surface area. 2015-08-03 14:55:25 -07:00
sornaks 5d7ec0e2c6 Changing QueryHelpers.AddQueryString to use Array instead of List. 2015-08-03 11:08:54 -07:00
Chris R b8af07e3c1 #60 Merge FeatureModel into Http.Features. Remove unused FeatureObject. 2015-07-16 15:10:48 -07:00
Pranav K 6a21a4bc26 Merge branch 'release' into dev 2015-07-16 08:57:13 -07:00
Pranav K ad4783314f Updating to release NuGet.config 2015-07-16 08:57:10 -07:00
Hao Kung d142160f47 OnCompletedDispose => RegisterForDispose 2015-07-13 12:23:03 -07:00
sornaks 25ea93de9e Making QueryHelpers.AddQueryString support # in the URL. 2015-07-09 16:08:45 -07:00
sornaks 24f90cc914 Introducing IHtmlContent - an interface which lets any content define how to write itself. 2015-07-09 15:01:36 -07:00
Chris R 534becad6b #182 Move StatusCodes from WebUtilities to Http.Abstractions. 2015-07-08 09:55:32 -07:00
Victor Hurdugaci bbbd0d9f35 Add repository information to project files 2015-07-01 20:02:24 -07:00