Commit Graph

40929 Commits

Author SHA1 Message Date
Suhas Joshi c74bb9258a Handled starting IISExpress based on architecture 2014-07-24 14:38:34 -07:00
ajcvickers 7f2ae65e3d Reacting to ModelBuilder API change 2014-07-24 14:32:22 -07:00
ajcvickers c28cae9e94 React to EF ModelBuilder API change 2014-07-24 14:28:51 -07:00
ajcvickers fec7e55cbf Fix typo 2014-07-24 14:19:39 -07:00
ajcvickers 50a32f0cb8 Reacting to ModelBuilder API change 2014-07-24 14:15:02 -07:00
harshgMSFT b1912d799c Moving to RandomNumberGenerator as CryptRandom is not supported in Mono 2014-07-24 14:07:58 -07:00
Suhas Joshi 6fb56ccdad Added support for kre architecture 2014-07-24 12:00:39 -07:00
Pranav K 47d227cbf2 Modify FindView and FindPartialView to accept ActionContext
Fixes #787
2014-07-24 11:48:23 -07:00
Chris Ross af279f6d2b #65 Add a QueryBuilder. 2014-07-24 09:10:34 -07:00
harshgMSFT a2561281b7 Adding MvcOptions.OutputFormatters property. 2014-07-23 17:46:17 -07:00
harshgMSFT 8ed7dadfd8 Fixing project.json in Mvc 2014-07-23 17:22:46 -07:00
harshgMSFT 1df4738a19 Adding OutputFormatter base class 2014-07-23 16:50:22 -07:00
Pranav K e28adbfb3d ViewStarts need to be executed as part of View execution
Fixes #834
2014-07-23 16:45:25 -07:00
harshgMSFT b8ab5c5063 Http Abstractions for parsing Http headers needed for conneg. 2014-07-23 16:28:32 -07:00
harshgMSFT 80ffd26465 Adding abstractions for request headers
viz. Accept, Accept-Charset and Content-Type.
2014-07-23 14:54:15 -07:00
Hao Kung fe30a0418e React to Identity changes 2014-07-23 12:36:21 -07:00
Hao Kung 07f72c2fb9 Rename Add[HttpSignIn] -> AddAuthentication
Also DefaultAuthenticationTypes.ApplicationCookie ->
ClaimsIdentityOptions.DefaultAuthenticationType
2014-07-23 12:28:19 -07:00
Hao Kung 076ea0385f Add Email and Phone TOTP providers
Now that HMACSHA1 is available on K
2014-07-23 11:57:14 -07:00
Chris Ross 53e38e2a23 #45 Add friendly header collection APIs for people using WebListener directly. 2014-07-23 09:18:27 -07:00
Chris Ross 384d54577e Remove unused field. 2014-07-23 09:14:34 -07:00
Praburaj b440d4ff66 Use InMemoryStore if the sample is being run on Mono
Detecting if the application is running on mono and using InMemoryStore instead of SqlServer.
2014-07-22 18:02:22 -07:00
Praburaj 863888bfb4 Fixing a test failure due to a recent change.
Adding some delay for the selfhost tests. With the recent change of merging the dbs selfhost based tests start even before the data is populated into the db & application start. Adding a slight delay to allow the setup finish.
And fixing a test bug that was not surfacing. Was checking with a fixed album id. This worked before as the id created was always 453.
2014-07-22 17:23:17 -07:00
Praburaj 91cc369f4f Fixing CopyAspNetLoader batch file to consider the new location of AspNet.Loader.dll
With a recent change Aspnet.Loader.dll will be restored to %userprofile%\.kpm\packages. Fixing the batch file accordingly.
2014-07-22 16:47:03 -07:00
Praburaj 3c0eefe12e Merging the MusicStore & MusicStoreIdentity Db into one.
This has been a feedback from identity team for a while. Just got time to do it now.
2014-07-22 16:44:23 -07:00
Ryan Nowak d13f6474d8 adding a few tests for areas 2014-07-21 14:52:44 -07:00
Ryan Nowak 1b07c89322 cr feedback 2014-07-21 14:52:41 -07:00
Ryan Nowak 745239f09f Adding Attribute Routing Link Generation 2014-07-21 14:52:38 -07:00
Hao Kung 661464004b Remove old files 2014-07-21 10:44:10 -07:00
Hao Kung fc53503d1d Add SecurityStampValidator 2014-07-21 10:42:04 -07:00
Pranav K 340bd7550a Adding RazorView to Microsoft.AspNet.Mvc.Razor
RazorView was part of the previous commit but was separated to make it
easier to see the diff in RazorPage that was formerly named RazorView

