Commit Graph

43822 Commits

Author SHA1 Message Date
Andrei Tserakhau 41d1c14770 bug(ng2-template): fix issue with not disposed boot object 2016-05-17 16:00:16 +01:00
Andrei Tserakhau 58a1aa3538 chore(ng2-template): upgrade angular 2 template to rc1 version 2016-05-17 16:00:16 +01:00
SteveSandersonMS 8005427d94 Fix markdown syntax typo 2016-05-17 12:05:35 +01:00
SteveSandersonMS ecada2f165 Update README.md. TODO: Change this to describe working in terms of building your own projects, not hacking on this repo itself. 2016-05-17 12:02:45 +01:00
SteveSandersonMS 352108be35 Update all projects for final .NET Core RC2 2016-05-17 11:56:06 +01:00
Kristian Hellang 230776f4b0 Added Permanent property to configure RequireHttpsAttribute
Fixes #4561
2016-05-16 16:18:53 -07:00
Cesar Blum Silveira 3e841ccba1 Always send HTTP/1.1 responses (#792). 2016-05-16 16:11:37 -07:00
BrennanConroy 962a74c488 Add argument validation 2016-05-16 15:19:58 -07:00
BrennanConroy 83c7abe87a Dipose HttpClient 2016-05-16 14:51:30 -07:00
Hisham Bin Ateya b72816e24c Remove unecessary using (#242) 2016-05-16 14:44:29 -07:00
Kiran Challa af19899927 [Fixes #279] Deleted RuntimeInfo middleware, sample and tests 2016-05-16 13:12:40 -07:00
Chris R 6294badd97 Use a shared CookieSecurePolicy. 2016-05-16 12:29:33 -07:00
Chris R b95843452c #612 Move CookieSecureOption / SecurePolicy to Http.Abstractions 2016-05-16 12:23:41 -07:00
Glenn Condron 6f95507332 Merge pull request #1448 from aspnet/glennc/rc2
Glennc/rc2
2016-05-16 12:07:13 -07:00
Glenn Condron c14cd071cf Merge pull request #1447 from aspnet/glennc/updatereadme
Update README.md
2016-05-16 12:06:26 -07:00
mnltejaswini 61a176e478 [Perf] Cache the default values for action arguments to avoid Activator.CreateInstance per argument.
Fixes #4470
2016-05-16 11:43:34 -07:00
mnltejaswini 5fb36ae406 [Perf] Replace Activator.CreateInstance with cached delegate in RazorPageFactoryProvider
Fixes #4470
2016-05-16 11:26:33 -07:00
mnltejaswini 0e4b838864 [Perf] Replace Activator.CreateInstance with cached delegate in Model Binders
Fixes Part1 of #4470
2016-05-16 11:26:33 -07:00
N. Taylor Mullen fa29396141 Revert "Add Visual Studio specific RC1 binaries."
This reverts commit 687fd72efd, a140440196, 698980943a and 3ebb14ee4b.

#4405
2016-05-16 11:12:24 -07:00
Kiran Challa 5627d00329 Added UserSecrets tool to E2ETests to enable setting up NanoServer related config in a local user secret store 2016-05-16 10:49:56 -07:00
Glenn Condron 541f36f2f2 Update README.md 2016-05-16 10:49:07 -07:00
N. Taylor Mullen 53e59b39c3 Revert "Add Visual Studio specific RC1 binaries."
This reverts commit 197d6a579f, 2c0fb950bc, 62fe5d6c4e and fad09801f8
2016-05-16 10:30:59 -07:00
Kiran Challa 3c7cfbf340 Removed all references to RuntimeInfoPage 2016-05-16 10:27:21 -07:00
Glenn Condron d2ac795bf8 Merge pull request #1436 from aspnet/glennc/rc2
Update the readme for RC2.
2016-05-16 10:04:54 -07:00
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