Ryan Nowak
434da683fc
Improve buffering of Razor output in MVC
...
These changes are aimed at significantly improving the performance of
MVC/Razor when a large amount of content is in play or a large number of
TagHelpers are used.
A few issues addressed:
- Buffer sync writes after a flush has occurred so that we can write them
asyncronously. The issue is that an IHtmlContent can only do sync
writes. This is very bad for Kestrel in general. Doing these writes
async is better for our overall perf, and the buffer that we use for it
is from the pool.
- 'Flatten' ViewBuffers when possible. A page with lots of TagHelpers can
end up renting a ViewBuffer and only write 2-3 things into it. When a
ViewBuffer sees another ViewBuffer we can either steal its pages, or
copy data out and 'return' its pages. This lets us use 3-4 buffers for a
large Razor page instead of hundreds.
2016-01-25 12:40:52 -08:00
Pranav K
6f885c7113
Adding empty project.json to unblock build
2016-01-25 12:11:50 -08:00
Pranav K
43b65ca46c
Update the documentation for IViewComponentHelper.InvokeAsync
...
Fixes #3974
2016-01-25 12:05:28 -08:00
Pranav K
68b5c950c9
Temporarily revert "Adding messages showing that the tool is running" until we can sort out fetching packages
...
This reverts commit 824acd1ace .
2016-01-25 11:15:43 -08:00
Stephen Halter
a4b8b01c99
Remove immediate parameter from Frame.ProduceStart
...
- Simply call SocketOutput.WriteAsync(_emptyData) to force headers to be flushed
2016-01-25 11:09:15 -08:00
John Luo
b4eacceb42
Remove request and response logging which has been added in the Hosting layer
2016-01-25 10:55:43 -08:00
Doug Bunting
d696f268f7
Try out a Karma test or two
...
- #1993
2016-01-25 10:50:32 -08:00
Stephen Halter
7570da9daa
Flush chunked writes before the entire response completes
...
Ensure chunked writes force an "immediate" write by removing the now
unused immediate parameter from ISocketOutput.Write
2016-01-25 10:34:15 -08:00
moozzyk
824acd1ace
Adding messages showing that the tool is running
2016-01-25 10:23:58 -08:00
moozzyk
bed9432275
Adding creating Azure specific configuration
2016-01-25 10:17:11 -08:00
moozzyk
674efca4de
Adding HttpPlatformHandler logging defaults to web.config
...
- writing a default path to log file if one does not exist
- setting stdoutLogEnabled to false if the attribute does not exist
2016-01-25 10:17:10 -08:00
Chris R
31f4b41a2e
Remove unused broken WebListener dependency.
2016-01-25 10:11:04 -08:00
Brennan
b74e26883e
React to Logging API changes
2016-01-25 09:50:09 -08:00
Brennan
3fce15bc6a
React to Logging API changes
2016-01-25 09:35:11 -08:00
Brennan
4e5c99fabc
React to Logging API changes
2016-01-25 09:32:41 -08:00
Brennan
2d2e71e2c8
React to Logging API changes
2016-01-25 09:29:39 -08:00
SteveSandersonMS
381b7b884e
Update to Angular 2 Beta 1. New bug: no longer waits for server-side HTTP requests to complete - waiting for info to resolve this.
2016-01-25 15:13:30 +00:00
David Fowler
a1aeb4313e
Remove unused dependency
...
- The authorization stack doesn't depend on AspNetCore at all really
2016-01-24 23:57:17 -08:00
Ryan Nowak
8b1bd343ba
Internal cleanup in ViewFeatures
2016-01-24 22:13:29 -08:00
Ryan Nowak
de3b33caf1
Internal cleanup in Razor
2016-01-24 21:50:33 -08:00
Chris R
3780a47528
Fix tests broken by renames.
2016-01-24 19:21:40 -08:00
Chris R
0c6a805405
#632 Save twitters access token secret as a claim.
2016-01-24 18:45:04 -08:00
Chris R
38de3d6013
#526 Change from storing expires_in to calculating expires_at.
2016-01-24 18:45:02 -08:00
Ryan Nowak
a276169693
Reorganize logging, move more types to internal
2016-01-24 17:24:34 -08:00
Ben Adams
3f414782b9
Remove spinning for blocked socket ops
...
As per https://github.com/dotnet/corefx/pull/5655
2016-01-24 14:49:25 +00:00
Stephen Halter
63e0ed8773
Use the new NuGet package location in LibuvCopier
2016-01-23 19:30:22 -08:00
Ben Adams
de34d14abb
WriteChunked immediate for large responses
2016-01-23 10:48:24 +00:00
Ben Adams
0ca8ca0328
Update FrameResponseStream Cancellation
2016-01-23 10:17:09 +00:00
Stephen Halter
735c0fbbef
Added new test to verify failed writes complete all pending write tasks
...
- Changed MockLibuv to never fall back to real libuv methods.
- Fixed EngineTests.ConnectionCanReadAndWrite
2016-01-23 10:17:07 +00:00
Ben Adams
e5238ff383
Only log connection error once
2016-01-23 10:17:06 +00:00
Ben Adams
cd621509d0
Complete all writes after error
2016-01-23 10:17:05 +00:00
Ben Adams
a97cb81f92
MockConnection Abort
2016-01-23 10:17:03 +00:00
Ben Adams
73bb0ab5b8
SocketOutput Cancellation handling
2016-01-23 10:17:02 +00:00
Cesar Blum Silveira
33ddbf8f4c
Set DOTNET_HOME correctly.
2016-01-22 19:30:04 -08:00
Nate McMaster
0348dffe26
Fix odd bug in globbing
2016-02-02 15:58:14 -08:00
Pavel Krymets
8854869d11
Add resx generation back
2016-02-02 12:19:53 -08:00
Victor Hurdugaci
d1672ffb5b
Update to the latest (floating) CLI
2016-02-01 13:58:34 -08:00
Victor Hurdugaci
5c8e9c9091
Skip runtime install flag
2016-01-29 15:43:02 -08:00
Victor Hurdugaci
9bb7768717
Build tests and samples
2016-01-27 20:19:31 -08:00
N. Taylor Mullen
72d1c49575
Update missing AspNetCore referrences.
2016-01-22 16:48:47 -08:00
Brennan
1db5233cac
Add missing packages
2016-01-22 16:07:05 -08:00
Brennan
a905276f4b
Remove old IIS
2016-01-22 15:58:22 -08:00
N. Taylor Mullen
25eb50120e
Update ASP.NET 5 versions for ASP.NET Core.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:40:26 -08:00
N. Taylor Mullen
a5b288897d
Update ASP.NET 5 versions for ASP.NET Core.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:39:16 -08:00
N. Taylor Mullen
342676925f
Update ASP.NET 5 versions for ASP.NET Core.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:39:12 -08:00
N. Taylor Mullen
c0d587e7c2
Rename AspNet 5 file contents.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:35:47 -08:00
N. Taylor Mullen
43dfd15a01
Rename AspNet 5 file contents.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:32:33 -08:00
N. Taylor Mullen
d61c6985b7
Update ASP.NET 5 versions for ASP.NET Core.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:29:04 -08:00
N. Taylor Mullen
c8a276e716
Update ASP.NET 5 versions for ASP.NET Core.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:28:48 -08:00
N. Taylor Mullen
ab34d08bc1
Update ASP.NET 5 versions for ASP.NET Core.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:28:45 -08:00