Commit Graph

21729 Commits

Author SHA1 Message Date
Praburaj 46da4ba9e4 Changes with this checkin:
Removing all code related to External login from Account controller.
I also added a little ugly work around to initiate a static UserManager for testing purpose. This should go away shortly.
With this change user can register a user, login & logout.
2014-04-14 18:20:57 -07:00
Praburaj f95588f0dd Enabling code to do drop down lists in music store. 2014-04-14 17:26:39 -07:00
Praburaj 24293783f5 Using ViewBag in a view component instead of ViewData. 2014-04-14 15:08:54 -07:00
Praburaj eeb9326101 Having a layout page in a ViewComponent was the reason for StackOverFlow exception. Removing that fixed the problem.
Using ViewData instead of ViewBag in a ViewComponent.
Copying over some of the icons from the original music store required for this view component.
2014-04-14 14:13:30 -07:00
Praburaj b97cedb4eb Updating the Readme.md to remove a manual clean up step instruction as the scripts already perform that. 2014-04-14 12:38:10 -07:00
Praburaj 9127f5b930 A few changes with this checkin
1. Adding cookies middleware to the music store app
2. Enabling login, register & related management pages to render some UI for testing
3. Updated the LKG.json
2014-04-14 12:35:56 -07:00
Pranav K 634f069c3c Adding support for generating resx files from build
* Adding support for resx file generation as part of watch command
2014-04-14 12:32:39 -07:00
Pranav K c31e0f295f Removing unused Owin packages that are causing build failure
* Adding Microsoft.AspNet.AppBuildSupport.Tests to sln
2014-04-12 13:57:49 -07:00
Pranav K a20f65627f Removing unused Owin packages that are causing build failure 2014-04-12 12:39:30 -07:00
Praburaj b37c811266 CR feedback
1. Creating a separate file for AssemblyNeutralInterface.
2. Removing the user name and password settings from web.config.
2014-04-11 16:36:28 -07:00
Praburaj 1b62b248e4 Some of the identity classes changed name. Fixing the same in Music store to fix a build break. 2014-04-11 16:35:04 -07:00
Chris Ross 165effebde Abstractions: Pull in k10 dependency for IdnMapping. 2014-04-11 10:52:45 -07:00
Praburaj aaae435cc3 Adding a [HttpGet] attribute to enable the Delete album from the store functionality.
This action corresponds to a confirmation page to delete the item.
2014-04-10 17:22:55 -07:00
Chris Ross 7edb32f526 Cookies: Do redirects for 401s if Active, regardless of challenges. 2014-04-10 16:32:44 -07:00
Chris Ross ef5b9feb39 Update sample dependencies. 2014-04-10 15:04:53 -07:00
Praburaj bb241c1a79 Uncommenting code to include ActionName attribute. 2014-04-10 14:23:02 -07:00
Chris Ross b889e45666 Update sample dependencies. 2014-04-10 14:20:43 -07:00
Praburaj 1e137c7af9 Getting the application base path from the IoC container. 2014-04-10 14:15:29 -07:00
Chris Ross 9281e7e67a Update System.Runtime.InteropServices dependency. 2014-04-10 14:11:22 -07:00
Praburaj b51f54e98a Adding a view component for cart summary
1. Added a View component named CartSummary
2. Moved the CartSummary.cshtml as default.cshtml to shared\Components
2014-04-10 13:46:58 -07:00
rowanmiller 58d4b48690 Swap database creation to use EF
Swapping database creation to use native support added to EF.
Also swapping to async methods for database initialization.
2014-04-10 09:28:10 -07:00
David Fowler 0bda88145d Removed declared ANIs and referenced Microsoft.Net.Runtime.Interfaces instead 2014-04-09 22:14:59 -07:00
David Fowler e3c64aeb55 Updated to use the new tooling 2014-04-09 22:08:21 -07:00
David Fowler 1a9c0ad548 Reduce project.json dependencies 2014-04-09 21:33:59 -07:00
Javier Calvarro Nelson 89e532873e Bumped the version of System.Threading.Tasks to 4.0.10.0 to fix the build break in the remaining project.json 2014-04-09 14:05:01 -07:00
Javier Calvarro Nelson 73a00a1b21 Bumped the version of System.Threading.Tasks to 4.0.10.0 to fix the build break 2014-04-09 14:00:06 -07:00
Javier Calvarro Nelson 8ca4a331e2 Created an in memory host for testing purposes and added the appropriate
APIs to allow sending requests through the pipeline easily.
2014-04-09 12:58:58 -07:00
Praburaj 0f25f9ff6b Html.ActionLink helper available.
Enabling music store code to use the Html.ActionLink helper.
2014-04-09 12:04:53 -07:00
Praburaj 8610e016b3 Setting the full path to load the Config.json.
Specifying just the name of the file works fine on selfhost or IISExpress. When app is hosted in IIS, Config.json is being searched in the w3wp3.exe's folder path resulting in an exception.
So fixing the path of Config.json by retrieving the application base path from AppDomain.
2014-04-09 10:43:52 -07:00
Praburaj f4cee29842 Html.BeginForm works now on Partial views.
So uncommenting some code which uses this in music store app.
2014-04-08 16:45:49 -07:00
Praburaj ccc257f8fc Adding environment based config to the music store project with a Config.json file for local.
If the same set of values (those present in config.json) is present in the environment variables
then ones from environment variables be picked up. This will be the antares scenario where the portal variables
flow in as environment variables with a specific prefix.
2014-04-08 14:21:19 -07:00
Praburaj c0250392b2 Enabling @RenderSection in the Music store code. 2014-04-08 12:48:12 -07:00
Praburaj 0db736b056 Uncommenting code to use [HttpPost] verb attribute. 2014-04-08 12:25:42 -07:00
Chris Ross 551fca35d3 Review cleanup, rename Provider to Notifications, use NotNull. 2014-04-08 11:28:08 -07:00
Praburaj 3d54a24244 Removing the rendering package from music store app to fix a build error. Rendering and Core are merged now. 2014-04-08 10:42:10 -07:00
David Fowler a8a47a0489 Removed all assembly infos. 2014-04-08 09:25:29 -07:00
David Fowler f5f225e6ea Updated to use new tooling 2014-04-08 02:11:05 -07:00
David Fowler 7a976d069e Updated to use new tooling 2014-04-08 02:00:50 -07:00
David Fowler 26fedbb999 Updated tooling 2014-04-08 01:42:21 -07:00
David Fowler 23c11bc950 Updated to use the new tooling 2014-04-08 01:37:06 -07:00
David Fowler 7e7c940c63 Updated to use the new tooling 2014-04-08 01:10:29 -07:00
Praburaj f5e9d4d8aa Merge branch 'dev' of github.com:aspnet/MusicStore into dev 2014-04-04 17:21:34 -07:00
Praburaj 45e6e71bc8 Making a few more changes including:
1. Adding a view component
2. Adding more partial views from the sample and enabled a few of them.
3. Updating Account controller to accomodate all the recent identity changes.
4. Enabling some available Url helpers like Url.Content
5. Adding a ~ to all the scripts and images as this bug is fixed now.
2014-04-04 17:19:27 -07:00
Hao Kung 4d1bd6095b Fix identity API changes in Startup.cs 2014-04-04 14:59:38 -07:00
Hao Kung 5bb8f602f1 Fix build issues in Startup.cs
Update for Identity API changes
2014-04-04 14:55:47 -07:00
Pranav K e4af75dddf Fixing issue in Starup.cs to unblock build 2014-04-04 10:47:28 -07:00
Pranav K f4904e1803 Fixing PathString.Add(PathString) to handle trailing slashes correctly
Fixes #31
2014-04-03 12:55:45 -07:00
Chris Ross d83d2e98d6 Review cleanup, fallback logger, CreateDataProtecter extension. 2014-04-03 10:43:11 -07:00
Ryan Nowak 798145418f Add a verify call to a test 2014-04-02 18:58:39 -07:00
Praburaj 4709bca281 A few changes with this checkin:
1. Removing copyright text from all files per a code review feedback
2. Adding a cookie based session to the application to retrieve the cart Id.
3. Enabled the Accounts controller as we now have the necessary Http abstractions for User, SignIn, SignOut etc.
4. Changing self hosting scripts to run on coreclr by default.
5. Enabling the layout page on all required views.
6. Adding a favico.ico
7. Renaming the Cart property in the EF context to CartItems as it returns a CartItems list.
8. Uncommenting some code which was previously accessing unavailable APIs. They are available now (but yet to validate them).
2014-04-02 18:40:25 -07:00