Commit Graph

27752 Commits

Author SHA1 Message Date
Pavel Krymets b2edb0d484 Fix environment variable loading in hosting #470 2015-11-10 12:26:07 -08:00
Ben Adams 34cec3448d SocketOutput to Tasks 2015-11-10 19:53:43 +00:00
Troy Dai d0bdede709 Update the reference link in comments of SockAddr 2015-11-10 11:11:32 -08:00
Kristian Hellang f726b7b591 Added PERF comment 2015-11-10 19:55:14 +01:00
Troy Dai d9c15e0180 Add references to socket in comments 2015-11-10 10:37:12 -08:00
Kirthi Krishnamraju 454ff9f52a fix #3414 : RegularExpressionAttribute generates wrong data-val-regex message 2015-11-10 10:27:53 -08:00
Ben Adams 344c821f83 Remove sync block->task
await rather than synchronously blocking and then returning a
Task.FromResult
2015-11-10 18:23:44 +00:00
Pranav K 380a93d370 Redesign RazorViewEngine caching
Fixes #3337
2015-11-10 10:18:25 -08:00
Troy Dai d08b83a1c7 Fix get IPAddress for Darwin 2015-11-10 10:04:10 -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
David Fowler 466ca57d4b Merge pull request #471 from benaadams/lazy-init
Lazily initialize DefaultHttpContext
2015-11-10 07:20:52 -08:00
Ben Adams e5a3285090 Lazily initialize DefaultHttpContext
Lazily initialize sub objects of DefaultHttpContext

Resolves #470
2015-11-10 15:05:29 +00:00
Ben Adams c0f82765aa Move logging to new style 2015-11-10 10:43:51 +00:00
Kristian Hellang 7b35b2e1b9 Pass length to StringBuilder 2015-11-10 11:03:51 +01:00
Kristian Hellang 663c7917d0 Changed string.Format to StringBuilder 2015-11-10 10:31:56 +01:00
Ben Adams a2c4e3a654 Task.Run -> ThreadPool.QueueUserWorkItem
Task.Run eventually ends up being QueueUserWorkItem.
The returned task is ignored, so no added goodness.
Short running item.

Cut out the middleman
2015-11-10 07:28:17 +00:00
Doug Bunting 845b86963e Fix build break: React to aspnet/Hosting@660f1ca 2015-11-09 21:09:21 -08:00
Pawel Kadluczka 0bfc97e46f Fixing test so that it runs on CoreClr 2015-11-10 01:44:42 +00:00
Pavel Krymets 660f1cad10 Make hosting configuration consistent 2015-11-09 16:35:27 -08:00
Ryan Nowak ece6ecde45 Add buffer pooling to JsonResult 2015-11-09 15:43:33 -08:00
Damian Edwards e1a95c97e1 Merge pull request #342 from benaadams/completed-task
Completed Task opt
2015-11-09 12:51:21 -08:00
Kirthi Krishnamraju 3da2c35e3e fix #2819: Add more unit tests for ViewLocalizer and HtmlLocalizer 2015-11-09 10:54:56 -08:00
Chris R b04c4041f3 Update OIDC dependencies to 211090924. 2015-11-09 10:43:53 -08:00
Pranav K d17db92e19 Log messages to DiagnosticListener in addition to page instrumentation
Fixes #3281
2015-11-09 10:24:49 -08:00
Ryan Nowak 308dd109a0 Reduce allocations on Conneg hotpath 2015-11-09 09:16:30 -08:00
Ben Adams 278bd9c962 Completed Task opt 2015-11-09 04:32:08 +00:00
Doug Bunting cef4a66479 Another `System.RuntimeSerialization.Xml` version update
- #3493
- see also d4163b4

