Commit Graph

45021 Commits

Author SHA1 Message Date
Kiran Challa c46615dc53 Added new extensions UseExceptionHandler & UseDeveloperExceptionPage 2015-09-09 09:38:39 -07:00
Norgerman 38728a6bcd PreflightRequest check requset headers ignore case and ignore simple request headers
Signed-off-by: Norgerman <xyn0410@gmail.com>
2015-09-09 09:33:58 -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
Victor Hurdugaci cddcb3b457 Add BrowserLink 2015-09-09 09:02:19 -07:00
ASP.NET Push Bot c8b5844b98 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@0375986321
2015-09-09 04:16:06 -07:00
KevinDockx 894574d04e Implement Replace Move and Copy for dynamic objects 2015-09-08 22:09:44 -07:00
Doug Bunting ae57844c6a Make a few arrays explicitly `object[]`
- react to aspnet/aspnet.xunit#13
- latest xUnit bits maintains array types correctly, failing some `Type`-related assertions
  - previous xUnit versions mapped all arrays to `object[]`
  - fix likely part of xunit/xunit@bd6814c
2015-09-08 21:44:32 -07:00
Pranav K 231e8a9cf4 Create an abstraction model for TypeInfo for tag helper discovery. 2015-09-08 17:37:08 -07:00
Ivan Derevyanko ac77c11211 Make ConnectionCallback static again. 2015-09-09 02:13:49 +02:00
Ivan Derevyanko 2b2943d5b0 Restore static delegates 2015-09-09 01:27:44 +02:00
Stephen Halter 2041e4d08b Prevent pipes from being closed prematurely on OS X and Linux
This change fixes the in-process marshalling of TCP handles on Mac and Linux
that is used to support having multiple threads accepting connections from
multiple loops.

On these two platforms, the ReadStart callback somtimes gets called with a
status and pipe_pending_count equal to zero. Now when the status is zero
just exit the callback without closing the pipe.

This change more closely follows the example at
https://nikhilm.github.io/uvbook/processes.html#sending-file-descriptors-over-pipes
2015-09-08 16:21:45 -07:00
Pranav K 67eb16dc67 Fixing RazorViewEngine formatting 2015-09-08 15:52:53 -07:00
Pranav K 1c8f22058c Make RazorViewEngine.GetNormalizedRouteValue public
Fixes #3108
2015-09-08 15:41:44 -07:00
Ivan Derevyanko a93a66fe7c Replace Trace.WriteLine with ITraceLogger 2015-09-09 00:26:26 +02:00
ASP.NET Push Bot dd9ad89c51 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@0375986321
2015-09-08 15:10:36 -07:00
Chris R 76fd055d8e Remove redundant body rewind. 2015-09-08 14:14:39 -07:00
ASP.NET Push Bot 9992c4ad36 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@c964d0fceb
2015-09-08 13:54:56 -07:00
ASP.NET Push Bot 8c3dd150b5 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@697fd273a3
2015-09-08 13:11:07 -07:00
Chris R 4e0f0c79ec #366 Rewind the request buffer after parsing the form. 2015-09-08 12:04:53 -07:00
Ajay Bhargav Baaskaran 08c8f9f7ba Parse the whitespace surrounding equals in attribute correctly
- #123
 - Handled the corresponding cases in tag helper scenarios
 - Added unit and code generation tests
