Commit Graph

40898 Commits

Author SHA1 Message Date
BrennanConroy aeb5eb440c React to AuthorizationContext rename 2016-05-16 09:36:24 -07:00
BrennanConroy 1a99fad0c6 Rename AuthorizationContext 2016-05-16 09:30:33 -07:00
glennc 6ea669f2ac minor changes for feedback 2016-05-16 08:15:23 -07:00
Ryan Nowak 1e02fd2e6b Merge invoker back into one class
This will help future generations maintain this class. Notice that the
protected methods that are going away all just call into another
extensibility point (other than the executor). If we need to we could make
that extensible in the future and then we have the same support with fewer
hooks and less complexity.
2016-05-13 17:43:59 -07:00
Ryan Nowak 51e133ab9f Add asserts to DiagnosticSource 2016-05-13 15:05:35 -07:00
Ryan Nowak 6dbc808fde Clean up .sln files
Remove reference to deleted DNX project
Prevent sources packages from building
2016-05-13 15:03:52 -07:00
Kiran Challa 954e864f96 Fixed RemoteWindowsDeployer to differentiate running between portable/standalone apps. 2016-05-13 10:17:55 -07:00
Ryan Nowak 652e330875 Fix #4631 and avoid Task<T> creation in invoker
This change corrects and ordering bug between the creation of the
'context' and the diagnostic source event that occurs before a synchronous
filter's 'after' stage.

Also made some simple changes to avoid allocating Task<T> in many common
cases. Now we'll only create the Task<T> when we really need it (async
filters).
2016-05-13 08:53:56 -07:00
Ryan Nowak 128d74e2a0 Refactor Argument Binder
This change just rearranges some code in the argument binder with a mind
towards performance and clarity. We're removing a few Task<T>'s here as
well in certain cases, but not yet all of them. We additionally save a
dictionary in the case where you have bound properties.

Hopefully these changes break the code into more discrete and sensible
units without multiple levels of indirection without abstraction.
- Main 'driver' code
- BindModel
- ActivateProperty
2016-05-13 08:12:14 -07:00
Ryan Nowak 4d63ffa879 Make ValueProvider creation lazy
We want this change to avoid MVC eagerly reading the form. This is good
for general perf and also for scenarios where you want read the body
yourself (large file uploads).

