Commit Graph

40898 Commits

Author SHA1 Message Date
David Fowler ba5fe60cf5 Revert "Change PhysicalFileResult and VirtualFileResult to use SendFileAsync"
This reverts commit 5aa2e06305.
2015-12-31 16:17:53 -08:00
David Fowler 5aa2e06305 Change PhysicalFileResult and VirtualFileResult to use SendFileAsync
- SendFileAsync does the proper fallback to stream copy when the feature
isn't available. Take advantage of it in MVC. There are plans to use the
buffer pool as part of the stream copy so MVC will get that benefit for
free.
- Left CopyToAsync in SendFileAsync when the file doesn't have a
physical path
2015-12-31 15:28:50 -08:00
David Fowler 17615bef89 React to HttpAbstractions changes 2015-12-31 14:59:29 -08:00
David Fowler 4f8ec86b54 React to HttpAbstractions changes 2015-12-31 14:04:47 -08:00
Pranav K 2f66c041fd Remove long form Dispose
Fixes #3834
2015-12-31 13:52:21 -08:00
David Fowler e4e40033b1 React to HttpAbstractions changes 2015-12-31 13:39:39 -08:00
David Fowler 05c476d1b5 Merge pull request #526 from benaadams/generic-get+set
Move generic Get/Set into Interface
2015-12-31 12:49:55 -08:00
Ben Adams 62ec29b6af Move generic Get/Set into Interface 2015-12-31 20:18:24 +00:00
Pranav K 7d5a68b9ae Reacting to IHtmlContentBuilder changes 2015-12-31 11:52:26 -08:00
Eilon Lipton e88f90bba0 Add link to ASP.NET MVC Boilerplate 2015-12-31 11:41:12 -08:00
Pranav K 37eca627dd Rename TagHelperContent.Append(IHtmlContent` overload to be `TagHelperContent.AppendHtml(IHtmlContent)`
Fixes #634
2015-12-31 11:26:21 -08:00
Pranav K 984fe02eb8 Rename IHtmlContentBuilder.Append(IHtmlContent) to IHtmlContentBuilder.AppendHtml(IHtmlContent)
Fixes #4
2015-12-31 10:53:48 -08:00
Pranav K 28cc5a4517 Remove GetHtmlEncoder usage 2015-12-30 18:01:56 -08:00
Ryan Nowak 8f850f2a3e Remove dependency on Dictionary exception message
We shouldn't test framework error messages.
2015-12-30 17:52:35 -08:00
Stephen Halter 5296d89337 Merge branch 'benaadams/messagebody.for' into dev 2015-12-30 17:38:48 -08:00
Ryan Nowak 51564d04c0 Remove a test that tests Dictionary
This test is coupled to Dictionary<>'s error message. We don't need this.
2015-12-30 16:55:51 -08:00
Stephen Halter 072f2b1a20 Merge branch 'benaadams/valuetask' into dev 2015-12-30 16:51:48 -08:00
Thom Kiesewetter 36e9e8759a Optimize TakeFirst Line with Known method and Version 2015-12-31 01:24:59 +01:00
grehov a61a68defc Add support IEnumerable parameters for query string 2015-12-30 16:07:04 -08:00
Stephen Halter 364a712cb3 Merge branch 'lodejard/featurereferences' into dev 2015-12-30 15:35:08 -08:00
Ben Adams ea3e64ab87 Loop unrolled direct string inject 2015-12-30 23:09:59 +00:00
Nicholas Nelson 74961cac49 fix typo in log message HttContext.User merged...=>HttpContext.User merged 2015-12-30 16:50:42 -05:00
Kiran Challa 7a955bcbc0 FormatFilter overrides content type set explicitly by the developer 2015-12-30 13:20:56 -08:00
Cesar Blum Silveira 6fbb9a0cfe Cleanup: private embedded types and readonly where appropriate (#187). 2015-12-30 12:47:13 -08:00
Ben Adams f7ac457b40 Use ValueTask 2015-12-30 19:41:55 +00:00
Ben Adams 5c58d48272 Name KestrelThreads
Helps with debugging, profiling
2015-12-30 13:06:27 +00:00
Vincent Lainé 9bf861307c Rework the empty or space only filtering in Roles and Schemes 2015-12-30 12:04:00 +01:00
Pranav K aab051a20f Rename DictionaryBasedValueProvider to RouteValueProvider
Fixes #3629
2015-12-29 18:51:47 -08:00
Pranav K 46f64dfa20 * Remove EncoderServiceProviderExtensions 2015-12-29 18:39:39 -08:00
Pranav K 7e47449f85 Use default encoders all the time
Fixes #234
2015-12-29 16:49:06 -08:00
Cesar Blum Silveira 39a4e098d1 Merge branch 'benaadams/mono-keepalive' into dev 2015-12-29 15:22:48 -08:00
Pranav K 2b9dd76535 Make RazorViewEngineOptions.FileProvider a list instead of a single item
Fixes #3806
2015-12-29 14:47:15 -08:00
ryanbrandenburg f3855b9cf2 * Throw proper exception when missing resource 2015-12-29 14:13:20 -08:00
Pranav K e1aa888165 Allow optional quotes around tag helper directives
Fixes #636
2015-12-29 12:32:23 -08:00
Cesar Blum Silveira acc80bcbc5 Merge branch 'benaadams/take' into dev 2015-12-29 11:46:24 -08:00
Ryan Nowak d222900662 Optimize allocations in argument binder
This change avoids a state machine allocation and a dictionary allocation
on the common case (no bound properties). Ugly? You bet. Worth it? Yeah,
seems worthwhile.

This is worth about 200 bytes/request - about 3% of allocated bytes in a
smallish API scenario.
2015-12-29 09:26:59 -08:00
Ryan Nowak 0a9804056e Use System.Buffers for JSON.NET 2015-12-29 08:26:55 -08:00
Ryan Nowak 5ef839c855 Undo accidental adds to .sln 2015-12-29 07:56:20 -08:00
Thom Kiesewetter 8fdfef460a Faster unsafe pointers 2015-12-29 15:03:52 +01:00
David Fowler c827a90b8e Merge pull request #1200 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-12-29 07:28:22 -04:00
Ben Adams 80dc284407 Checked length 2015-12-29 08:52:05 +00:00
Pranav K 1a8d20fee5 Optimize allocations in UrlResolutionTagHelper
Fixes #3534
2015-12-28 18:07:13 -08:00
N. Taylor Mullen 90601ef853 Cleanup `Microsoft.AspNet.Server.IIS` usage. 2015-12-28 16:48:37 -08:00
Ben Adams 9019ac39ae Faster Take 2015-12-29 00:46:45 +00:00
Cesar Blum Silveira 0f389f01cb Merge branch 'benaadams/peek' into dev 2015-12-28 16:14:27 -08:00
Cesar Blum Silveira 1eeb0e380c Merge branch 'benaadams/generic-boxing' into dev 2015-12-28 15:46:30 -08:00
Ben Adams 982ab99b45 Make callback adapters readonly 2015-12-28 23:02:41 +00:00
Vincent Lainé 9a5da5861b Fix coding style and handle case where empty roles & schemes are empty 2015-12-28 23:57:42 +01:00
Ben Adams 4e9f8366cf Move stream reuse test to EngineTests 2015-12-28 22:36:28 +00:00
Murat Girgin 9240f4cf5d Added a link to the Roadmap 2015-12-28 14:04:05 -08:00