Commit Graph

51 Commits

Author SHA1 Message Date
Praburaj 39ee3e714a Reacting to the cache package rename and few misc changes
1. Setting expiry time for cached items.
2. Some other misc changes.
2014-09-12 17:09:39 -07:00
Praburaj 7e77078160 Adding in memory caching to the sample 2014-09-05 12:53:08 -07:00
David Fowler c299a13927 Updated to use the new target framework in project.json 2014-09-04 02:30:32 -07:00
Praburaj 6cf7cbfa5b Adding all the Social login middlewares to the pipeline
Still some of the identity helpers have not lighted up. So it will not work fully.
2014-09-03 16:57:38 -07:00
Praburaj b054f392f5 Adding a what's new in the store signalr announcement panel in the sample
When a new album is created in the store a notification is posted to all the connected browsers using SignalR.
Also added automation for the signalR hubs.

There is still some UI formatting improvements required in the way new arrivals are displayed. Will fix it in future checkins.
2014-09-03 15:40:01 -07:00
Praburaj b56cecc817 Refactoring the test code a little bit to enable adding more scenarios
And some general cleanup.
2014-08-29 16:35:02 -07:00
David Fowler 94258eba8a Updated to use the new target framework in project.json 2014-08-29 00:13:02 -07:00
Hao Kung e60b1665e3 React to Identity Rename 2014-08-25 11:41:49 -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
David Fowler efd225a9cd Renamed configurations to frameworks in project.json 2014-07-13 22:31:03 -07:00
Praburaj 974bfcab7a Adding kestrel variation of the MusicStore tests
Variation added for both Desktop & CoreCLR.
Added some more diagnostics to help better trouble shoot with more variations.
2014-07-02 17:32:31 -07:00
Brice Lambson 54a66fc70e React to more renames 2014-06-20 09:34:14 -07:00
David Fowler 32cd4db959 React to Helios rename 2014-06-19 22:26:28 -07:00
Brice Lambson b41abcffa6 React to version bumps and renames 2014-06-19 16:00:13 -07:00
Brice Lambson 9cb6325bf3 React to aspnet/EntityFramework#264 2014-05-28 14:36:10 -07:00
Hao Kung 043dbb2940 Changes for OptionsModel 2014-05-28 12:51:48 -07:00
Praburaj 8409e9518b Catching up MusicStore app with code generated with latest templates 2014-05-23 14:35:08 -07:00
Praburaj dc9c16ff64 Cleaning up project.json of MusicStore app 2014-05-21 11:56:39 -07:00
Praburaj 3e536055ba Replacing fixed build numbers with * to enable CI build
Created a master branch with fixed build numbers that we used for alpha. Dev branch will build with latest product builds.
2014-05-19 13:23:53 -07:00
ajcvickers 86e02878ed Update Music Store to use new EF EnsureCreated method.
Also updating project.json to pin the new EF build.
2014-05-13 16:58:15 -07:00
Victor Hurdugaci e997363b82 Pin to build 1678 2014-05-12 16:35:53 -07:00
Praburaj 1cfe90ae81 web command format change
server.name is changed to server in the command expansion.
2014-05-09 09:57:39 -07:00
Wei Wang 9434bbc8e3 Sort dependencies and remove duplicates in dependencies 2014-05-08 11:49:47 -07:00
Hao Kung be912b15dc Switch to identity Sql 2014-05-07 17:37:23 -07:00
Praburaj 32ed9c513a Adding k.ini to enable running on Helios
Also fixed the name of the package Microsoft.ComponentModel.DataAnnotations -> Microsoft.DataAnnotations
2014-05-07 14:46:08 -07:00
Praburaj adb50f7fdc Logging package name changed
1. Fixed the package name in project.json
2. Updated the namespaces.
2014-05-06 13:00:32 -07:00
Praburaj 77887f126c Changing DI package and namespace
Dependency injection package changed from Microsoft.AspNet.DependencyInject to Microsoft.Framework.DependencyInjection
2014-05-06 12:05:51 -07:00
Wei Wang 2ab97f7d42 Update dependency namespace 2014-05-05 20:29:10 -07:00
Praburaj 6cb38d7926 A few fixes with this checkin:
IBuilder moved to Microsoft.AspNet.Http namespace. Fixing the build break.
Changing the version number for Microsoft.ComponentModel.DataAnnotations package to 0.1-alpha-*.
2014-05-05 17:00:49 -07:00
Brice Lambson 06d962291f React to EF package renames
This is part of aspnet/Data#132
2014-05-05 16:09:46 -07:00
Praburaj b15aa91661 Modifying the sample to use kvm, k web and k run to run the application.
Also modified the readme file to reflect this. Deleted Selfhost.cmd and CustomHost.cmd.
2014-05-01 10:59:06 -07:00
Praburaj 647ac5dac0 Modifying the Helios.cmd, Selfhost.cmd and CustomHost.cmd to start the application on different ports on different hosting models.
This will help us to root cause issues faster with fewer questions.
2014-04-28 10:32:59 -07:00
David Fowler 93a2ab2352 Fixed the configuration model and other compilation errors 2014-04-23 09:02:07 -07:00
ajcvickers 737afbd610 An injection of musical love... (Updating music store to use new EF configuration and DI)
Changes EF setup to use common DI container
Sets up injection of context instances
2014-04-18 13:17:08 -07:00
Hao Kung 70b45dbe2d AccountController identity cleanup
Use SignInManager where appropriate
Misc cleanup of controller actions
2014-04-15 11:03:18 -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
Praburaj 1e137c7af9 Getting the application base path from the IoC container. 2014-04-10 14:15:29 -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
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 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 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
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
David Fowler 351964878f Updated task package 2014-03-29 03:19:45 -07:00
Praburaj 5eacb62b62 A few changes with this checkin:
1. Adding scripts to self host & custom host Music store
2. Updating readme
3. Cleanup some helper classes that are not necessary.
4. Adding error page middleware for diagnostics.
5. Flipping the switch to run helios on "K" by default.
2014-03-27 16:10:16 -07:00
rowanmiller 965046813e Swapping data access to use EF
Enabling data access against new EF stack.
Uses SQL Server when running on Net45 and an in-memory database for K10
(because SQL Client isn't available on K10 yet).
Various workarounds in place to compensate for missing features in EF
(all marked with "// TODO [EF]..."
2014-03-25 12:50:36 -07:00
Praburaj 5497541e08 Updating the music store application with the latest code.
Changes include
(1) Inclusion of all views (with non compiling code commented out)
(2) Inclusion of all models with data annotations
(3) images & setting up of static files
(4) MVC application setup and scripts to run the application
(5) Scripts to clean up the temporary files and capture LKG build.
2014-03-24 15:15:43 -07:00
Hao Kung 169ffaa062 Account controller using Kidentity
- Uncomment account controller and switch to KIdentity
2014-03-03 15:28:24 -08:00
Yishai Galatzer 2f8c4b213a Rename MVC -> MVC.Core requires project.json changes 2014-03-02 23:36:15 -08:00
ajcvickers d1ac4298c2 Drown your issues in Kool Aid (Updating K Music Store app to use EF/E API surface)
This updates the K version of Music Store to use the updated Entity Framework API surface from the data repro. The changes made previously to the models and controllers in the full .NET version are also included here to bring both versions into line. The code is still non-functional as it was before.
2014-02-13 08:49:26 -08:00