Commit Graph

226 Commits

Author SHA1 Message Date
Levi B c5dc9abff6 Doc comment cleanup, API refactorings
Rename CodePointFilters -> UnicodeBlocks
Rework allowed / disallowed code point APIs for ease of use
Move service registration APIs into WebEncoders project
2015-02-25 14:01:17 -08:00
Levi B 204fb08e01 Refactor Encoders into their own package 2015-02-23 13:49:51 -08:00
Levi B 8d98d76209 Code comment clarifications 2015-02-19 14:42:20 -08:00
Levi B c551ec2490 Add encoder extension methods 2015-02-19 14:14:04 -08:00
Levi B fa18a8fb30 Rename HttpRequest.IsSecure -> HttpRequest.IsHttps 2015-02-17 10:50:07 -08:00
Levi B 3f9423eda9 Provide a facility for registering encoder services 2015-02-16 17:08:15 -08:00
Levi B fc52487294 Encoders should forbid Zs (space separator) characters except U+0020 SPACE 2015-02-13 14:12:40 -08:00
Levi B 0dd3a49463 Perf: Eliminate chatty virtual dispatches
This gives a speedup of approx. 20% (for overloads which take TextWriter) to 40% (for overloads which don't take TextWriter) for inputs in which at least one character requires encoding.
2015-02-12 11:44:11 -08:00
Pranav K 26cd8d51b6 Removing ANIs 2015-02-12 09:07:47 -08:00
Levi B e5c6fd401f Add TextWriter-based overloads to the encoding routines
These make the core implementations slightly slower but
provide the benefit of reducing allocations, which is
useful when these methods are called frequently by Razor.
2015-02-11 17:49:37 -08:00
Levi B 14c872d981 Update HtmlEncoder to wrap UnicodeEncoderBase 2015-02-11 12:03:47 -08:00
Levi B fc7ed3a9cd Add TLS token binding feature 2015-02-11 11:40:40 -08:00
Levi B 1008e17259 Add HtmlEncoder, UrlEncoder, and JavaScriptStringEncoder
Also add interfaces for abstracting each of these
Unit tests are not in yet but are coming soon
2015-02-11 11:39:22 -08:00
David Haney 9e7fbde9f1 Logical AND would never be true; broke into OR statement 2015-02-10 17:41:06 -05:00
Brennan 6224268953 Updating .kproj files 2015-02-04 14:20:22 -08:00
Chris Ross 096a0bf298 #174 - Constants for status codes, lookup for reason phrases. 2015-01-28 13:57:12 -08:00
Chris Ross 15a51e423f #175 - Decode multipart headers as UTF-8. 2015-01-22 09:42:09 -08:00
David Fowler dceba03f4a Removed unused dependencies
#173
2015-01-19 01:43:09 -08:00
Stephen Halter db484a7dcb Rename Microsoft.AspNet.HttpFeature to Microsoft.AspNet.Http.Interfaces 2015-01-16 19:46:04 -08:00
Ajay Bhargav Baaskaran 26860ad7de Code cleanup 2015-01-15 18:34:38 -08:00
Chris Ross d43cf30eff #162 - Rename PipelineCore project to Http.Core. Part 2. 2015-01-15 12:37:34 -08:00
Chris Ross 68be1d1b19 #162 - Change PipelineCore namespace to Http.Core. Part-1. 2015-01-15 11:52:34 -08:00
Chris Ross 4fb21644fc Implement strongly typed headers. 2015-01-14 15:41:09 -08:00
Ajay Bhargav Baaskaran 4377bb24ce Added extension methods for FormFile 2015-01-12 14:54:12 -08:00
Chris Ross 5872feb224 #139 - Mime multipart request parsing. 2015-01-07 15:42:46 -08:00
Pranav K ae169aa794 Reacting to System.Threading version changes 2014-12-15 14:42:21 -08:00
Victor Hurdugaci 7569703906 Add schema version to kproj files 2014-11-25 10:49:23 -08:00
Chris Ross b5156a00b3 Argument validation cleanup. 2014-11-14 15:14:16 -08:00
Chris Ross ba693dd383 Code cleanup. 2014-11-14 15:11:41 -08:00
Chris Ross 1dd3a2ee1f #147 - OWIN: Throw KeyNotFoundException if the underlying Feature is missing. Return defaults for required entries. 2014-11-14 15:11:40 -08:00
Victor Hurdugaci 76bb27e5d3 Update KProj to the latest format 2014-11-12 15:09:59 -08:00
Chris Ross 389e27e460 #134 - Add HeadersSent api. 2014-11-06 10:59:52 -08:00
Louis DeJardin b7d9e11a84 Middleware invokation with per-request services
* Extension methods for .Use<TService1, ...> and
.Run<TService1, ...> add service parameters to lambda
* Middleware class .Invoke method may take services as
additional parameters
2014-11-05 13:32:25 -08:00
Chris Ross 02aa1c50ff #28 - Add Helper for building Uris. 2014-11-05 09:50:27 -08:00
David Fowler 3bbdce3511 Added package descriptions 2014-10-31 01:38:05 -07:00
Chris Ross 114d834876 Add Session feature, object model, etc.. 2014-10-20 08:49:49 -07:00
Chris Ross dc600a636a Support removing features from FeatureCollection. 2014-10-20 08:49:44 -07:00
Stephen Halter 2352bd7ca3 Change GetService calls to GetRequiredService
GetRequiredService throws for missing services like GetService used to.
2014-10-17 15:09:27 -07:00
Chris Ross dcb710cfbe Update Claims dependency. 2014-10-17 09:47:52 -07:00
Chris Ross 8bd068f4a6 Move UseMiddleware from RequestContainer to Http.Extensions. 2014-10-15 09:39:12 -07:00
Levi B 0f2b9b3701 Add Base64UrlEncode / Base64UrlDecode. 2014-10-14 16:12:51 -07:00
Pranav K dc04ff843c Reacting to CLR package versioning changes 2014-10-10 10:32:48 -07:00
Chris Ross f5577c589e #130 - Remove semi-colon support from query parsing. 2014-10-08 14:25:59 -07:00
David Fowler 20de1d0597 Fix up references 2014-10-05 05:08:26 -07:00
Pranav K 38e085e3ef Removing out var usage 2014-10-01 14:26:20 -07:00
Chris Ross c2934912af #121 - Make the query parsing API public. 2014-09-23 15:13:08 -07:00
Chris Ross 3811f47b23 Use out var syntax. 2014-09-15 09:13:27 -07:00
Chris Ross 0bfe3c14db Port AuthProperties.AllowRefresh from Katana. 2014-09-12 12:42:36 -07:00
Pranav K 547d77778e Reacting to System.Text.Encoding package version change 2014-09-11 10:06:46 -07:00
Chris Ross 335895d9b4 #122 - Rename IBuilder to IApplicationBuilder. 2014-09-10 11:45:02 -07:00
David Fowler 90dad40029 Updated to use the new target framework in project.json 2014-09-04 01:27:14 -07:00
David Fowler aac0ce134c Updated to use the new target framework in project.json 2014-08-28 23:31:29 -07:00
Chris Ross 1aed739edb WebUtilities: Add more query helpers. 2014-08-22 09:04:30 -07:00
Chris Ross bc0732f900 Code cleanup. 2014-08-21 12:13:26 -07:00
Chris Ross ddc7f08957 #116 - Add IBuilder.Properties collection. 2014-08-20 12:39:28 -07:00
Chris Ross 7230a3d78e Add form and query helpers needed for Facebook auth. 2014-08-20 12:39:24 -07:00
Pranav K e2a3f1455b Reacting to System.IO package version change 2014-08-20 06:56:33 -07:00
David Fowler 274f20a383 Removed source files from the project 2014-08-15 08:14:48 -07:00
Chris Ross 6d45f817f9 Make new overloads virtual. 2014-08-07 15:58:26 -07:00
Chris Ross 22f3d52762 #111 - Change Challenge, SignIn parameter order to support params. 2014-08-07 15:21:02 -07:00
Chris Ross 7be9cefc4c QueryBuilder Add overload for IEnumerable. 2014-07-24 16:24:44 -07:00
Chris Ross af279f6d2b #65 Add a QueryBuilder. 2014-07-24 09:10:34 -07:00
harshgMSFT 80ffd26465 Adding abstractions for request headers
viz. Accept, Accept-Charset and Content-Type.
2014-07-23 14:54:15 -07:00
Chris Ross 384d54577e Remove unused field. 2014-07-23 09:14:34 -07:00
Chris Ross 0ba1731928 Add more feature constructors. 2014-07-17 09:57:27 -07:00
Chris Ross dc055f783a #91 Add constructors to Form, Query, and Cookie features for testing. 2014-07-16 16:12:46 -07:00
Chris Ross dd7537de4a #103 Fix ambigious Keys property on IHeaderDictionary. 2014-07-16 12:11:51 -07:00
Pranav K 8ab566e049 Reverting version change to ComponentModel 2014-07-14 15:35:04 -07:00
Pranav K ccbf458f71 Reacting to System.Collections version change 2014-07-14 15:27:24 -07:00
Pranav K 6c94e0317b Reacting to System.Collections version change 2014-07-14 15:07:44 -07:00
David Fowler 8f39f6d4b5 Renamed configurations to frameworks in project.json 2014-07-13 21:50:53 -07:00
Chris Ross 1074fc102a OWIN WebSockets: Cleanup, docs, extension methods. 2014-07-09 17:19:41 -07:00
Chris Ross b1c82c0066 #96 Enable AspNet->Owin WebSockets. 2014-07-09 10:03:13 -07:00
Chris Ross 31edabdfcb #96 Enable Owin->AspNet WebSockets. 2014-07-09 10:03:11 -07:00
Chris Ross 1ece87ef68 Fix mispelled class name. 2014-07-09 09:28:40 -07:00
Chris Ross 578518d5c4 #66 Add response writing extensions. 2014-07-08 09:34:57 -07:00
Chris Ross 5bf4883cd9 #91 Provide a default constructor for DefaultHttpContext. 2014-07-07 10:48:07 -07:00
Chris Ross 9028c6a1a5 #88 Rename IHttpOpaqueUpgradeFeature to IHttpUpgradeFeature. 2014-07-03 11:59:22 -07:00
Chris Ross 10d8b1015e #69 Make auth APIs use IEnumerable instead of IList. 2014-07-03 09:55:10 -07:00
Chris Ross bc2cf1223e #89 - Rename OnRequestAborted to RequestAborted. 2014-07-01 16:24:27 -07:00
Chris Ross 05a275faae OWIN: #87 Make IHttpAuthenticationFeature.Handler not throw. 2014-06-30 11:06:32 -07:00
Chris Ross 13f4c242ab Rename T to TFeature, Creator to Factory. 2014-06-27 09:52:56 -07:00
Chris Ross f4a397dfcc OWIN: Support dynamically creatable features. 2014-06-27 09:21:06 -07:00
Chris Ross f5173e44ae Expand feature support for OWIN->K. 2014-06-27 09:21:04 -07:00
Chris Ross df730a47a9 Rename CancellationToken parameter. 2014-06-26 10:11:29 -07:00
Chris Ross 55e491e354 Make CancellationToken a default param. 2014-06-26 09:32:54 -07:00
Chris Ross ff31b958fe #80 - Add CancellationToken to GetClientCertAsyc, GetFormAsync. 2014-06-26 09:32:44 -07:00
Chris Ross 82f72581c9 Add an explict Count to IHeaderDictionary to resolve ambiguity. 2014-06-24 15:47:08 -07:00
Chris Ross f08b6a8d53 #3 - Add Count, Keys, and ContainsKey to IReadableStringCollection 2014-06-24 14:51:51 -07:00
Brice Lambson 7f1135cec3 Bump version to 1.0.0-* 2014-06-19 16:33:18 -07:00
Chris Ross b6f4207b3b #70 - Refactor client cert feature interface. 2014-06-19 11:46:13 -07:00
Chris Ross 2ae3a24a16 Remove CallCancelled property. Fix Owin query string. Add Owin user. Add Owin tests. 2014-06-19 09:02:49 -07:00
Chris Ross 434a128f1a Rename AcceptWebSocket to AcceptWebSocketAsync. 2014-06-13 08:37:23 -07:00
Chris Ross b9d7561bf9 Enable WebSocket and Opaque features. 2014-06-12 15:05:58 -07:00
David Fowler 124749de28 Fixed project.json casing 2014-05-26 02:49:34 -07:00
David Fowler 57717dd325 Fixed casing of project.json 2014-05-25 10:04:11 -07:00
David Fowler e5724c7301 Renamed Project.json to Project.json2 2014-05-25 10:04:11 -07:00
Pranav K aa9b259da7 Updating kproj file to match tooling changes 2014-05-18 20:13:55 -07:00
Andrew Peters 00d49bbd60 Updating copyright headers 2014-05-08 23:01:09 -07:00
David Fowler efc77e60e0 More fallout from the rename 2014-05-08 10:08:17 -07:00