Commit Graph

40929 Commits

Author SHA1 Message Date
Pranav K 7ed2840872 Updating build.sh based on KRuntime changes 2014-06-10 17:17:03 -07:00
Pranav K ae879573ca Updating build.sh based on KRuntime changes 2014-06-10 17:16:45 -07:00
Pranav K d8018a8b4e Updating build.sh based on KRuntime changes 2014-06-10 17:15:57 -07:00
Pranav K 79f627868a Updating build.sh based on KRuntime changes 2014-06-10 17:10:50 -07:00
sornaks 28516a0ae9 Changes to support DisplayColumn attribute. Updating the MvcSample as well to start using DisplayColumn attribute. Adding UnitTests for the same. 2014-06-10 16:45:55 -07:00
Praburaj e2b4842680 Adding some more diagnostic logs for cleanup
This is to confirm that the host process started by the tests are cleaned up at the end of the test.
2014-06-10 12:17:17 -07:00
Pranav K 7396f58d99 Support ModelMetaData.IsRequired
* Update DataAnnotationsModelValidatorProvider to use ModelMetadata.IsRequired
* Adding tests and updating existing ones that didn't work with IsRequired

Fixes #533
2014-06-10 10:20:24 -07:00
Louis DeJardin 660babcd7f Adding core clr configurations 2014-06-10 00:29:16 -07:00
Praburaj a4ae444594 Enabling CoreCLR variation of the test
Value of the KRE_DEFAULT_LIB of the 'k test' process was flowing into Helios resulting in an exception. As the test is always running on desktop clr, the value of this variable always points to the desktop KRE path resulting in the exception. This fix will fix the issue.
2014-06-09 20:18:55 -07:00
Brice Lambson 9774d4531f Revert "Run tests on both net45 and k10 (Fix #42)"
This reverts commit c2a22b57b0.
2014-06-09 15:46:27 -07:00
Yishai Galatzer 95aa6ad607 Add AutoFac to the MVC sample 2014-06-09 15:00:40 -07:00
Pranav K 0123b38840 Adding missing files to kproj 2014-06-09 14:55:50 -07:00
Pranav K cc0dadc6b6 More Stylecop cleanup for ModelBinding and Razor 2014-06-09 14:27:12 -07:00
Brice Lambson c2a22b57b0 Run tests on both net45 and k10 (Fix #42) 2014-06-09 14:18:41 -07:00
Pranav K 59e419ba0a Adding support for @Inject to Mvc 2014-06-09 13:43:08 -07:00
Javier Calvarro Nelson c98bc503e8 Check for result.Body.Length = 0 instead of checking that the body is the empty string 2014-06-09 13:35:42 -07:00
Javier Calvarro Nelson 2523d5d9ea Addressed feedback from @rynowak 2014-06-09 13:35:39 -07:00
Javier Calvarro Nelson 5ba74f500c Incorporated code review feedback 2014-06-09 13:35:35 -07:00
Javier Calvarro Nelson 16f19b5cc6 Added functional tests to cover rendering views without layout and
to return a result without content.
2014-06-09 13:35:31 -07:00
dougbu 84396ad875 Clean up trailing whitespace in Core project
- checked and found no tabs in this project 😄
2014-06-09 11:56:52 -07:00
Pranav K 822d84a2b4 Use default values when binding action arguments
Fixes #545
2014-06-09 11:44:26 -07:00
Pranav K a1fe088d3a Removing RouteContext.RequestPath and calculating it from HttpContext as needed. 2014-06-09 11:18:49 -07:00
Ryan Nowak 1b7d52c84c fixing stylecop in .Mvc and .Mvc.Common 2014-06-09 10:12:11 -07:00
David Fowler ad738561af Fixed project.json casing 2014-06-08 23:39:09 -07:00
David Fowler 75d0b29954 Renamed Project.json to Project.json2 2014-06-08 23:39:08 -07:00
Praburaj 022ff067ad Moving the host start process into the try block
To make sure the host process is not left unkilled after a failure in host start complete.
2014-06-08 13:54:07 -07:00
Praburaj c5f2b4054f Fixing a test bug resulting in a null reference
After starting the klr.exe process, Process.MainModule.FileName returns null if checked soon. Adding a thread sleep to solve this issue.
2014-06-08 12:06:37 -07:00
Louis DeJardin ebd6af0fd6 Trying to get 100 Continue working again 2014-06-08 01:03:56 -07:00
David Fowler c14ecd8e7a Merge pull request #64 from graemechristie/update-source-url-for-kvm-sh
Update source url for kvm sh
2014-06-07 22:48:19 -07:00
Louis DeJardin 044bbb83e6 Getting request body variations to work 2014-06-07 02:49:25 -07:00
Louis DeJardin 313db3f0cf Removing unnecessary using statements 2014-06-06 22:16:08 -07:00
Louis DeJardin e517e39aac Not working, but worth taking a snapshot of the source 2014-06-06 22:13:31 -07:00
Praburaj 59fad3bbb3 Adding CoreCLR variation of test on selfhost 2014-06-06 17:34:12 -07:00
harshgMSFT dd3dafddb8 Mvc Changes corresponding to Routing DI changes. Refer pr#63 2014-06-06 17:22:06 -07:00
harshgMSFT a499d4a92a Routing DI Changes II : Adding services for routing. 2014-06-06 17:08:01 -07:00
Yishai Galatzer 6d78f8adb3 Cache action descriptor providers and provide a race safe data structure to get the version.
The default implementation has a safe race, and does not allow for action description addition at runtime.

It can be replaced with an implementation that can reload.

Consumers of the new service that do extra caching are now responsible to look at the version and change the implementation.
2014-06-06 15:19:30 -07:00
ajcvickers b53404596f Updating to add new parameter for Navigation class 2014-06-06 15:04:53 -07:00
ajcvickers bbfb1f2e60 Disabling four tests to unblock the build. Filed issue #107. 2014-06-06 14:54:28 -07:00
Praburaj 2f88fb4d9d Removing work around applied
Bug https://github.com/aspnet/identity/issues/102 is fixed. Removing the work around applied for the same.
2014-06-06 12:10:46 -07:00
Ryan Nowak d112adc1f2 Fix breaking changes from MVC 2014-06-06 11:26:50 -07:00
Ryan Nowak 31d3180635 setting line length to 120 to match our guidelines 2014-06-06 11:09:10 -07:00
Ryan Nowak bd08a2ca62 fix a build break due to api change 2014-06-06 11:06:41 -07:00
Ryan Nowak a3314a4805 changing to use list instead of stack 2014-06-06 10:49:58 -07:00
Ryan Nowak 69034b78b8 Issue #65 merge RoutingContext and RequestContext
See the relevant PR in aspnet/Routing#60.

This incorporates the breaking changes.
2014-06-06 10:49:55 -07:00
sornaks 6b836e9e77 Introducing ChallengeResult to call Response.Challenge() 2014-06-06 10:31:18 -07:00
Ryan Nowak 28b89c8fe5 Changing to list 2014-06-06 10:16:47 -07:00
Ryan Nowak d10682d15b Issue aspnet/Mvc#56 - merging RouteContext and RequestContext
This is the routing part of these changes, and just the breaking changes
parts.

Follow-ups will add:
- DataTokens
- Tracking the logical stack of routers
2014-06-06 10:11:57 -07:00
Brice Lambson 71a77685e6 Add Resources.cs to fix VS warnings 2014-06-06 09:42:09 -07:00
Ryan Nowak b29ecea4b5 activate line length rule 2014-06-05 14:26:30 -07:00
Ryan Nowak cf0304b897 Fixing style issues in Mvc.Core 2014-06-04 20:40:23 -07:00