Adding IRazorPage and changes per code review comments
2014-07-18 21:14:45 -07:00
Pranav K 9e535f6897 Separating view execution and Razor behavior
* Introducing RazorPage and RazorPageOfT that represent the Razor
  execution aspect of view execution. Moving view execution hierarchy behavior
  (Layout, partial views etc) into a separate RazorView type.

* Renaming IVirtualPathViewFactory to IRazorPageFactory,
  IRazorViewActivator to IRazorPageActivator

* Renaming VirtualPathViewFactor to FileBasedPageFactory to
  correctly reflect what it does.

Fixes #814
2014-07-18 14:58:12 -07:00
Praburaj 2e1fb8f019 Fixing a typo in brew in the OSX instructions. 2014-07-18 10:45:21 -07:00
Pranav K c1112fcaf1 Move ValueProviders to MvcOptions
Fixes #778
2014-07-17 21:02:47 -07:00
Praburaj 10c942cdf7 Homebrew setup instructions on OSX 2014-07-17 15:58:37 -07:00
Hao Kung e74496c079 Remove workaround try/catch for authenticate bug 2014-07-17 15:07:34 -07:00
Chris Ross 0ba1731928 Add more feature constructors. 2014-07-17 09:57:27 -07:00
Pranav K 09267cca2f Reacting to System.Security.Cryptography.Encryption package rename 2014-07-17 09:44:03 -07:00
Pranav K 839e066d59 Reacting to System.Security.Cryptograph.Encryption package rename 2014-07-17 09:30:34 -07:00
Pranav K d619b0df3b Reacting to System.Security.Cryptograph.Encryption package rename 2014-07-17 09:28:25 -07:00
Pranav K 8b0500dacf Replace RNGCryptoServiceProvider with RandomNumberGenerator 2014-07-17 09:20:51 -07:00
Pranav K 4ec0532087 Reacting to System.Security.Cryptography.Encryption package rename 2014-07-17 08:39:43 -07:00
Ryan Nowak bff94f169f Fix for issue #610 - Ignore internal and nested types
This change exludes internal and nested types from being treated as
controllers. This is consistent with MVC5's behavior.

DefaultActionSelectionConventions was primarily tested through running
action selection. I wanted to also test the methods with substantial logic
in this class, so I moved a spate of a classes from private classes inside of the
integration tests to public classes so they could be shared. I also added
tests to fill gaps in DefaultActionSelectionConventions, which is the vast
vast majority of this change.
2014-07-16 16:33:26 -07:00
Pranav K 9f8c656b31 IUrlHelper and IViewComponentHelper need to be activated
* Removing Init method and using [Activate] to activate IUrlHelper.
* Moving IViewComponentHelper to default injected properties
* Adding functional tests to verify these properties are injected \
  activated

Fixes #789
2014-07-16 16:24:03 -07:00
Chris Ross dc055f783a #91 Add constructors to Form, Query, and Cookie features for testing. 2014-07-16 16:12:46 -07:00
Chris Ross e09448a383 Update solution. 2014-07-16 14:45:58 -07:00
Chris Ross fadf6ae5e2 Add missing sample namespace. 2014-07-16 14:45:55 -07:00
Chris Ross 8b46d43dcb Make middleware report when auth fails (async). 2014-07-16 14:45:53 -07:00
Yishai Galatzer 472e500864 Cache file info access in viewengine
Move compilation and VirtualPathViewFactory to be singletons
And cache access to files.

The cache time is controlled by MVC options.
The cache is implemented in the ExpiringFileInfoCache.cs
2014-07-16 13:12:21 -07:00
Hao Kung bbb848ae1d Add identity sample 2014-07-16 12:44:23 -07:00
Chris Ross de1017e010 Fix test... 2014-07-16 12:20:57 -07:00