Ajay Bhargav Baaskaran
43eb621d19
[ Fixes #2743 ] Removed ErrorReporterMiddleware in some places
2015-12-16 14:39:35 -08:00
Doug Bunting
3d8225502f
Change `HtmlString` to inherit from `HtmlEncodedString`
...
- part of aspnet/HtmlAbstractions#5 fix
- also extend existing special cases to more general `HtmlEncodedString`
2015-12-16 12:42:13 -08:00
Ajay Bhargav Baaskaran
232b27ad5d
[ Fixes #3430 ] Removed RouteKeyHandling.CatchAll
2015-12-16 11:57:22 -08:00
Pranav K
7c40759e32
Reacting to Routing changes
2015-12-16 11:49:20 -08:00
Kiran Challa
e8ab079b06
Revert "Run functional tets in parallel"
...
This reverts commit 0ac3e9d3a4 .
2015-12-16 06:44:41 -08:00
Kiran Challa
0ac3e9d3a4
Run functional tets in parallel
2015-12-15 16:05:50 -08:00
javiercn
c61cc65db3
[ Fixes #3705 ] Bring back render partial
2015-12-15 12:20:06 -08:00
Ajay Bhargav Baaskaran
bbba9dcde6
[ Fixes #3524 ] Handle negative long values in TempData correctly
2015-12-15 00:17:37 -08:00
Doug Bunting
900663bfdd
Make `project.json` formatting consistent
2015-12-14 21:51:04 -08:00
Doug Bunting
59824dc7be
MVC functional test cleanup (part 1)
...
- #3612 subpart 2 of 2
- merge `ActionConstraintsWebSite`, `AntiforgeryTokenWebSite` and `ContentNegotiationWebSite` into `BasicWebSite`
- remove tests depending on `ErrorReporterMiddleware` in merged sites; not used in `BasicWebSite`
- delete `CompositeViewEngineWebSite`, `Microsoft.AspNet.Mvc.ViewEngines.CompositeViewEngineTest` covers cases
- delete `CorsMiddlewareWebsite`, soon to be in Cors repo (see aspnet/CORS#57 )
- remove `SendFileMiddleware` from FilesWebSite, unused there
2015-12-14 21:50:55 -08:00
Doug Bunting
1b7e67211f
Do not override default `Layout` value
...
- #3745
2015-12-14 19:09:57 -08:00
N. Taylor Mullen
29ea696c5a
Add `Model` assessor to `ViewResult` for MVC5 portability.
...
#3495
2015-12-14 16:16:41 -08:00
Ryan Nowak
1126d47b3e
React to breaking changes in RouteBuilder
2015-12-14 14:40:38 -08:00
Ryan Nowak
a2393f21be
Adds ControllerBase to Mvc.Core
...
This change adds a base class for controllers to Mvc.Core that can be used
without a dependency on views, json, etc.
Most of the functionality on Controller moves to ControllerBase. I kept
the IActionFilter and IDisposable functionality on Controller since it's
not really a fit with the 'minimal' philosophy.
2015-12-14 10:29:55 -08:00
Ryan Nowak
ad3c460500
React to breaking in IRouteConstraint
2015-12-14 10:08:09 -08:00
Ryan Nowak
ee6ef3f25f
Last part of #3676
...
Uses the correct IEnumerable<> in validation strategies
2015-12-14 08:52:44 -08:00
Doug Bunting
8a310b35a4
Update to latest `UseRequestLocalization()` signature
...
- build break
nit: add more trailing commas in init syntax
2015-12-11 22:58:13 -08:00
Pranav K
56c6975a21
Tweak CacheTagHelper sample to use a token provider service for
...
cache expiration.
Fixes #3573
2015-12-11 15:23:34 -08:00
Pranav K
21e815cb36
Removing CodeGenerators.Mvc reference
2015-12-11 14:59:47 -08:00
Doug Bunting
19e6fb5719
MVC functional test cleanup part 1
...
- #3612 (subpart 1 of 2)
- delete six sites and associated tests entirely
- `ActionResultsWebSite`
- `ActivatorWebSite`
- `ControllerDiscoveryConventionsWebSite`
- `LoggingWebSite`
- `LowercaseUrlsWebSite`
- `ModelBindingWebSite`, now covered in integration tests
- remove now-unused `FilteredDefaultAssemblyProviderFixture`, `LoggingAssert` and `LoggingExtensions`
- move six test web sites into `./samples`
- `CustomRouteWebSite` -> `CustomRouteSample.Web`
- `FormatFilterWebSite` -> `FormatFilterSample.Web`
- `InlineConstraintsWebSite` -> `InlineConstraintSample.Web` (now singular)
- `JsonPatchWebSite` -> `JsonPatchSample.Web`
- `LocalizationWebSite` -> `LocalizationSample.Web`
- `RazorEmbeddedViewsWebSite` -> `EmbeddedViewSample.Web` (no longer "Razor" and now singular)
- do some cleanup: remove test dependencies, shorten sample controller names, use more attribute routing
- correct "license" spelling in `ApplicationModelWebSite`
2015-12-11 13:13:41 -08:00
Pranav K
a5e4b91154
Merge branch 'release' into dev
2015-12-11 12:24:46 -08:00
Pranav K
d35255f30b
Updating to release NuGet.config.
2015-12-11 12:24:42 -08:00
ryanbrandenburg
3393ba43c2
* Parameters into the messages
2015-12-11 12:05:44 -08:00
Kiran Challa
a208c95a4f
Deleted stale files from earlier deleted test website UrlHelperWebSite
2015-12-11 11:12:52 -08:00
Ryan Nowak
ed93a6c812
React to routing breaking changes
2015-12-11 09:30:51 -08:00
Kiran Challa
f2bb90fa55
Fix localization tests
2015-12-10 22:37:20 -08:00
Kiran Challa
57b88baad0
[ Fixes #3624 ] MVC functional test cleanup (part 2)
2015-12-10 16:26:39 -08:00
Pranav K
3a7c9c73ed
Enabling CoreCLR tests on Travis
2015-12-09 15:20:15 -08:00
Ryan Nowak
96de1dbe4b
Remove IExcludeTypeFilter
...
- Removes IExcludeTypeFilter
- Replaced with a property 'ValidateChildren' on ModelMetadata
- Teach ValidationVisitor to respect 'ValidateChildren' for enumerable
types.
2015-12-09 12:30:13 -08:00
Sebastien Ros
774ee05508
Clean up ViewStartPages usage in RazorView
...
Fixes #3682
2015-12-09 10:55:59 -08:00
Ryan Nowak
cf6662d0c3
Partial fix for #3676 - fix race in ElementMetadata
...
The accessor for ElementMetadata can sometimes return null when
concurrently accessed.
This change solves this issue and simplified a bunch of lazy-computed
properties, by precomputing all type-related facets of ModelMetadata.
This also adds a ElementType property to ModelMetadata to maintain
the current separation of concerns as ModelMetadata is unaware of the
metadata provider.
2015-12-09 08:21:18 -08:00
Pranav K
c6f8ced9a2
Fixing CoreCLR package versions
2015-12-08 16:40:03 -08:00
Pranav K
8c4b5c6c9a
Fixing build break
2015-12-08 15:57:19 -08:00
Pranav K
be46c7602e
Add IAssemblyLoadContextAccessor to the service collection
2015-12-08 15:42:09 -08:00
Pranav K
218613bc0a
Reacting to Diagnostics changes
2015-12-08 15:10:59 -08:00
David Fowler
6467d0d475
Add ILibraryManager explicitly
2015-12-07 18:00:03 -08:00
Kiran Challa
ceaa9a9251
Add test coverage for Flags enum binding
2015-12-07 17:18:06 -08:00
John Luo
f9f59fe58b
Reacting to verbose rename
2015-12-07 14:50:54 -08:00
Ryan Nowak
09a293afe9
React to routing cleanup
2015-12-07 13:08:13 -08:00
David Fowler
99f501152b
Remove dependency on ICompilationOptionsProvider
...
- Removed Configuration from RazorViewEngineOptions
- Added ParseOptions and CompilationOptions to RazorViewEngineOptions
2015-12-07 12:29:52 -08:00
David Fowler
80e25344f6
Merge pull request #3690 from khellang/form-file-changes
...
React to changes to FormFile
2015-12-04 12:05:10 -08:00
Kristian Hellang
e1bfc6b48e
React to changes to FormFile
2015-12-04 20:40:39 +01:00
Ryan Nowak
aa48f79816
Use Routing.Abstractions
2015-12-03 18:07:14 -08:00
Pranav K
ff34c5404a
Implement a backing-buffer for Razor using pooled memory
...
Fixes #3532
2015-12-03 17:42:20 -08:00
Doug Bunting
1f76b3c7b7
Clean up remaining `HtmlString` usage
...
- #3122 and #3123 (5 of 5)
- avoid concatenating values and wrapping them in an `HtmlString`
- switch from `string.Format()` to `AppendHtml()` in `LinkTagHelper`
- simplify `RazorPage` and `TagHelperContentExtensions` e.g. don't use a `TagHelperContentWrapperTextWriter`
- add some special cases in `UrlResolutionTagHelper`
- add `TagBuilder` and `StringHtmlContent` special cases to avoid `StringWriter` use when value is an `HtmlString`
- move `HtmlTextWriter` optimizations a bit lower and add missing checks for that type
nits:
- correct comments that incorrectly mention `HtmlString`s
- update comments in `JavaScriptStringArrayEncoder`
2015-12-03 15:37:44 -08:00
Kiran Challa
dd774366f6
Addressed feedback
2015-12-03 14:42:14 -08:00
Kiran Challa
6712f9d9ff
Deleted ValueProvidersWebSite and tests
2015-12-03 14:42:13 -08:00
Kiran Challa
9539c373ba
Deleted ViewComponentWebSite and tests
2015-12-03 14:42:12 -08:00
Kiran Challa
9288ab1a34
Removed TempDataWebsite and merged to BasicWebsite and fixed tests
2015-12-03 14:42:11 -08:00
Kiran Challa
3c694ce77c
Movig RequestServicesWebsite to BasicWebsite
2015-12-03 14:42:10 -08:00