Commit Graph

40929 Commits

Author SHA1 Message Date
David Fowler 665780b18f Fixed failing tests by adding an ILoggerFactory 2014-10-07 01:16:11 -07:00
sornaks a88f59fc49 Issue #1176: Renaming ActionDescriptor, ActionDescriptorProvider, ActionInvoker, ActionInvokerProvider, ActionExecutor, ModelBuilder, Tests. Either dropping "Reflected" or changing it to "Controller" depending on the context. 2014-10-06 20:21:55 -07:00
Max Toro fc5f702162 Made GetVirtualPath virtual
For extensibility. This method has always been virtual in MVC and Web API.
2014-10-06 19:21:20 -07:00
YishaiGalatzer 144a4b5921 Make RouteDataActionConstraint be POCO only 2014-10-06 16:54:41 -07:00
sornaks f1c1549267 Issue #452: Changes to enable validation for objects generated by InputFormatters. UnitTests + FunctionalTests for the same. 2014-10-06 16:29:56 -07:00
DamianEdwards f332bf6800 Fix issues in MusicStore.Spa package.json 2014-10-06 15:01:57 -07:00
DamianEdwards 788f0b7c07 Fix missing npm module in MusicStore.Spa 2014-10-06 15:00:01 -07:00
N. Taylor Mullen 2670b19f5c Remove framework assembly versions. 2014-10-06 14:57:43 -07:00
Brice Lambson e370c974e1 Remove framework assembly versions 2014-10-06 14:52:48 -07:00
DamianEdwards 18bd42bcfe Use grunt-bower-task in MusicStore.Spa 2014-10-06 14:30:08 -07:00
Peter Hsu 6826eb183c Merge pull request #81 from aspnet/activator
Activator change requires TypeActivator to be singleton
2014-10-06 12:59:48 -07:00
Brice Lambson d86bb2d9c8 Add Home & BugTracker to "all repos" list 2014-10-06 12:08:38 -07:00
DamianEdwards 7055949e7b Enabling admin pages in MusicStore.Spa:
- Updated attribute routing so it works now
- Created a Pages folder and PageController for serving pages, I don't
  like views very much
