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
Henk Mollema
97a5149dd9
Remove dnx451 and dnxcore50 TFM's
2016-01-07 00:35:49 +01:00
ryanbrandenburg
6e8b2ecd63
* Switch to new logging style
2016-01-06 15:07:46 -08:00
Victor Hurdugaci
4a9990a83c
Build with dotnet
2016-01-06 14:28:39 -08:00
Brennan
54ae0b9296
Unsource CommandLineUtils
2016-01-06 13:19:33 -08:00
Stephen Halter
ffd950966e
Merge branch 'benaadams/string-construct' into dev
2016-01-06 12:14:15 -08:00
Victor Hurdugaci
7a19d9a9a9
Build instead of compile for samples
2016-01-06 09:56:25 -08:00
ryanbrandenburg
a281b2e369
* Add functional tests for sample
2016-01-06 09:37:15 -08:00
Ryan Nowak
a500a93dfb
Smarter antiforgery
...
Adds the concept of an IAntiforgeryPolicy marker interface as well as
the ability to overide policy with a 'closer' filter.
Adds a new [IgnoreAntiforgeryToken] attribute for overriding a scoped
antiforgery policy.
Adds a new [AutoValidateAntiforgeryToken] attribute (good name tbd) for
applying an application-wide antiforgery token. The idea is that you can
configure this as a global filter if your site is acting as a pure
browser-based or 1st party SPA. This new attribute only validates the
token for unsafe HTTP methods, so you can apply it broadly.
2016-01-05 17:24:33 -08:00
Hao Kung
01e9616828
React to security changes
2016-01-05 16:22:48 -08:00
Chris R
d46de60542
Remove dnx451 and dnxcore50 targets. Reduce Hosting dependency.
2016-01-05 16:11:09 -08:00
Hao Kung
7a23028527
Switch to AuthenticationTicket in OAuth event
2016-01-05 15:46:58 -08:00
Chris R
2a939287bc
Merge pull request #636 from npnelson/dev
...
Fix Typo in a Log Message
2016-01-05 15:27:47 -08:00
Hao Kung
3257a82367
Expose AuthenticationProperties in events
2016-01-05 14:32:31 -08:00
Stephen Halter
c4605bea20
Merge branch 'benaadams/pendingwrites' into dev
2016-01-05 12:57:23 -08:00
Stephen Halter
b1a4e8cd1e
Merge branch 'anderman/faster-unsafe' into dev
2016-01-05 12:33:14 -08:00
Stephen Halter
48233cd081
Merge branch 'benaadams/memorypool-seek' into dev
2016-01-05 12:09:04 -08:00
Ben Adams
bc19a07291
ifdef comments on own line
2016-01-05 12:08:39 -08:00
ryanbrandenburg
886c33f200
* Remove libraries from RuntimeInfoMiddleware
2016-01-05 12:06:07 -08:00
N. Taylor Mullen
33d32cecd9
Remove unused parameter from `TagHelperDesignTimeDescriptorFactory`.
...
#629
2016-01-05 12:05:41 -08:00