Commit Graph

40898 Commits

Author SHA1 Message Date
John Luo 96c9eb7dc6 Updating to new options pattern 2016-01-08 16:33:48 -08:00
Pavel Krymets 57bf12311b Revert DependencyContext changes untill dotnet-cli packages get sorted out 2016-01-08 15:59:53 -08:00
Stephen Halter 849ff2016c Use object.ReferenceEquals when comparing Actions in SocketInput 2016-01-08 15:40:07 -08:00
John Luo d8b6b27a5d Adding publish iis as a project and minor cleanup 2016-01-08 14:55:38 -08:00
Pavel Krymets b5c48de651 Forgotten files 2016-01-08 14:51:21 -08:00
Chris R 990e412326 Actually fix the AssemblyInfo 2016-01-08 14:47:40 -08:00
Chris R 139070df59 Fix AssemblyInfo for Security.Interop. 2016-01-08 14:25:50 -08:00
Pavel Krymets 566790577d Add dependency context fallback to razor view compilation 2016-01-08 13:43:52 -08:00
Kévin Chalet f4aafe04e0 Replace Microsoft.Owin.Security.Cookies.Interop by Microsoft.Owin.Security.Interop 2016-01-08 13:43:43 -08:00
Hao Kung 5bcc1bfc26 Also refresh expires/Issues when renewing cookie 2016-01-08 13:22:55 -08:00
Chris R 0f01399955 #123 Default headers to UTF8 2016-01-08 12:06:50 -08:00
Ajay Bhargav Baaskaran 0bb772a815 [Fixes #3755] Added logging for view compilation 2016-01-08 11:58:09 -08:00
John Luo c68f742dd0 Disabling hanging FlushPoint test 2016-01-08 11:56:31 -08:00
Cesar Blum Silveira 2ce28d8f13 Verify OnComplete is called when OnStarting isn't (#470). 2016-01-08 11:50:59 -08:00
Stephen Halter b63dd40efb Protect SocketInput against concurrent consumption 2016-01-08 11:14:15 -08:00
Stephen Halter f3a39d98da Merge branch 'benaadams/socket-input' into dev 2016-01-08 11:12:43 -08:00
Ajay Bhargav Baaskaran bf1fcf6b56 Return BadRequest response when antiforgery token validation fails 2016-01-08 10:35:00 -08:00
moozzyk ae61490092 publish-iis command 2016-01-08 10:29:40 -08:00
John Luo 8afe28c05d Updating tests to add options to services 2016-01-07 23:54:55 -08:00
David Fowler 6bc8384ea9 Small style cleanup 2016-01-07 20:52:54 -08:00
David Fowler ca8136b73c Compile middleware invoke method when extra args are provided
- Improves the performance when accessing scoped services in middleware
2016-01-07 20:39:04 -08:00
John Luo 982de18371 Updating tests to add options to services 2016-01-07 19:43:35 -08:00
John Luo c0800bea9f Remove redundant AddOptions which is now a default hosting service 2016-01-07 18:46:10 -08:00
John Luo 5c2bdc8923 Updating to new options pattern 2016-01-07 18:26:38 -08:00
John Luo c742390a3c Remove redundant AddOptions which is now a default hosting service 2016-01-07 17:45:36 -08:00
John Luo 5bf58a08e9 Remove redundant AddOptions which is now a default hosting service 2016-01-07 17:26:50 -08:00
John Luo cd813844a0 Updating to new options pattern 2016-01-07 16:37:39 -08:00
John Luo 2c7f0ff35d Remove IncludedConfigurationProvider since it's been added to Configuration repo 2016-01-07 15:19:41 -08:00
Ajay Bhargav Baaskaran 80fa2908bd Throwing custom AntiforgeryException for token validation failure scenarios 2016-01-07 15:12:55 -08:00
Ryan Nowak c304984a8d Fix #3501 - Issues with Flush
Calling Flush[Async]() on the writer will NOT flush the stream.
Calling Flush[Async]() in Razor will flush both the writer and the stream.

Our normal flow will be to flush the writer, but not the stream. This
avoids chunking, but allows us to do a WriteAsync on the stream as part of
the call to FlushAsync. This is done to avoid a synchronous write due to
Dispose calling Flush on the writer, which needs to call Write on the
stream.

See issue for extensive background.
2016-01-07 14:52:22 -08:00
Victor Hurdugaci e7bf0e71bb Build with dotnet 2016-01-07 14:22:25 -08:00
Hao Kung 167bb54c8d Make IHttpContextAccessor Optional 2016-01-07 14:21:31 -08:00
John Luo 07785c9ae0 Reacting to new hosting API 2016-01-07 13:55:41 -08:00
John Luo d1a0edb87e Updating to new options pattern 2016-01-07 13:45:40 -08:00
Ryan Nowak 676bde29b9 Make Begin[Route]Form include antiforgery 2016-01-07 13:24:01 -08:00
John Luo b826491234 Reacting to new hosting API 2016-01-07 11:54:27 -08:00
N. Taylor Mullen 2b83dbb52e Make `ExpressionRewriter` more resilient to unconvertible types.
#3825
2016-01-07 11:41:14 -08:00
Pranav K dc878f2777 Capture exceptions thrown during compilation
Fixes #3870
2016-01-07 11:21:45 -08:00
Ryan Nowak ff00c07b85 Rename ActionDescriptorsCollection
ActionDescriptorsCollection -> ActionDescriptorCollection
2016-01-07 10:26:12 -08:00
ryanbrandenburg b942e96216 * Fix LoggingExtension Naming 2016-01-07 10:03:07 -08:00
Pranav K 9168cd1f37 Optimize allocations in Script/Link TagHelpers
Fixes #3618
2016-01-07 09:56:24 -08:00
Victor Hurdugaci d113f7edc9 Build with dotnet 2016-01-07 09:49:14 -08:00
David Fowler 294e16732f Move default config to Hosting.Abstractions 2016-01-07 07:49:29 -08:00
SteveSandersonMS f44b84f2ab Bump SpaServices version to alpha7-1 to avoid conflict on NuGet 2016-01-07 11:51:55 +00:00
David Fowler e72924796e More hosting API changes
- Added IWebApplicationBuilder and moved it to Hosting.Abstractions as a
target for others to extend the web application builder.
- Made methods extension methods where possible
- Added UseUrls
2016-01-06 21:09:33 -08:00
N. Taylor Mullen 605dceea02 Change string rendering to be chunked.
- Roslyn currently has an issue where too large of strings result in out of memory exceptions at compile time. To combat this I broke down literal strings into 1024 length pieces each resulting in their own `WriteLiteral`/`WriteLiteralTo` calls. The 1024 number corresponds directly with MVCs response string buffer.
- Added tests to validate large string rendering.

#614
2016-01-06 16:21:32 -08:00
Victor Hurdugaci dba3e55c0a Update the templates 2016-01-06 16:02:05 -08:00
Henk Mollema b4b5f07a08 Detect mono using PlatformAbstractions 2016-01-07 00:48:36 +01:00
Henk Mollema db11368d26 Remove StandardsPoliceCompileModule usage
Just a test - this seems to fix the build
2016-01-07 00:35:51 +01:00
Henk Mollema e81c5adce2 Change #ifdefs 2016-01-07 00:35:50 +01:00