2015-09-08 11:43:37 -07:00
Chris R 1b790467a1 #269 Use a json file instead of an ini file to configure hosting. 2015-09-08 09:50:47 -07:00
Ryan Nowak a6aaef0d63 Optimize async code in model binders
Optimize the 'no-op' path for our model binders to return a cached task
where possible without going async.
2015-09-08 09:42:34 -07:00
Murat Girgin 68d721ec0d Merge pull request #371 from leastprivilege/patch-1
Update README.md
2015-09-08 08:59:41 -07:00
ASP.NET Push Bot b03c00d1d9 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@b625b8d8b8
2015-09-08 08:52:37 -07:00
ASP.NET Push Bot 953d5823be ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@ba2fce908e
2015-09-08 08:50:51 -07:00
Ryan Nowak ab08e27a4b Simplify CompositeModelBinder
Also adds a diagnostic ToString to ModelBindingResult to make testing
easier.
2015-09-08 08:47:21 -07:00
Doug Bunting 6568de38d1 Two quick fixes
- add missing closing quote in a resource
- cleanup `project.json` files
  - remove some package references that are found transitively
2015-09-08 08:39:03 -07:00
N. Taylor Mullen d458e8ecb2 Change HTML in nested C# blocks to properly handle dots.
- Prior to this change adding a `.` after an implicit expression would result in compile errors due to Razor thinking the `.` was part of the C# (normally not the case).
- Added a code generation and unit tests to validate behavior.

#491
2015-09-07 19:18:09 -07:00
Damian Edwards c065c90337 Merge pull request #63 from hishamco/issue#62
Fix 'QueryStringRequestCultureProvider' Issue
2015-09-07 17:29:04 -07:00
Ryan Nowak 382c9ab86a Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
Ryan Nowak 465b4ce0df Use TelemetrySource 2015-09-06 20:23:05 -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
David Fowler 2834b70987 Added frameworks to project.json 2015-09-05 11:03:00 -07:00
Ivan Derevyanko ed4850a2b1 Style fix 2015-09-05 18:32:16 +02:00
Ivan Derevyanko 6d47227975 KestrelTrace refactored and added to the ServiceContext. Close aspnet/KestrelHttpServer#141 2015-09-05 18:17:17 +02:00
David Fowler 8a6495364e Merge pull request #192 from Tragetaschen/patch-1
Fix bug #191 introduced by b25d2d9
2015-09-05 07:51:06 -07:00
Kai Ruhnau 5ee80e0155 Fix bug #191 introduced by b25d2d9 2015-09-05 12:29:00 +02:00
Victor Hurdugaci c30abd3477 Add a framework to the empty project to unblock the build 2015-09-04 23:29:21 -07:00
Stephen Halter f10c989d90 Add ServiceContext to make it easier to flow new services through ctors 2015-09-04 15:04:25 -07:00
Doug Bunting dc4573e484 Get four failing tests working on Linux
- use consistent line endings on all platforms so that hashes and file versions match
  - add another `.gitattribute` file
  - move files to avoid required index recreation in all Linux repos
2015-09-04 14:41:35 -07:00
Hao Kung 2161f42086 Skip tests that fail on mono (no localdb) 2015-09-04 14:27:50 -07:00
Chris R c6db2c06f5 Add BasicMiddleware and Proxy repos to the build list 2015-09-04 11:51:41 -07:00
Chris R 61a47d79a8 Work around System.Uri relative path bug on mono. 2015-09-04 11:47:19 -07:00
Chris R 2abd87ff5a Remove un-needed dependenecies. 2015-09-04 10:57:01 -07:00
Hisham Abdullah Bin Ateya 208332b831 Remove unused 'RunningOnMono' property 2015-09-04 19:36:06 +03:00
LBi Jeroen Slor 87360d861f Added configure options. Added default default addoptions call 2015-09-04 08:48:46 -07:00
Ryan Nowak 831785fe9f Make AddAuthorization() idempotent
Found this issue which looking into making AddMvc() idempotent. You'll end
up with multiple pass-through handlers registered if two components call
AddAuthorization(). This is very possible to happen if used two frameworks
in the same app.
2015-09-04 08:26:54 -07:00
David Fowler 6bc4a40926 Setup ci stuff 2015-09-04 01:33:47 -07:00
Kiran Challa 5cb8ad3d87 Skipped tests using file paths not supported on Mono 2015-09-04 01:07:03 -07:00