nit: sort properties
2015-11-07 15:34:07 -08:00
Doug Bunting dddc6a2ebb Remove quotes from `@addTagHelper` directive
- react to aspnet/Razor#561 fix: PR aspnet/Razor#591 and commit aspnet/Razor@0c95315
2015-11-07 12:27:32 -08:00
Eilon Lipton 6dfc95b582 Update to newer OIDC library 2015-11-07 12:04:16 -08:00
Pavel Krymets 7b248a7789 Make Compilation Abstractions naming consistent with Platform Abstractions 2015-11-06 16:18:45 -08:00
Pavel Krymets 737a8f3b1d Make Compilation Abstractions naming consistent with Platform Abstractions 2015-11-06 15:53:08 -08:00
Pavel Krymets 5bb737b6ad Make Compilation Abstractions naming consistent with Platform Abstractions 2015-11-06 15:10:11 -08:00
Pavel Krymets 740b51e0bc Make Compilation Abstractions naming consistent with Platform Abstractions 2015-11-06 15:08:07 -08:00
N. Taylor Mullen d564a4a96b React to aspnet/Razor#561.
- `TagHelper` directives no longer have quotes.
- Regenerated test output.
2015-11-06 12:31:55 -08:00
Ajay Bhargav Baaskaran 1927730f40 [Fixes #3426] Removed defensive copy in CompositeModelBinder and CompositeModelValidatorProvider 2015-11-06 12:21:08 -08:00
N. Taylor Mullen 0c95315500 Update tests to not require quotes for TH directives.
- Updated .cshtml files to not provide quotes for the various `TagHelper` directives.
- Updated `TagHelper` directive parsing tests. This also involved removing several tests that expected errors which no longer occur since we don't have to ensure quotes are balanced.
- Updated line mappings which significantly changed due to us no longer generating line pragmas at design time for `TagHelper` directives.

#561
2015-11-06 12:19:40 -08:00
N. Taylor Mullen 013f3a27af Remove quote requirement for `TagHelper` directives.
- `@addTagHelper`, `@removeTagHelper` and `@tagHelperPrefix` values are all written without quotes now.
- Updated the `ChunkGenerator`s to be in-line with other `ChunkGenerator`s in the system now that they don't have vastly different values than what their corresponding `Span`s have.
- Split `AddOrRemoveTagHelperChunkGenerator` into two smaller `ChunkGenerator`s to stay consistent with other generators.
- Removed error cases introduced by having quotes around directives.
- Updated code generation logic to not generate line pragmas (they should never have been generated to start with) and more specifically only map to the inner string that's generated. Without this change directive mappings would be offeset by a generated quote.

#561
2015-11-06 12:17:30 -08:00
N. Taylor Mullen decf882341 Update `LinkTagHelper`s `meta` tag to be w3c compliant.
- Prior to this change the `<meta ...>` generated had a name attribute. As an alternative we're using the `content` attribute in conjunction with the `name` attribute to ensure compliance.

#3449
2015-11-06 12:15:55 -08:00
Ajay Bhargav Baaskaran f7a211c095 Removed use of LINQ and added some optimizations in ValidationVisitor 2015-11-06 11:56:52 -08:00
N. Taylor Mullen bebd3dc9a0 Update test files to showcase block level Razor statements in attributes.
- Block level Razor statements in attributes used to not work. Added a few use cases to ensure that they're properly tested.

aspnet/Razor#594
2015-11-06 11:11:40 -08:00
Kiran Challa 5364468001 [Fixes #3177] Clean up logic for encoding in ViewResult and friends 2015-11-06 10:44:09 -08:00
Cesar Blum Silveira 216d3a0656 Fix some authentication unit tests failing on Linux and OS X. 2015-11-06 04:27:33 -08:00
Chris R a5a8614595 Merge branch 'release' into dev 2015-11-09 10:46:52 -08:00
SteveSandersonMS 717fb37034 Rename packages. Bump versions to -alpha6 2015-11-05 14:23:11 -08:00
SteveSandersonMS 54aad643c8 Decode Node's JSON response into arbitrary .NET type. Add VS stuff. 2015-11-05 22:05:43 +00:00
Cesar Blum Silveira 8bf2c72e69 Sign Microsoft.AspNet.Mvc. 2015-11-05 14:00:54 -08:00
Hao Kung 379f1928a4 Update doc comments 2015-11-05 13:22:27 -08:00
SteveSandersonMS 52953c5fe9 Fix working directory (e.g., for when running under IIS Express) 2015-11-05 12:25:29 -08:00
Stephen Halter 9d19eed88f Merge branch 'benaadams/memorypool2-allocate' into dev 2015-11-05 12:16:43 -08:00
Stephen Halter bb9f83186b Remove unused parameter from ListenerSecondary.ReadStartCallback 2015-11-05 12:09:50 -08:00