Commit Graph

43822 Commits

Author SHA1 Message Date
Ryan Nowak d79943d30f Fixing issues build/project issues that someone else missed. 2014-06-16 13:26:49 -07:00
harshgMSFT 170283c724 Fixing StyleCop Issues for issues reported for commit# b58083f73a 2014-06-16 13:16:37 -07:00
Ryan Nowak 1bae3bcaa2 Issue #592 - ActionResult is not being executed by ResultFilterAttribute
The issue here is actually different than described in the bug.
ResultFilter should only short circuit when .Cancel is set to true. This
is consistent with legacy MVC.

Added tests for all of this stuff. There's already good test coverage for
the invoker, what was missing was coverage for the attributes and for the
methods on Controller. ExceptionFilterAttribute and
AuthorizationFilterAttribute don't have short circuiting logic inside of
them, so they are already covered by tests for the invoker.
2014-06-16 12:42:59 -07:00
harshgMSFT 10285d7d39 This additional constraint enables adding a route to the template (and potentially to the UseMvc method) without actually implementing the actual artifact.
For example without adding an area to a controller, a route can still be added to the template.
- Also added functional tests.
2014-06-16 11:24:22 -07:00
harshgMSFT 0ca5576926 StyleCop Fixes for routing. 2014-06-16 11:18:01 -07:00
David Fowler a1583f298c Change k build to kpm build. 2014-06-15 07:49:55 -07:00
David Fowler 2e6f9859a9 Fixed duplicates in repo list 2014-06-15 07:42:33 -07:00
David Fowler 8422d7413a Fix dependency order or projects 2014-06-15 07:32:53 -07:00
David Fowler 60c1d007fa Merge pull request #65 from khellang/patch-1
Added exception message to warning when `git clone` fails
2014-06-15 06:52:57 -07:00
Louis DeJardin 6ac6419f4f Adding support for 'k web --server kestrel' 2014-06-13 13:10:46 -07:00
Chris Ross 434a128f1a Rename AcceptWebSocket to AcceptWebSocketAsync. 2014-06-13 08:37:23 -07:00
David Fowler 32aa84d975 Fixed project.json casing 2014-06-13 07:32:14 -07:00
David Fowler 0c0321c694 Renamed Project.json to Project.json2 2014-06-13 07:32:13 -07:00
Chris Ross 2deea2c299 Delete old file. 2014-06-12 20:16:25 -07:00
Chris Ross 7484db54c6 Compile for CoreClr. Seperate Client project. Rename everything. 2014-06-12 20:11:12 -07:00
Ryan Nowak c5593491e0 fix breaking change from mvc 2014-06-12 17:21:07 -07:00
harshgMSFT b58083f73a Renaming AntiForgeryConfig-> AntiForgeryOptions.
Adding MvcOptions and updating AntiForgery system to use AntiForgeryConfiguration from MvcOptions
2014-06-12 16:55:49 -07:00
Chris Ross b9d7561bf9 Enable WebSocket and Opaque features. 2014-06-12 15:05:58 -07:00
Hao Kung a3991400bc Switch to Crypto from DataProtection 2014-06-12 13:33:19 -07:00
DamianEdwards ced2c3950f Delete pre-processed *.ng.ts files from repo 2014-06-12 10:24:59 -07:00
Stephen Halter abbd763f0f Use GetServiceOrDefault for optional dependency 2014-06-11 18:32:40 -07:00
Ryan Nowak 7f34c94de7 Adding a context class for ValueProviderFactories
This allows model binding to once again be independent of routing. Sending
RouteContext into model binding was an odd choice from a layering
point-of-view.
2014-06-11 18:03:09 -07:00
Louis DeJardin 9c7cb6a958 Adding some tests for Http11
Requires updating to test utilities
Adding initial EventSource to try to see some order of events
2014-06-11 17:09:25 -07:00
Ryan Nowak 545c614320 temporarily disable stylecop for tests 2014-06-11 16:47:17 -07:00
Phil Haack 2dcbe545e3 Sort namespaces
How did @eilon let this ship with the namespaces unsorted. He's growing soft in his old age. :trollface:
2014-06-11 13:55:23 -07:00
Glenn Condron 611469e3a9 Update KVM to newer build, update Readme to show how to use KVMInstall. Pipe md to out-null when creating temp directory. 2014-06-11 13:45:59 -07:00
Praburaj 1ca9e25e54 Fixing an invalid 'And' condition while checking for process exited already 2014-06-11 13:31:55 -07:00
Praburaj 6b1a61f208 Checking if the host process is actually running before attempting to kill
adding some more diagnostics in case of host process failed to start.
2014-06-11 13:20:24 -07:00
Ryan Nowak 44ed23f65e Fix a build break in k10 2014-06-11 12:49:15 -07:00
Stephen Halter 25bbfa7165 Fix test now that ServiceProvider throws a generic exception
aspnet/DependencyInjection#87
2014-06-11 12:14:37 -07:00
Tian Pan 31915f0b46 Remove ComponentResultHelper
Fix #598
2014-06-11 11:32:22 -07:00
Stephen Halter af66fe1611 Inject all dependencies directly into RoleManager and UserManager
- All dependencies for RoleManager and UserManager should be required
- The old calls to GetService inside the constructors will throw instead of
  returning null if left in after PR aspnet/DependencyInjection#87 is merged
2014-06-11 11:23:49 -07:00
Tian Pan e95585dfbd Remove ActionResultHelper
Fix #597
2014-06-11 11:17:45 -07:00
Tian Pan 60443101d5 Enable request to reach base controller class's action
Fix #378
2014-06-11 10:57:19 -07:00
Pranav K b7f2981a6c Updating build.sh based on KRuntime changes 2014-06-10 17:25:08 -07:00
Pranav K 484276d82d Updating build.sh based on KRuntime changes 2014-06-10 17:24:49 -07:00
Pranav K e740d0799f Updating build.sh based on KRuntime changes 2014-06-10 17:24:24 -07:00
Pranav K e223173869 Updating build.sh based on KRuntime changes 2014-06-10 17:24:16 -07:00
Pranav K 9afab74b8c Updating build.sh based on KRuntime changes 2014-06-10 17:24:06 -07:00
Pranav K 8ce8447c08 Updating build.sh based on KRuntime changes 2014-06-10 17:23:50 -07:00
Pranav K bbb3cf30e1 Updating build.sh based on KRuntime changes 2014-06-10 17:23:28 -07:00
Pranav K ae6004dd11 Updating build.sh based on KRuntime changes 2014-06-10 17:22:44 -07:00
Pranav K 45dcd20268 Updating build.sh based on KRuntime changes 2014-06-10 17:22:35 -07:00
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