Commit Graph

21723 Commits

Author SHA1 Message Date
Louis DeJardin 290ff2a268 PR feedback 2015-12-16 22:37:07 -08:00
Louis DeJardin 4265855652 PR feedback
Adding comment about reason for public field
2015-12-16 22:35:41 -08:00
Louis DeJardin c05c203c28 Adding example of what http context pooling might look like 2015-12-16 22:02:05 -08:00
Louis DeJardin 0e3fe7493e Streamlining feature cache and object re-initialiation code paths
Shouldn't increase object size, but does improve maintainability
2015-12-16 20:01:55 -08:00
Andrew Stanton-Nurse 29b1c2282e actually tested DorkBuild this time :) 2015-12-16 17:46:36 -08:00
Stephen Halter 5d6fdc5eb5 Merge branch 'benaadams/vector.dot' into dev 2015-12-16 17:39:40 -08:00
Andrew Stanton-Nurse 92121e62d9 fix DorkBuild 2015-12-16 17:28:34 -08:00
Andrew Stanton-Nurse 3ae5110441 probe for Mono reference assemblies in DorkBuild 2015-12-16 17:02:41 -08:00
Stephen Halter 67a0165aec Merge branch 'benaadams/headers.clearfast' into dev 2015-12-16 15:48:01 -08:00
Victor Hurdugaci dfb033e51c Use nuget add instead of dnu packages add 2015-12-16 15:15:43 -08:00
Andrew Stanton-Nurse e5f42498ac add .build dir to gitignore 2015-12-16 14:42:11 -08:00
Ben Adams 559cd51255 Faster Headers.ClearFast 2015-12-16 22:23:33 +00:00
Ben Adams 9fa9c45eda ReuseStreams config and tests 2015-12-16 21:27:07 +00:00
Ben Adams 841ec73497 Prevent OnComplete modifying Streams 2015-12-16 20:51:45 +00:00
Ben Adams f5e45accac Amortize Stream Costs 2015-12-16 20:51:44 +00:00
Ryan Nowak bf6406bc2a PR feedback 2015-12-16 12:48:03 -08:00
Ryan Nowak ea43ce1bb7 update gitignore 2015-12-16 12:38:21 -08:00
Ajay Bhargav Baaskaran ef0ea537e2 Removed CatchAll and Fallback from DecisionTree 2015-12-16 10:52:53 -08:00
Cesar Blum Silveira 349af50977 Pre-allocate standard method and version strings. 2015-12-16 10:47:59 -08:00
Chris R de8c74bb89 Add missing System.Runtime.InteropServices dependency. 2015-12-16 09:14:33 -08:00
Pranav K 2ab24aa0f4 Remove custom url encoding
Fixes #214
2015-12-16 09:06:49 -08:00
Ben Adams 4460cd3470 Don't use Vector<byte>.Dot 2015-12-16 16:24:45 +00:00
Victor Hurdugaci 1b05921b70 Update the git template 2015-12-15 16:19:59 -08:00
Ben Adams 67c5ec29b3 Allow feature cache to be updated+invalidated 2015-12-15 16:12:37 -08:00
Ryan Nowak 9b9fd5ff00 React to breaking changes in antiforgery 2015-12-15 15:55:09 -08:00
Doug Bunting 234073cf6e Make `HtmlEncodedString` a suitable base for MVC's `HtmlString`
- #5
- provide `ToString()` implementation
- add missing `null` checks in `WriteTo()`; remove extraneous one in the constructor
- special-case `HtmlEncodedString` in `IHtmlContentBuilder.AppendFormat()` extension method

nits:
- ignore more files
- add missing `null` checks in `HtmlContentBuilderExtensions` too
2015-12-15 15:27:40 -08:00
Victor Hurdugaci 77bcf111fb All line endings 2015-12-15 14:44:00 -08:00
Victor Hurdugaci 28474fdc75 Fix line endings 2015-12-15 14:34:41 -08:00
Ryan Nowak 3280ff6ac5 Add Header support
This change adds support for retrieving an antiforgery CSRF token via a
configurable header in addition to the form field. This helps with doing
ajax requests in a 1st-party SPA when using cookie auth, and is similar to
functionality provided by a bunch of different frameworks.

In this change there's also a bunch of churn due to avoiding the term
'form' in favor of 'request' and 'session' in favor of 'cookie'. Where
code and error message now mention 'form' they specifically mean
form-encoded content.
2015-12-15 14:18:09 -08:00
Victor Hurdugaci 3e6551f80d Move KoreBuild-dotnet from release 2015-12-15 11:53:41 -08:00
Pranav K e384b7d4d0 Remove ErrorPageOptions 2015-12-15 11:08:47 -08:00
Pranav K 2baf6fecf5 Allow inline configure of options in UseDeveloperExceptionPage
Fixes #219
2015-12-15 10:57:24 -08:00
moozzyk 83cff16715 Changing the folder of ARM version of libuv to win7-arm
Depends on: https://github.com/aspnet/libuv-build/pull/4
Fixes: https://github.com/aspnet/Home/issues/1111
2015-12-15 10:37:29 -08:00
Mohammad Rahhal 8e38584800 Fix typo 2015-12-15 09:49:54 -08:00
Brennan cbc201ac26 Remove unused OnExecute 2015-12-15 08:53:41 -08:00
Doug Bunting c3c0b45225 Move functional tests of CORS middleware to this repo
- related to aspnet/Mvc#3612
2015-12-15 08:42:26 -08:00
SteveSandersonMS 269b31469c Slight simplification 2015-12-15 15:15:16 +00:00
SteveSandersonMS 39f7f1649f Add example of server and client validation for React 2015-12-15 12:47:52 +00:00
Pranav K 736f2bcefb Adding Travis and AppVeyor badges 2015-12-14 16:28:23 -08:00
Brennan 09278f7013 Adding logging event ids 2015-12-14 15:03:06 -08:00
Pavel Krymets 29e87e314a Fix coreclr registry and file system related tests 2015-12-14 14:41:03 -08:00
Brennan c41be75796 Wrap Branch in try finally 2015-12-14 14:02:54 -08:00
Ryan Nowak cb39589864 Add extension methods for using routing with Middleware 2015-12-14 13:21:50 -08:00
Martin Johns 5e837b4eef Reduce overuse of null-conditional operator 2015-12-14 10:47:15 -08:00
Chris R 965a86e404 #593 Convert samples to use UserSecrets. 2015-12-14 10:46:22 -08:00
John Luo 455d865948 Fixing deadlock hang in test when running in single threaded environment 2015-12-14 10:14:32 -08:00
Ryan Nowak cc501bc025 HttpMethodConstraint -> HttpMethodRouteConstraint
This is consistent with other constraint types in routing, and avoids a
naming conflict with MVC.

This is a change **away** from the names used in System.Web and
System.Web.Http.Routing, but it seems worth doing for consistency and
clarity.
2015-12-14 10:10:17 -08:00
Kiran Challa 05dcc22da7 Temporarily disabling smoke tests from running on Mono 2015-12-14 10:07:06 -08:00
Ryan Nowak 604fc6bb54 Fix #248 Add HttpMethodRouteConstraint
Constraint code ported from WebAPI2. Tests are new.

Also a bunch of misc cleanup for constraints.
- Move IRouteConstraint to abstractions
- Fix namespace of a constraint
- Some general style cleanup
- use RouteValueDictionary in the public API
2015-12-14 08:52:47 -08:00
Brennan 59b32934e3 Change Expires to DateTimeOffset 2015-12-14 08:27:59 -08:00