- Worked around an EF issue
- Fixed ApiResult to use JsonResult.ExecuteResultAsync
- Made PagedList take the sort expression so it can be conditionally applied as calling Count on the query passed causes issues if it contains an OrderBy expression
- Made web server ports not conflict with non-SPA MusicStore
2014-10-06 12:07:21 -07:00
Brice Lambson ba1b99c745 Re-add checkout command to update-master task 2014-10-06 10:51:37 -07:00
Pranav K c0e077dcd4 Updating ConnegWebSite name in tests 2014-10-06 10:41:36 -07:00
Brice Lambson 6d1a6c5231 Add update-master target 2014-10-06 10:35:32 -07:00
Pranav K bf82d87758 * Updating path to functional test file and functional test references to
unblock Mono build
2014-10-06 10:30:26 -07:00
Eilon Lipton 0124d06ced Create LICENSE.txt 2014-10-06 10:13:52 -07:00
shhsu 78cb314dd2 Activator change requires TypeActivator to be singlton 2014-10-06 09:28:18 -07:00
David Fowler e50cb5262a Fixup references 2014-10-05 18:59:43 -07:00
David Fowler 4c4d8e4644 Fixup references 2014-10-05 17:26:28 -07:00
David Fowler 787138322b Fixup references 2014-10-05 14:21:22 -07:00
David Fowler 31b4a9598d Fixup references 2014-10-05 14:14:03 -07:00
David Fowler 20431d8963 Removed another unneeded dependency 2014-10-05 13:47:52 -07:00
David Fowler 5890b5b254 Fixed up references 2014-10-05 13:24:00 -07:00
David Fowler 964e84e57b Fixup references 2014-10-05 12:30:20 -07:00
David Fowler 23c024ef41 Fixup references 2014-10-05 12:26:17 -07:00
David Fowler 9bb460d5ab Fixup references 2014-10-05 12:04:53 -07:00
David Fowler 72c32367a4 Fixup references and the sample 2014-10-05 11:26:15 -07:00
David Fowler 20d096d865 Fixup references 2014-10-05 11:17:22 -07:00
David Fowler 20de1d0597 Fix up references 2014-10-05 05:08:26 -07:00
David Fowler 07ccfe880b Fixup references 2014-10-05 04:59:24 -07:00
David Fowler b7a8d6a1f7 Fixup references 2014-10-05 04:44:48 -07:00
David Fowler 55922d9107 Fixed references 2014-10-05 04:31:21 -07:00
David Fowler 08b66a87a9 React to EF changes 2014-10-05 03:34:50 -07:00
David Fowler 993827ee65 React to EF changes and fixed sample 2014-10-05 02:55:14 -07:00
David Fowler 49fcaa7862 Updated the target framework 2014-10-04 03:03:29 -07:00
David Fowler 6607fa5fdb Updated target framework 2014-10-04 02:53:12 -07:00
David Fowler 01605cd695 Fixed project.json casing 2014-10-04 02:52:07 -07:00
David Fowler 8d6684ab09 Renamed Project.json to Project.json2 2014-10-04 02:52:07 -07:00
jacalvar 8802c831a0 [Fixes #1155] Added functional tests to cover common versioning scenarios. 2014-10-03 19:00:24 -07:00
Ryan Nowak 78a4e78358 Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute
IActionConstraint follows a provider model similar to filters. The
attributes that go on actions/controllers can be simple metadata markers,
the 'real' constraint is provided by a set of configurable providers. In
general the simplest thing to do is to be both an
IActionConstraintMetadata and IActionConstraint, and then the default
provider will take care of you.

IActionConstraint now has stages based on the Order property. Each group
of constraints with the same Order will run together on the set of
actions. This process is repeated for each value of Order until we run out
of actions or run out of constraints.

The IActionConstraint interface is beefier than the equivalent in legacy
MVC. This is to support cooperative coding between sets of constraints
that know about each other. See the changes in the sample, which implement
webapi-style overloading.
2014-10-03 18:50:01 -07:00
sornaks 0d8a7368d9 Issue #1141 - When Accept header or Accept-Charset header has invalid QualityFactor we throw.
Fix: Imitating the same behavior as it is in WebApi. We ignore the entire header even if one part of it is invalid.
2014-10-03 16:25:51 -07:00
harshgMSFT 572ec0175c Fix for 1071: Output Formatters should be invoked for writing out the response. 2014-10-03 10:54:59 -07:00
David Fowler f076fc7dcf React to roslyn changes 2014-10-03 03:23:04 -07:00
Doug Bunting 0d92a829ff Correct minor problem in `CachedDataAnnotationsModelMetadata.ComputeDisplayFormatString()`
- only affects an extreme corner case: user sets `metadata.EditFormatString` then reads
  `metadata.DisplayFormatString`
- an extreme case because `EditFormatString` is normally set only when
  `DisplayFormatString` is set and, if set, it's to the same value
- happened to see this while updating `CachedDataAnnotationsModelMetadata` for this PR

nit: an -> a in an adjacent XML comment in `CachedDataAnnotationsModelMetadata`
2014-10-02 19:13:45 -07:00
Doug Bunting a5600a74a3 Calculate `ModelMetadata.DataTypeName` based on metadata
- helps MVC helpers like `@Html.EditorFor()` select the correct template
- #933

nit: add XML doc for `DataTypeName` in base `ModelMetadata`
2014-10-02 19:13:35 -07:00
Pranav K 12477c9f52 Changes to make EnableInstrumentation conditionally enabled 2014-10-02 17:55:40 -07:00
Pranav K 5d32d224f4 Changes to support PageExecutionContext in Razor
Fixes #1083
2014-10-02 17:55:23 -07:00
Chris Ross 8bbf5db1ac #69 - Make WebListener target Net45. 2014-10-02 15:51:30 -07:00