Hao Kung
8a2694dd46
React to AuthZ namespace changes
2015-10-21 16:48:07 -07:00
Ryan Nowak
38b65875db
Refactor of OutputFormattterContext
2015-10-20 18:05:57 -07:00
Kirthi Krishnamraju
82cba7c0b2
react to aspnet/localization #90
2015-10-19 16:15:57 -07:00
Ajay Bhargav Baaskaran
6bd97c7c30
Moving AllowAnonymous attribute to Authorization
2015-10-19 11:01:15 -07:00
Kiran Challa
fbf66168fe
React to Cors api review changes
2015-10-15 13:05:08 -07:00
Hao Kung
fd17481a73
React to AuthZ changes
2015-10-14 17:04:31 -07:00
Pranav K
2dcec8fe51
React to Kestrel package rename
...
Fixes #3323
2015-10-14 16:39:13 -07:00
Ajay Bhargav Baaskaran
d40e6612a4
Moving the order of generated hidden tags for checkbox to end of the form
...
- #2994
- Affects both HtmlHelper and TagHelper scenarios
- Checkboxes not enclosed in a form will generate inline hidden tags
- Added necessary properties to FormContext
- Added some functional and unit tests
2015-10-14 15:43:13 -07:00
Pranav K
0309a5216c
Add an option to RazorPrecompileModule to allow conditional compilation
...
based on Configuration.
Fixes #3276
2015-10-12 11:59:55 -07:00
Doug Bunting
35d176f5b2
Update DNX Core on Linux workarounds
...
- remove skip conditions for aspnet/External#33 , aspnet/External#41 , aspnet/External#42 , aspnet/External#43
- add workaround for aspnet/External#47 ; avoid "g" custom datetime format specifier
- make tag helper execution order determinate in `TagHelpersWebSite`
Will test DNX Core in Travis builds (use `--test-dnxcore`) once aspnet/Universe#290 fix is in.
nits:
- remove useless `using`s for `Microsoft.AspNet.Razor.TagHelpers`
2015-10-10 23:09:51 -07:00
Pranav K
18912b9530
Removing NotNullAttribute.Sources references that were left behind
2015-10-06 17:36:46 -07:00
Pranav K
f57e180971
Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
2015-10-03 15:44:53 -07:00
Pranav K
8d7b95655d
Removing Autofac dependency
2015-10-03 12:18:19 -07:00
Kiran Challa
eef6c3883a
Renamed PhysicalFileProviderResult and VirtualFileProviderResult to PhysicalFileResult and VirtualFileResult respectively
2015-10-01 19:57:35 -07:00
Pranav K
18c80d156c
Replace NotNullAttribute with thrown exceptions
2015-09-26 23:48:43 -07:00
Ryan Nowak
8a502dbe5d
Rewrite of validation
2015-09-25 16:56:42 -07:00
Kirthi Krishnamraju
0889b18f95
Add localizers to validation attributes
2015-09-25 16:13:21 -07:00
Ajay Bhargav Baaskaran
9c81b95d1b
Renamed Controller.Context to Controller.HttpContext
...
- #3165
2015-09-25 11:01:30 -07:00
Kirthi Krishnamraju
ed509f65a2
fix #2747 : Fix Mvc localization test once dnx support reading resources
2015-09-24 12:53:20 -07:00
Pranav K
89f58aa49f
Allow @model specified in a page work with @inherits directive in
...
_ViewImports
Fixes #3144
2015-09-23 12:10:10 -07:00
Ryan Nowak
80add92de8
React to removal of TagHelperContent.ToString()
...
Avoid calling ToString on a TagHelperContent.
Also react to new properties on TagHelperCodeGenerationContext
2015-09-23 11:09:27 -07:00
Pranav K
1574637a6a
Reacting to Microsoft.AspNet.Cors version change
2015-09-22 11:26:04 -07:00
Pranav K
9eb2c5b810
Reacting to IExpirationTrigger -> IChangeToken rename
2015-09-22 08:14:34 -07:00
Ryan Nowak
a318c4599a
API Review - Split up .Actions
...
Abstractions - Core MVC extensibility
Controllers - MVC implementations of .Abstractions and supporting
contracts
Infrastructure - General purpose support APIs. Metadata APIs that don't
fit clearly with a feature or with .Abstraction
2015-09-21 21:54:02 -07:00
Pranav K
f045c6792b
Allow _ViewImports to remove default inherited tag helpers.
...
Additionally simplifying the contract for
ChunkInheritaceUtility\IChunkMerger so we don't have to understand the
order in which CodeTrees appear.
2015-09-21 14:53:24 -07:00
Pranav K
66a04c2fd6
Replacing NotNullAttribute with thrown exceptions
2015-09-21 10:26:14 -07:00
Doug Bunting
c67ea208b2
[quick fix] Remove `version` property from `project.json` for LoggingWebSite
...
- avoid warning when building Microsoft.AspNet.Mvc.FunctionalTests project
- now consistent w/ other web sites in this repo
- all but MvcMinimalSample.Web and that isn't used in functional tests
2015-09-20 21:38:08 -07:00
Ryan Nowak
4d55a6e62d
API review - remove DefaultOrder
...
No change in behavior intended, removing this from our public API.
2015-09-20 21:11:57 -07:00
Doug Bunting
42017faa21
Add `InputFormatterResult` and `InputFormatterContext.ModelName`
...
- #2722
- make communication of errors from formatters to `BodyModelBinder` explicit
- `JsonInputFormatter` now adds errors to `ModelStateDictionary` with correct key
- change `InputFormatter.SelectCharacterEncoding()` to add an error and return `null` when it fails
- one less `Exception` case and removes some duplicate code
nits:
- improve some doc comments (more `<inheritdoc/>`, `<paramref/>` and `<see/>`)
- add another two `BodyValidationIntegrationTests` tests
2015-09-19 21:36:38 -07:00
Ryan Nowak
538cd9c191
Move less-commonly used types out of .Rendering
2015-09-16 23:52:29 -07:00
Ryan Nowak
046cb976b3
Move ActionResult classes back to main namespace
2015-09-16 21:42:31 -07:00
Ryan Nowak
a707311d9e
Fix #3087 - use IHtmlContentBuilder in TagBuilder
...
Improves authoring experience when using TagBuilder by taking advantage of
IHtmlContentBuilder an its extension methods.
TagBuilder.InnerHtml is no longer settable.
2015-09-16 10:03:03 -07:00
Kiran Challa
c79469c3b3
React to Cors api changes
2015-09-14 11:21:40 -07:00
N. Taylor Mullen
93735a5be6
React to Razor `TargetElementAttribute` rename.
...
aspnet/Razor#516
2015-09-13 19:14:30 -07:00
Ryan Nowak
94388a8804
React to BufferedHtmlContent changes
2015-09-13 13:51:53 -07:00
Kiran Challa
62c0eb3f02
React to errorhandler and errorpage extension name changes
2015-09-10 12:30:16 -07:00
Pranav K
2e32ffc004
Use PrecompilationTagHelperTypeResolver to locate TagHelpers during
...
precompilation.
Fixes #2298
2015-09-09 18:25:11 -07:00
Ryan Nowak
a6aaef0d63
Optimize async code in model binders
...
Optimize the 'no-op' path for our model binders to return a cached task
where possible without going async.
2015-09-08 09:42:34 -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
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
6333c12d77
Fix test websites
2015-09-02 20:11:05 -07:00
Ryan Nowak
229724c4ea
Reorganize MVC namespaces
2015-09-01 22:28:33 -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
Chris R
f2db0d1483
React to string[] -> StringValues changes.
2015-08-28 16:36:19 -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
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
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