Scott Addie
92afcaa9f7
Fix small issues in Mvc.js
2015-10-26 10:52:43 -07:00
あまみや ゆうこ
b5bfdde194
remove Microsoft.AspNet.Server.IIS from sample
2015-10-25 01:17:57 +08:00
Pranav K
0fedda5855
Allow enums to be serialized by SessionStateTempDataProvider
...
Fixes #3141
2015-10-24 08:16:19 -07:00
あまみや ゆうこ
38818a1033
Remove Microsoft.AspNet.Server.IIS from test Websites
2015-10-24 08:04:00 -07:00
Ryan Nowak
ec2abc8ae0
Add logging of elapsed time for the action.
2015-10-23 15:35:31 -07:00
Ryan Nowak
cea8d019f1
Add logging and scope for ViewComponent
2015-10-23 15:25:00 -07:00
Ajay Bhargav Baaskaran
eb398c811d
Added LocalRedirectresult
...
- Fixes #3346
- Added helper method in controller
- Added relevant tests
2015-10-23 12:58:41 -07:00
Ajay Bhargav Baaskaran
b6d7012c27
[ Fixes #3279 ] Added DiagnosticSource for filters
2015-10-23 12:53:00 -07:00
Ajay Bhargav Baaskaran
624c918de5
[ Fixes #3274 ] Added DiagnosticsSource for ViewComponent
2015-10-23 12:51:12 -07:00
Ryan Nowak
bcde82cf62
Use buffer pooling in IOutputFormatters
2015-10-23 08:10:30 -07:00
Kirthi Krishnamraju
9658060019
React to aspnet/Localization#111
2015-10-23 01:47:29 -07:00
Pavel Krymets
4e8c543489
Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions
2015-10-22 19:48:55 -07:00
ryanbrandenburg
0b8fe87596
* Allow null ViewData and TempData
2015-10-22 17:28:26 -07:00
N. Taylor Mullen
911dfc57b0
Transition `SelectTagHelper` and `OptionTagHelper` to use `context.Items`.
...
- Added functional tests to validate data created from a `SelectTagHelper` does not impact following `<select>` tags.
- Also moved the new `SelectTagHelper` communication flow into `TagHelper.Init`.
#3347
2015-10-22 17:17:01 -07:00
Doug Bunting
c267ef3904
Rename `AppendEncoded()` to `AppendHtml()` and `SetContentEncoded()` to `SetHtmlContent()`
...
- #3225 , 3 of 3
2015-10-22 16:57:47 -07:00
N. Taylor Mullen
2b9dae572e
Fixed test build break.
2015-10-22 16:45:33 -07:00
N. Taylor Mullen
faa78a3d91
Transition from `IAssemblyLoadContext` to `AssemblyLoadContext`.
...
- `IAssemblyLoadContext` is a DNX defined type that will eventually go away.
#3365
2015-10-22 16:15:10 -07:00
N. Taylor Mullen
493a556168
Fixed xml docs build error.
2015-10-22 16:11:17 -07:00
Doug Bunting
40b7636b72
Use `ModelMetadata.GetDisplayName()` in error message replacing `FormatException` and `OverflowException`
...
- #3227
- much of change is to tests, creating and passing `ModelMetadata`
- updated `InputFormatterContext` to make `ModelMetadata` available to `JsonInputFormatter`
- walk `ModelMetadata` tree to get information about property with an issue
- add missing `null` checks in `ModelStateDictionaryExtensions`
2015-10-22 15:50:36 -07:00
N. Taylor Mullen
9b9d72f3f7
Remove unneeded namespaces.
...
aspnet/Razor#578
2015-10-22 15:34:40 -07:00
N. Taylor Mullen
0ae83a25e9
React to aspnet/Razor#571 .
...
- Changed all `GetChildContentAsync` calls to come from `TagHelperOutput` instead of `TagHelperContext`.
- Updated `ReaderAtEndOfFormTagHelper` to properly detect changes inside of a `Form`s body by calling the `Init` method.
- Add test to `RenderAtEndOfFormTagHelperTest`.
aspnet/Razor#571
2015-10-22 14:51:14 -07:00
N. Taylor Mullen
0e25470660
React to aspnet/Razor#578 .
2015-10-22 14:41:40 -07:00
Henk Mollema
34d4dfdef8
Rename Context to HttpContext in ViewComponent and RazorPage
...
Rename the property to `HttpContext` to be consistent with the `Controller` class.
Fixes #3332
2015-10-22 14:39:55 -07:00
Pavel Krymets
11043cfda2
Remove another usage of CallContextServiceLocator
2015-10-22 14:12:52 -07:00
Pavel Krymets
84bfb8da3b
Remove CallContextServiceLocator usages in tests
2015-10-22 12:15:48 -07:00
N. Taylor Mullen
8623946784
Add compilation services when adding Razor.
...
#3383
2015-10-22 11:49:02 -07:00
Ryan Nowak
f2af02b1cb
Improve logging behavior for actions scope
2015-10-22 11:23:04 -07:00
Ryan Nowak
dcec94f6d9
Change ActionMethodExecuted to be Verbose
2015-10-22 10:21:36 -07:00
Chris R
5fd7d58ccd
React to IHostingEnvironment initialization changes.
2015-10-22 08:39:16 -07:00
Pranav K
91aeec95e9
Switching to generations TFMs
2015-10-22 01:20:00 -07:00
Hao Kung
8a2694dd46
React to AuthZ namespace changes
2015-10-21 16:48:07 -07:00
ryanbrandenburg
da731fc641
Add logging to ActionResults and ControllerActionInvoker
2015-10-21 13:16:14 -07:00
Pavel Krymets
5bb9759166
react to dnx di changes
2015-10-21 11:43:39 -07:00
Ryan Nowak
1474ed8fe8
Fix breaks to xml docs
2015-10-20 23:31:02 -07:00
Ryan Nowak
3576939457
Fix break in XmlSerializerOutputFormatter tests
...
The wrong type is being passed in to the wrapper-provider for
XmlSerializer. DCS formatter is already correct.
2015-10-20 22:25:56 -07:00
Ryan Nowak
800e46eed4
Fix failures in StringOutputFormatter functional tests
...
The missing piece here is is that StringOutputFormatter needs to set the
ContentType so that it gets overridden. The problem is that the formatter
is likely called with something like application/json, but decides to
write a string anyway. So because we're saying 'yes we can write' we also
need to override what we're writing.
2015-10-20 22:12:21 -07:00
Eilon Lipton
55b72c04bf
Add high-pri doc comments for views, controllers, HTML helpers, Startup
2015-10-20 18:24:56 -07:00
Ryan Nowak
38b65875db
Refactor of OutputFormattterContext
2015-10-20 18:05:57 -07:00
Ryan Nowak
d584bcabcf
React to changes in Authz
2015-10-20 17:45:02 -07:00
Pranav K
8b0c157296
Rename ModelState (the type) -> ModelStateEntry
...
Fixes #3326
2015-10-20 16:43:00 -07:00
Ryan Nowak
173f00fda7
Update to use DiagnosticSource
2015-10-20 11:47:29 -07:00
Ryan Nowak
054b39013c
Reduce allocations in MSD enumeration
2015-10-20 10:35:16 -07:00
Ryan Nowak
6985015e2d
Fix test breaks in WebAPI shim
...
This hasn't hit universe yet, but these needed to change with the
ObjectResult refactor
2015-10-19 18:00:02 -07:00
Kirthi Krishnamraju
82cba7c0b2
react to aspnet/localization #90
2015-10-19 16:15:57 -07:00
Ryan Nowak
06cc58663e
Move implementation of ObjectResult into a facade
2015-10-19 11:56:03 -07:00
Ajay Bhargav Baaskaran
6bd97c7c30
Moving AllowAnonymous attribute to Authorization
2015-10-19 11:01:15 -07:00
Pranav K
f4a6d634b5
Modify ViewStartUtility to generate always view paths with forward slashes
...
Fixes #3294
2015-10-19 10:33:05 -07:00
N. Taylor Mullen
e943cdb57a
React to aspnet/Razor#569
2015-10-16 15:09:31 -07:00
unknown
6a4da5d795
PhysicalFileResult throws NotSupported on path not rooted
2015-10-16 13:31:52 -07:00
Ryan Nowak
32645e93c8
Add expression rewriting to Razor
...
This change rewrites simple and safe Expression<Func<T, U>> expressions
into accesses to readonly fields. This allows us to cache the actual
expression and avoid repeatedly allocating and compiling it.
The rewrite is limited to cases where we know that the expression doesn't
capture, and where we support that kind of expression for evaluating
viewdata. In practice this means 'indentity' and property accessors are
allowed.
2015-10-16 12:28:50 -07:00