Ryan Nowak
ab08e27a4b
Simplify CompositeModelBinder
...
Also adds a diagnostic ToString to ModelBindingResult to make testing
easier.
2015-09-08 08:47:21 -07:00
Ryan Nowak
382c9ab86a
Test Cleanup: Fix Assert.NotNulls with ModelBindingResult
2015-09-07 17:15:31 -07:00
Ryan Nowak
465b4ce0df
Use TelemetrySource
2015-09-06 20:23:05 -07:00
David Fowler
2834b70987
Added frameworks to project.json
2015-09-05 11:03:00 -07:00
Doug Bunting
dc4573e484
Get four failing tests working on Linux
...
- use consistent line endings on all platforms so that hashes and file versions match
- add another `.gitattribute` file
- move files to avoid required index recreation in all Linux repos
2015-09-04 14:41:35 -07:00
Ryan Nowak
5afadf6998
Fix documentation error
2015-09-03 17:11:47 -07:00
N. Taylor Mullen
ffc863532a
Update end column in test after Razor error changes.
2015-09-03 16:53:52 -07:00
N. Taylor Mullen
9169a156e2
Update additional tests to account for new error lengths.
2015-09-03 15:21:00 -07:00
Ryan Nowak
076ce6a8a1
Make ModelBindingResult a struct.
2015-09-03 12:52:50 -07:00
Hao Kung
2b52942faf
React to Named Options going away in Auth test
2015-09-02 21:54:10 -07:00
Hao Kung
b34dd3b812
Remove options order test cases
2015-09-02 21:41:54 -07:00
Hao Kung
e4fe31a602
Nuke extra curly
2015-09-02 21:21:41 -07:00
Hao Kung
a786eaa9e4
Resolve merge issue
2015-09-02 21:10:43 -07:00
Hao Kung
043476192f
Disable Options order functional test
2015-09-02 20:53:30 -07:00
Hao Kung
6333c12d77
Fix test websites
2015-09-02 20:11:05 -07:00
Hao Kung
77d9b41e48
Fix merge issue
2015-09-02 17:49:18 -07:00
Hao Kung
76dceaef76
Fix build breaks
2015-09-02 16:22:02 -07:00
Hao Kung
bc2bce8bd6
Curly's are important
2015-09-02 16:14:25 -07:00
N. Taylor Mullen
1d865afe7f
React to Razor error length change.
...
aspnet/Razor#386
2015-09-02 15:38:18 -07:00
N. Taylor Mullen
4fb2053f34
Update project.json to have warningsAsErrors accept a bool.
2015-09-02 15:35:13 -07:00
Hao Kung
089abed3ca
Delete reintroduced merge file
2015-09-02 15:10:39 -07:00
Hao Kung
8e57fa5350
React to options
2015-09-02 15:07:16 -07:00
Hao Kung
3ebdcc5f6f
React to options changes
2015-09-02 14:07:06 -07:00
Sebastien Ros
dd94d54e1d
[ Fixes #2929 ] Moving IsLocalUrl implementation to UrlHelper
2015-09-02 09:30:26 -07:00
Kiran Challa
a0e0df87de
[ Fixes #3016 ] Disable response buffering in places where the content is already built/available
2015-09-02 09:22:36 -07:00
Kirthi Krishnamraju
7a3f34089f
fix build break due to dnx resource change
2015-09-01 23:31:09 -07:00
Ryan Nowak
229724c4ea
Reorganize MVC namespaces
2015-09-01 22:28:33 -07:00
Daniel Lo Nigro
a2e53e8d1a
Explicitly check if URI is file when checking for an absolute URI
2015-09-01 16:33:00 -07:00
Ben Adams
55fc7ded36
Don't invoke async state machine unnecessarily
...
Return task rather than awaiting when no extra work needs to be done
after await
2015-08-31 17:48:57 -07:00
Ryan Nowak
98b3f055e1
Change ModelBinding to use a single pass
2015-08-31 11:58:53 -07:00
Pranav K
8a33972c09
RazorViewEngine should cache transformed paths when view cannot be found
...
Fixes #3034
2015-08-31 10:36:57 -07:00
Kiran Challa
e12d44b40a
[ Fixes #2900 ] Get rid of manual body-read-state-tracking
2015-08-31 10:34:42 -07:00
Chris R
dd737ce946
Use new HttpContext.Features API.
2015-08-31 09:19:14 -07:00
Ryan Nowak
66a7c2e389
Revert "Enabling ViewEngine and Localization tests which use expanders. The issues are fixed in the mono beta 4.0.4."
...
This reverts commit 9915ea3809 .
2015-08-31 08:55:31 -07:00
Ryan Nowak
dadee80aa8
Add FieldName to model binding context
...
Adds a new property, FieldName, to ModelBindingContext. The FieldName is
the name of whatever code-element is being bound, regardless of what
model-prefix is in use.
This is needed for cases like the Header model binder. We always want to
use the property/parameter name and we don't care about model prefixes.
2015-08-31 08:10:03 -07:00
Chris R
e0e2ff6825
Fix doc comment error.
2015-08-30 19:43:51 -07:00
sornaks
9915ea3809
Enabling ViewEngine and Localization tests which use expanders. The issues are fixed in the mono beta 4.0.4.
2015-08-29 16:55:14 -07:00
Chris R
f2db0d1483
React to string[] -> StringValues changes.
2015-08-28 16:36:19 -07:00
Pranav K
a2d58ba4ea
Reacting to globbing changes
2015-08-28 12:50:29 -07:00
Sornakumar Sundararajan
e8043f92e5
Issue #2757 - Adding Order to exception filters so that they are executed in the same order irrespective of the platform.
2015-08-28 11:22:11 -07:00
Ajay Bhargav Baaskaran
4fbaea2463
[ Fixes #2931 ] AttributeRoute does not replace existing route values with null
2015-08-28 11:11:03 -07:00
Pranav K
c0d4981452
* Avoid lazyily evaluating IRazorCompilationService in
...
VirtualPathRazorPageFactory
* Cleanup comments on the lifetime of Razor services.
2015-08-27 17:08:18 -07:00
sornaks
ddc74e5396
Issue #2727 - Introducing PhysicalFilePathResult and VirtualFilePathResult instead of FilePathResult to handle app and physical file system paths separately.
2015-08-27 10:23:23 -07:00
Ryan Nowak
d74e81186b
Use a copy on write list for items in Resource Filters
...
We allocate a separate list for model-binding related objects when we
create the resource filter contexts, and these lists then live the
lifetime of the request. These *may* be modified by user code in
filters as a supported feature, but rarely are changed in practice.
This change adds a simple CopyOnWriteList implementation to reduce the
amount of copying that's actually done.
2015-08-26 13:29:38 -07:00
N. Taylor Mullen
581d738732
Try beta
2015-08-26 12:52:30 -07:00
N. Taylor Mullen
0d9d01381c
Test
2015-08-26 12:51:19 -07:00
N. Taylor Mullen
53b72f65f4
Force mono to specific version.
...
- Mono just pushed a change to their alpha feed that looks to have broken several MVC tests. As an interim fix specifying the version will ensure MVC builds on travis.
2015-08-26 12:48:35 -07:00
Pranav K
6615972162
Adding System.Text.Encoding to project.json to unblock CI
2015-08-26 10:11:27 -07:00
N. Taylor Mullen
cc5c0d6cbe
Update `HelperResult` to take in an async func.
...
- The corresponding Razor change results in `HelperResult`s being rendered with async lambdas.
- This change enables `TagHelper`s and other async code to exist inside of `HelperResult` blocks.
- Added test to validate Templates (they generate `HelperResult`s) can utilize `TagHelper`s correctly.
- Rename `RazorPage`s `RenderBodyDelegate` to `RenderBodyDelegateAsync`.
aspnet/Razor#494
2015-08-25 22:37:17 -07:00
Pranav K
3041dee86d
Modify RazorPreCompileModule to use an instance of memory cache specific
...
to the application's target framework and configuration.
2015-08-25 22:26:16 -07:00