Commit Graph

429 Commits

Author SHA1 Message Date
Hao Kung d28c6e1dbb Changes for error handling in Authentication 2015-10-14 14:44:50 -07:00
Doug Bunting 0581bcf008 Update `MediaTypeHeaderValue.IsSubsetOf()` to perform consistent checks
- aspnet/Mvc#3138 part 1/2
  - check parameters with same polarity as type and subtype
    - ignore quality factors
  - bug was obscured because MVC has no formatters supporting wildcard media types

nits:
- add doc comments
- spelling
- correct typo in a `project.json` file
2015-10-14 12:07:07 -07:00
Doug Bunting a0b29e3f2b Fix local build break 2015-10-12 12:55:41 -07:00
Doug Bunting 2303220cf6 React to aspnet/Universe#290 fix 2015-10-12 10:35:52 -07:00
Chris R 3741d38691 #426 Move IHeaderDictionary to Features to reduce wrapping. 2015-10-08 08:36:27 -07:00
damianedwards 8ecb147332 Added overload to PathString.StartsWithSegments to allow specifying StringComparison:
- This allows us to have a fast-path (or just be more explicit) for the comparison by doing case-sensitive checks (which are cheaper)
2015-10-04 21:54:52 -07:00
Pranav K 61466af7a3 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:37 -07:00
Pranav K 3cb50b9cf5 Remove Microsoft.Framework.WebEncoders.Testing dependency 2015-10-03 14:11:00 -07:00
Pranav K 78a8748248 Fixing build break 2015-10-03 11:12:41 -07:00
Pranav K 886849d890 Adding AssemblyInfo.cs 2015-10-03 11:07:52 -07:00
Pranav K 079e4909f7 Adding BufferedHtmlContent to NuGetPackageVerifier 2015-10-03 11:03:14 -07:00
Pranav K 5f7a17b8e3 Move BufferedHtmlContent to HttpAbstractions 2015-10-03 10:36:54 -07:00
N. Taylor Mullen 8ef20c5c56 Update 'build.cmd' alias parameter to use full name. 2015-10-01 11:57:25 -07:00
Chris R 894c8dbe2b Hosting#359 Remove IDisposable from HttpContext and IFeatureCollection. 2015-09-30 14:31:03 -07:00
Pranav K 147574247c Merge branch 'release' into dev 2015-09-28 23:12:19 -07:00
Pranav K 326dc222f0 Updating to release NuGet.config. 2015-09-28 23:12:17 -07:00
Ryan Nowak c62aa147f4 Make .Clear() consistent with TagHelperOutput 2015-09-25 17:17:28 -07:00
Ryan Nowak a602b47e26 Add AppendFormat extension methods on IHtmlContent 2015-09-25 15:49:27 -07:00
Ajay Bhargav Baaskaran d82bc7ca9d Enabling NuGetPackageVerifier 2015-09-24 10:33:08 -07:00
Hao Kung 551da3e558 Caption => DisplayName 2015-09-23 14:57:14 -07:00
Brennan 3a8ecc7d4a Add Dictionary and List dependency to dnxcore50 2015-09-23 14:46:52 -07:00
Hisham Bin Ateya 38bd9f4232 Add project.json description 2015-09-23 23:54:17 +03:00
Pranav K 7816c0183e Removing Microsoft.Framework.Primitives from HttpAbstractions 2015-09-20 10:20:58 -07:00
Pranav K ceded805f3 Formatting fixes 2015-09-18 15:17:41 -07:00
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