Commit Graph

42564 Commits

Author SHA1 Message Date
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
Praburaj 424de094f3 Removing the single line comment in a project.json 2014-10-02 13:20:58 -07:00
jacalvar a2023d35ee [Fixes #429] FileResult
1) Implemented FilePathResult to efficiently return files from disk.
2) Implemented FileStreamResult to return content from a stream.
3) Implemented FileContentResult to return content from a byte array.
2014-10-02 12:50:24 -07:00
Praburaj 0288c790b0 Cleanup
1. Moving framework assembly references to frameworkassemblies node.
Moving the framework references Removing the RunOnMono flag on Ntlm tests as it never runs on mono
2. Deleted a space from the batch file
3. Adding some pack-exclude items
4. Some general test cleanup.
2014-10-02 12:38:54 -07:00
Chris Ross 0f9ac1f84f #52 - Set a default user-agent for the OAuth backchannel. 2014-10-02 12:05:35 -07:00
Pranav K 2f00fc6121 Modifying test project.json to allow building on Mono 2014-10-02 12:05:03 -07:00
YishaiGalatzer 9de86892a7 Cleanup namespaces and Task.FromResult 2014-10-02 11:49:44 -07:00
Ryan Nowak 414c009b80 Removing Overloading and Automatic verb-mapping
This change removes WebAPI-style method parameter overloading and the
automatic mapping of 'unnamed' actions based on method names. For all
practicaly purposes, this change restores the MVC5 behavior for action
selection.

WebAPI-style overloading will be brought back in the future via a set of
opt-in constructs.
2014-10-01 18:46:48 -07:00
Pranav K fee3b3cc6c Reacting to Razor changes 2014-10-01 17:47:21 -07:00
Pranav K f913d8929f Updating CSharpCodeVisitor to generate implicit expressions on a single
line

Fixing 151
2014-10-01 17:20:00 -07:00
Pranav K ad8ab4b8fd Adding support for ViewLocationExpanders to allow modifying view locations
without changing the view engine.

Fixes #1039
2014-10-01 16:15:25 -07:00
Victor Hurdugaci 0c3f7eab9e Runtime information page 2014-10-01 15:20:44 -07:00
jhawk42 4350866536 change-to-libraryloader-l1-1-0 2014-10-01 15:18:52 -07:00
jhawk42 47f0699235 Win7PlusCoreSystem 2014-10-01 14:57:08 -07:00
Pranav K c6357bd2f6 Removing declaration expressions 2014-10-01 14:51:46 -07:00
Pranav K 43cdd54c16 Removing declaration expressions 2014-10-01 14:47:27 -07:00