We DO have scenarios where you want to configure the value providers
per-request or also to change the limits on the value providers (form) so
it's worth keeping these around on the context.
2016-05-13 08:11:21 -07:00
glennc a9421d8b64 Update the readme for RC2. 2016-05-12 17:51:46 -07:00
David Obando ef92bf3834 Merge branch 'release' into dev 2016-05-12 16:32:47 -07:00
David Obando e3096322ae Merge pull request #662 from aspnet/daobando/captainslog
Fixes null reference exception
2016-05-12 16:30:52 -07:00
moozzyk f58641be49 Adding support for outputName build option
Addresses #128
2016-05-12 15:45:49 -07:00
Cesar Blum Silveira 2cd86a2724 Temporarily disable BadHttpRequestTests. 2016-05-12 14:55:56 -07:00
Cesar Blum Silveira 3186e1bd72 Make TakeStartLine more robust (#683). 2016-05-12 12:07:08 -07:00
Kiran Challa e483478415 Merge branch 'release' into dev 2016-05-12 09:35:33 -07:00
Ryan Nowak fb5d92bdc0 Change our cached task to a field
This makes it more inlinable and saves a volatile lookup on netstandard.
2016-05-11 18:09:21 -07:00
Ryan Nowak 04ffc4d2eb Clean up DiagnosticSource code in invoker 2016-05-11 17:41:03 -07:00
Kiran Challa d6a9068008 [Fixes #4616] Filter caching is too aggressive 2016-05-11 16:58:45 -07:00
Ryan Nowak 7bd297c395 Remove unused field 2016-05-11 16:48:55 -07:00
Ryan Nowak 86a41bc618 Optimize manipulation of RouteData.Routers
This change avoid calling List.Clear() and new List(IEnumerable<T>) which
both end up calling into native methods via the Array static class. These
methods are designed to be performant for large collections, and for our
needs this collection has at most 1-4 items. This is worth 2-3% in
techempower plaintext.
2016-05-11 11:20:10 -07:00
Pranav K 5bf2ab600b Merge remote-tracking branch 'origin/release' into dev 2016-05-11 08:45:43 -07:00
Pranav K 912971120f Update to preview1 version 2016-05-11 08:41:57 -07:00
Pranav K 4565c0fb18 Merge remote-tracking branch 'origin/release' into dev 2016-05-10 16:50:36 -07:00
Ben Adams a3b0f809de Only call PrepareDateValues if not already called for tick 2016-05-10 20:38:27 +01:00
Rowan Miller 9a411df59f Merge branch 'release' into dev
# Conflicts:
#	src/PageGenerator/project.json
2016-05-10 12:34:53 -07:00
Rowan Miller b9565b9ba3 Include instructions for PMC migrations commands
Update database error page to include instructions for using Package Manager Console commands to add/apply migrations.

Resolves #290
2016-05-10 12:08:12 -07:00
Chris R cd9952ca60 Merge branch 'release' into dev 2016-05-10 11:09:34 -07:00
Chris R 3061a48a38 Do not allow control characters in response headers. 2016-05-10 10:59:42 -07:00
Pranav K c15e83c096 Look for dependencies in the tools node too 2016-05-09 22:48:24 -07:00
Ben Adams 0e8cbe5df6 Return SocketInput blocks out of lock 2016-05-10 01:18:24 +01:00
David Obando b838abc005 Fixes null reference exception 2016-05-09 17:08:42 -07:00
Stephen Halter 388841c1d8 Merge branch 'release' into dev 2016-05-09 16:37:40 -07:00
John Luo 2314512ac7 Missed deployer update when merging from release 2016-05-06 19:15:00 -07:00
John Luo 1ec8869048 Merge branch 'release' into dev 2016-05-06 17:29:39 -07:00
John Luo 877b1fd42c Merge branch 'release' into dev 2016-05-06 17:28:48 -07:00
John Luo 30407c2e6e React to deployer update 2016-05-06 17:28:24 -07:00
John Luo c4aa4cb592 Merge branch 'release' into dev 2016-05-06 17:27:37 -07:00
John Luo 56f986e9b6 Merge branch 'release' into dev 2016-05-06 17:26:25 -07:00
John Luo 06e23558d2 Merge branch 'release' into dev 2016-05-06 17:25:13 -07:00
John Luo aa9ed1593e React to deployer update 2016-05-06 16:51:41 -07:00
John Luo 2c71ae7583 React to deployer update 2016-05-06 16:30:48 -07:00
Pranav K c3dc279642 Merge branch 'release' into dev 2016-05-06 14:10:05 -07:00
Pranav K 4ac0811585 Revise the version for Microsoft.AspNetCore.Server.IISIntegration.Tools
Additionally fix project.json warnings
2016-05-06 14:07:14 -07:00
John Luo adbca3414a React to deployer update 2016-05-06 12:27:35 -07:00
Kiran Challa 9d3f2c4803 [Fixes #656] 'dotnet run' does not work on MusicStore app 2016-05-06 10:24:13 -07:00
Kiran Challa e3808ab769 [Fixes #656] 'dotnet run' does not work on MusicStore app 2016-05-06 10:14:18 -07:00
John Luo 3337c288c7 Update self host deployer to target specific framework when lauching without publish 2016-05-05 18:58:37 -07:00
Stephen Halter 12a3816c12 Make some MemoryPoolBlock operations volatile
- Making MemoryPoolBlock.End volatile and using Volatile.Write for
  MemoryPoolBlock.Next prevents a race that could cause threads consuming
  blocks to skip produced bytes.
2016-05-05 15:13:28 -07:00