Ryan Nowak
7bd297c395
Remove unused field
2016-05-11 16:48:55 -07:00
Kiran Challa
3c2bdfd368
Merge branch 'release' into dev
2016-05-03 12:29:33 -07:00
Doug Bunting
e3db547011
Add `[Remote(routeName : "name")]` tests
...
- relates to #4445
- also relates to #4309 / fb07fee though restored and renamed files are slightly different
- latest Unobtrusive version; copy just one file under `wwwroot`
- add JavaScript file and CDN links to enable manual testing of `[Remote]` tests in `BasicWebSite`
- include renamed files for recreating the minimized JavaScript file manually
2016-05-03 12:25:00 -07:00
Kristian Hellang
f4679fe74f
Changed RequireHttpsAttribute to default to 302 instead of 301
2016-05-03 12:11:18 -07:00
Pranav K
3d494fd732
Merge branch 'release' into dev
2016-05-02 14:58:54 -07:00
Pranav K
36146a6139
Fix build warnings
2016-05-02 14:52:02 -07:00
Doug Bunting
f05f6d5bd2
Quick fix: Simplify `OrderUsingHtmlHelpers.cshtml` layout
...
- intent was to make HTML helper output close to the tag helper output but source got over-complicated
- the output files for `Order.cshtml` and `OrderUsingHtmlHelpers.cshtml` now differ only in attribute order
- i.e. HTML helpers output attribute alphabetically while tag helpers output them in order added
2016-05-02 12:55:11 -07:00
Pranav K
92408a5c22
Move samples to Entropy
...
Partial fix to #4449
2016-05-02 10:06:17 -07:00
jacalvar
4d02a03658
Merge branch 'release' into dev
2016-04-30 16:21:38 -07:00
jacalvar
4d198f3d8f
React to changes in razor tooling
2016-04-30 15:37:37 -07:00
Pranav K
0ff2f875d9
Avoid holding on to DependencyContext instance
...
Fixes #4527
2016-04-29 14:44:55 -07:00
Stan
30ace9f35a
[ Fixes #4520 ] Fix typo in controller filename ( #4532 )
2016-04-28 12:06:11 -07:00
BrennanConroy
fbd7110da0
Merge branch 'release' into dev
2016-04-27 18:38:50 -07:00
BrennanConroy
df7be69e85
Remove references to UseDefaultHostConfiguration
2016-04-27 18:38:34 -07:00
Ajay Bhargav Baaskaran
e74aa54d95
React to aspnet/Razor#738
2016-04-27 16:54:16 -07:00
Doug Bunting
d8d2e54506
Remove extra options to manipulate `JsonSerializerSettings`
...
- #4339 : remove non-recommended JSON formatter constructors
- affects `JsonInputFormatter`, `JsonOutputFormatter`, `JsonPatchInputFormatter`
- `JsonOutputFormatter` cleanup also impacts `JsonHelper`
- rename and make `SerializerSettingsProvider` class public; use it as appropriate
- #4409 : make `SerializerSetings` properties get-only and `protected`
- affects `JsonInputFormatter`, `JsonOutputFormatter`
Recommended patterns:
- change `JsonSerializerSettings` values in `MvcJsonOptions` for almost all customizations
- find `JsonOutputFormatter` in `MvcOptions.OutputFormatters` when limiting per-result formatters
- start with `JsonSerializerSettingsProvider.CreateSerializerSettings()` when customizing a per-result formatter
2016-04-27 14:48:16 -07:00
Ryan Brandenburg
39f4b1fd91
Merge remote-tracking branch 'origin/release' into rybrande/dev
2016-04-26 10:18:48 -07:00
mnltejaswini
0788edbd4b
[Perf] Cache the metadata for known type "object"
...
Fixes #4377
2016-04-25 13:03:52 -07:00
ryanbrandenburg
e915f36748
Update samples and test sites to new formats
2016-04-25 12:09:40 -07:00
Ryan Nowak
756cd2dab8
Remove OperationBindingContext
...
This change trims a few concepts that aren't really needed inside
ModelBinders anymore, and removes the OperationBindingContext class.
2016-04-25 09:29:03 -07:00
Kiran Challa
4e8e30437f
Merge branch 'release' into dev
2016-04-23 06:57:08 -07:00
Ryan Nowak
af58c2e6b6
Streamlining action selection and route values
...
Removes a few concepts we don't need
Improves documentation
More things are IDictionary instead of other random types
2016-04-22 17:36:23 -07:00
Kiran Challa
a259638d79
Filters provided by filter providers are made to never be cached
...
[Fixes #4504 ] Possible double-execution of filter providers
2016-04-22 16:56:08 -07:00
BrennanConroy
74a74fb3a8
Merge branch 'release' into dev
2016-04-22 14:09:01 -07:00
BrennanConroy
967001f923
Add publish-iis and fix web.config
2016-04-22 14:07:38 -07:00
mnltejaswini
f1fe5e26fc
[Perf] RazorPage.CreateModelExpression is allocating expression names
...
Fixes #4469
2016-04-22 12:55:28 -07:00
Sebastien Ros
4b4d67e48e
Merge branch 'release' into dev
2016-04-22 11:54:56 -07:00
Sébastien Ros
2c639f83c4
Fixing BindNever attribute and Type model binding
...
Fixes #4505
2016-04-22 11:52:08 -07:00
jacalvar
683356ea59
Merge branch 'release' into dev
2016-04-21 10:39:45 -07:00
Ryan Nowak
87704c67e1
React to routing cleanup
2016-04-21 07:55:20 -07:00
jacalvar
d9aacd0f87
[Fixes 4509] Stop registering disposable objects in our controller helper methods
2016-04-20 17:00:34 -07:00
Doug Bunting
d9141d6bf8
Add tests of body-bound top-level collections
...
- relates to #4496
Also fix test names in `BodyValidationIntegrationTests`
2016-04-20 11:57:15 -07:00
Pranav K
a9f8c166a6
Merge branch 'release' into dev
2016-04-19 14:54:08 -07:00
Pranav K
d87d8283d0
Use latest build of dotnet-test-xunit
2016-04-19 14:54:07 -07:00
Pavel Krymets
1f93977729
Migrate tests, tools and samples to portable
2016-04-19 10:43:11 -07:00
Pavel Krymets
e6ffb060f7
Bring Microsoft.NETCore.Platforms dependency back
2016-04-18 17:20:15 -07:00
Pavel Krymets
42c3397b6e
Migrate tests, tools and samples to portable
2016-04-18 17:20:15 -07:00
Doug Bunting
a60cce1dad
Quick fix: Remove excess Microsoft.AspNetCore.Mvc.TagHelpers dependencies
...
- Microsoft.AspNetCore.Mvc brings this in
2016-04-16 18:43:28 -07:00
Doug Bunting
1492db35fa
Merge branch 'release' into dev
2016-04-16 13:07:08 -07:00
mnltejaswini
4e97c72eeb
[Perf]:Cache TypeConverters in SimpleTypeModelBinder
...
Fixes #4361
2016-04-15 18:23:49 -07:00
Doug Bunting
7a1ac034f9
Special-case use of `razorPage.Model` property in `ExpressionMetadataProvider`
...
- #3978
- better-aligns `ExpressionMetadataProvider` with `ExpressionHelper`
nit: mock less in `RazorPageCreateModelExpressionTest`
2016-04-15 17:15:33 -07:00
mnltejaswini
fa34f61d46
[Perf] Avoid Service Provider lookups when activating common Singleton properties of a Razor Page
...
Fixes #4244
2016-04-14 16:52:25 -07:00
John Luo
67e18c70cc
Merge branch 'release' into dev
2016-04-13 16:45:52 -07:00
John Luo
059179b7b8
Add web.config to test sites
2016-04-13 16:12:56 -07:00
Sebastien Ros
946d895114
Merge branch 'release' into dev
2016-04-12 11:41:11 -07:00
Sébastien Ros
f30f61f7bb
Fixing functional test random failure ( #4452 )
2016-04-12 10:44:26 -07:00
Ryan Nowak
84caf6968d
Merge branch 'release' into dev
2016-04-11 15:50:26 -07:00
Ryan Nowak
3ec60a0181
Fix #4447 - Teach MVC to understand defaults
...
The wireup for defaults in attribute routes was missing
2016-04-11 14:38:29 -07:00
Ryan Nowak
171f4452e3
Repair failing functional test
...
I recently consolidated some code in routing that made the behavior for
attribute routes and conventional routes more consistent. So now, a
catch-all will add a null value to the RVD if it doesn't capture any text,
but will NOT trounce an existing value in the RVD.
This test depended on the behavior where attribute routes didn't ever add
a null value for a catch-all. The fix is to just add a default to the
catch-all.
2016-04-11 12:07:51 -07:00
Doug Bunting
656689b5f7
Remove workaround for aspnet/External#51
...
- problem no longer exists in .NET Core
2016-04-10 14:07:18 -07:00