Commit Graph

247 Commits

Author SHA1 Message Date
Praburaj a6670114b1 Adding more fallbacks for BufferingHelper temporary folder location
Fixes:
https://github.com/aspnet/HttpAbstractions/issues/168
2015-03-10 21:20:50 -07:00
Levi B 543e0f4863 Code comment cleanup. 2015-03-10 18:06:59 -07:00
Levi B 332900b175 Allow XyzEncoder.Default to be settable. 2015-03-10 17:58:17 -07:00
Levi B ae456401a8 Change AllowedCharsBitmap back to a struct.
I also experimented with having a fixed uint[] field inside the struct, but this actually ended up having worse performance than a proper uint[] array reference since it defeated some of the JITter's optimizations.
2015-03-10 17:58:10 -07:00
Levi B 64077026c7 API cleanup: Rename UnicodeBlock -> UnicodeRange
Also clean up related doc comments
2015-03-10 17:58:03 -07:00
Praburaj 58c45cd379 SignOutContext needs AuthenticationProperties 2015-03-09 19:37:38 -07:00
Praburaj 9463b08d7b Move SendFile HttpResponse extensions to Microsoft.AspNet.Http.Extensions
Addresses: https://github.com/aspnet/HttpAbstractions/issues/221
2015-03-09 15:05:16 -07:00
N. Taylor Mullen 973bf7865e Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:54:49 -07:00
N. Taylor Mullen de25ccc9cd Temporarily update struct => class.
- Will be reverted back as denoted by issue: https://github.com/aspnet/HttpAbstractions/issues/222
2015-03-09 01:32:04 -07:00
N. Taylor Mullen 0ad48b90b2 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:50:39 -07:00
Levi B 9988d5205e GetXyzEncoder() shouldn't throw if IServiceProvider is null
Also remove dependency on full DI; use Interfaces instead
2015-03-05 18:43:59 -08:00
Praburaj d5e1b198dc Rename Microsoft.AspNet.Http.Interfaces => Microsoft.AspNet.Http 2015-03-05 16:54:21 -08:00
Brennan 09ccc84a17 DI API changes 2015-03-05 14:29:22 -08:00
Hao Kung 20848da93f React to DI changes 2015-03-04 18:08:36 -08:00
Praburaj ae23f7c7bc Adding a feature to get the traceidentifier for a request
Addresses : https://github.com/aspnet/HttpAbstractions/issues/117

Related changes in Helios & weblistener in separate PRs.
2015-03-04 14:18:51 -08:00
Hao Kung de1e8763dd Security -> Authentication
AuthN renames and design changes
2015-03-02 15:25:52 -08:00
Anthony W. Juckel ba2c06072e Remove space from ISignOutContext filename 2015-02-28 01:20:25 -06:00
Levi B 04707ccaa0 Add unit tests for the service provider extensions 2015-02-27 14:44:12 -08:00
Levi B a1dbce9065 Rename AddEncoders -> AddWebEncoders 2015-02-27 12:55:55 -08:00
Levi B eb42bc51fb CodePointFilter parameterless ctor should be empty, not Basic Latin 2015-02-27 11:30:01 -08:00
Levi B 0ca24147a0 Add unit tests and code generation routines 2015-02-27 11:30:00 -08:00
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