Commit Graph

56 Commits

Author SHA1 Message Date
Brennan c41be75796 Wrap Branch in try finally 2015-12-14 14:02:54 -08:00
Brennan 59b32934e3 Change Expires to DateTimeOffset 2015-12-14 08:27:59 -08:00
Pranav K 5231683aae * Removing unused dependencies from code
* Cleaning up usage of CodeAnalysis.
2015-12-07 19:22:53 -08:00
Kristian Hellang c2e7618d9a Added Name and FileName to IFormFile
This commits also gets rid of the name
closure in FormFileCollection by interating
over the files in the collection instead
of using Find and FindAll.

Closes #352 and #499
2015-12-04 20:28:42 +01:00
David Fowler 9887fe0dee Move the header extensions to Http.Abstractions 2015-12-02 23:58:16 -08:00
David Fowler 5b175beea8 Change SendFileAsync to use a fallback implementation instead of throwing
- If the user wants to use the SendFile API directly then they can access the feature
explicitly.
- Removed SupportsSendFile
- Don't check for existence, let FileStream throw
- Updated Doc comments
- Pass the buffer into StreamCopyOperation
- Using a real using instead of try finally.
2015-12-02 22:37:53 -08:00
John Luo 67aa2546a8 Removing ApplicationServices from HttpContext #466 2015-11-19 09:34:38 -08:00
John Luo d4d04d2c96 Adding exception message for paths not starting with / #251 2015-11-16 10:21:02 -08:00
N. Taylor Mullen bb8141710d Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:23:07 -08:00
Nick Craver 6874b87f13 C#6 Cleanup & Optimizations
The main intent is cleanup using C# 6 operators and normalization of
type aliases. While there are no intended functional changes here, it
does eliminate a few tight race conditions as a bonus (not a real-win
since this isn't thread-safe all over, simply noting).
2015-11-10 09:38:49 -08:00
Nick Craver bacf76098e Performance improvements
This adds additional performance improvements (namely string.Concat
overloads) on top of #411.
2015-11-03 06:55:13 -05:00
Ben Adams 3c2e2b9d98 #426 Less alloc/wrapping/boxing for Query, Forms, Cookies 2015-11-02 14:47:46 -08:00
Cesar Blum Silveira af0d2e5888 Merge branch 'release' into dev 2015-11-02 13:38:08 -08:00
Cesar Blum Silveira e934f5e4ed Strong name everything. 2015-10-30 15:36:55 -07:00
David Fowler c80946260a Change the namespace of RequestDelegate
- change it to Microsoft.AspNet.Http
2015-10-30 12:25:21 -07:00
Chris R be4fb46281 #391 Migrate to System.Text.Encoding.Web 2015-10-30 10:13:02 -07:00
Pranav K f177f0c760 Add ForbidAsync overload for automatic authentication scheme. 2015-10-29 14:55:39 -07:00
John Luo 018f3d1815 Renaming HttpContextFactory Create method 2015-10-23 21:58:22 -07:00
John Luo f931cb7c6d Moving httpcontextfactory to AspNet.Http.Abstractions 2015-10-23 21:49:52 -07:00
Pranav K 0219aabc17 Switching to using generations TFM 2015-10-21 21:11:25 -07:00
DamianEdwards 7ed6a6cb57 Add doc-comments for main APIs
- Coherence-Signed#75
2015-10-19 16:33:19 -07:00
Ben Adams e01a05d214 Move RequestIdentifierFeature to HttpContext
Rebased #435
Allow lazier instantiation
Expose TraceIdentifier on Httpcontext
Also resolves #412

Add tests
2015-10-15 22:00:45 +01:00
Hao Kung d28c6e1dbb Changes for error handling in Authentication 2015-10-14 14:44:50 -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
Chris R 894c8dbe2b Hosting#359 Remove IDisposable from HttpContext and IFeatureCollection. 2015-09-30 14:31:03 -07:00
Hao Kung 551da3e558 Caption => DisplayName 2015-09-23 14:57:14 -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
Pranav K b1a2db0a7c Adding NeutralResourcesLanguageAttribute 2015-09-10 17:48:17 -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 516a435ea5 Fix #365 - Make IFormFileCollection implmenent IReadOnlyList<T> 2015-08-21 10:39:27 -07:00
Hao Kung 8487e42a68 Hello HttpContextAccessor 2015-08-12 13:08:58 -07:00
Troy Dai 3cd5907fc5 Update CoreCLR versions 2015-08-05 09:33:00 -07:00
Hao Kung d142160f47 OnCompletedDispose => RegisterForDispose 2015-07-13 12:23:03 -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
Hao Kung 5fe8037281 Auth API changes (Async, ChallengeBehavior) 2015-06-25 17:03:10 -07:00
Mikael Mengistu 12b78a31bf Added more tests and error handling for construction of middleware classes #236 2015-06-24 10:03:56 -07:00
Chris R a79b05bf24 #320 Rename OnSendingHeaders to OnResponseStarting and HeadersSent to HasStarted. 2015-06-12 12:59:07 -07:00
Henk Mollema 40cfc238fe Use nameof operator 2015-06-11 09:28:05 +02:00
Kiran Challa 6407a1672d Session API review changes. 2015-06-03 21:51:17 -07:00
David Fowler eb182fdafd Fixed dependencies 2015-05-21 03:46:18 -07:00
Chris R 69849cc37c #311 Move UseMiddleware to Http.Abstractions. 2015-05-20 12:42:54 -07:00
Chris R dce1d0e88f #272 Make more properties settable (Items, RequestAborted, IsHttps, Query, Cookies). 2015-05-12 11:02:58 -07:00