Commit Graph

162 Commits

Author SHA1 Message Date
Praburaj b8782ee2bf Adding a REST method to the StoreManagerController for automation purpose.
Adding this action to get Id of an album given an album name.
2014-05-27 17:29:19 -07:00
Praburaj de955c6d90 Adding some more logging for DB clean up
Added a scenario to verify the created album.
2014-05-27 17:27:48 -07:00
DamianEdwards eb9ee643a1 Fix Spa after breaking change in MVC
- Reordered TypeScript targets to before AspNet targets to fix build in VS issue
- Refactored the TryUpdateModel workaround in BaseController
2014-05-27 16:54:10 -07:00
Praburaj ba2afd923b Renaming some variables
Renaming some variables
Moving the httpClient and httpClientHandler variables to class level variables to avoid passing them in for every method call.
2014-05-27 16:29:50 -07:00
Praburaj 0afe8ad557 Fixing the test code to create a db for every test run
This also includes the cleanup code. I inject the new DB connection string overrides as environment variables.
2014-05-27 13:55:26 -07:00
ajcvickers ad49e49b7f Pass DbContextOptions directly to base DbContext constructor. 2014-05-27 12:48:24 -07:00
Praburaj 11a71e950d Adding some more test scenarios to MusicStore and moving the scenarios in methods. 2014-05-23 16:11:56 -07:00
Praburaj 8409e9518b Catching up MusicStore app with code generated with latest templates 2014-05-23 14:35:08 -07:00
Praburaj d4303238e9 Fixing a log which was not printing the user name instead printed {0} 2014-05-23 11:54:00 -07:00
Praburaj 01210af151 Adding more logging for the test
Adding some helper methods for hosting variation
Divided the Utility class by the purpose of the helpers.
2014-05-23 11:27:42 -07:00
DamianEdwards a16d9b41d8 Tweaking connection strings to avoid conflicts between the projects 2014-05-22 17:03:08 -07:00
Praburaj 81e1e00d78 Removing k.ini to run against latest KRE version 2014-05-22 12:23:56 -07:00
Praburaj 523ac1c091 Adding some logging for test failure investigation 2014-05-22 12:17:44 -07:00
Praburaj 273c252db0 Adding some tests for MusicStore
It executes a set of scenarios:
1. Launches the app in Helios and navigates to the home page and verifies
2. Make a request to a protected resource and verifies that request is redirected to the login page
3. Registers a user with a dynamically generated user name and verifies the user is created and logged in by verifying the cookies and display name in the home page.
4. Go back to the StoreManager controller which requires a specific permission and verifies that still we are being redirected to Login page.
5. Logoff of the current user session and verify the user is logged off and cookie cleared.
6. Login this time with Administrator user who has permission to manage store and verify successfully logged in
7. Verify that this time the user can access the StoreManager controller
8. Create an album and verify that album is successfully created.
9. Logout of the app and verify.
2014-05-22 11:55:02 -07:00
DamianEdwards 05d21fb249 Removing grunt tasks as they'll come from core tasks 2014-05-21 22:42:34 -07:00
Praburaj dc9c16ff64 Cleaning up project.json of MusicStore app 2014-05-21 11:56:39 -07:00
DamianEdwards 8a5d084f5c Enabled running bower & grunt via sake/build.cmd 2014-05-19 22:07:42 -07:00
DamianEdwards 0a60ac200a Updated TypeScript targets in MusicStore.Spa so TypeScript tooling works 2014-05-19 15:16:24 -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
Pranav K e36eb0ffb6 Updating kproj file to match tooling changes 2014-05-18 22:34:02 -07:00
DamianEdwards 0bd2d6af9e Added port of SPA app to vNext as MusicStore.Spa
- Front-end store (catalog) and login with validation working
- Admin pages not working yet
2014-05-16 16:54:27 -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
Kirthi Krishnamraju aeb22eaba7 Removed Visual studio reference from README.md 2014-05-13 13:06:40 -07:00
kirthik 3dd8db8604 Merge pull request #111 from aspnet/ReadmeUpdates
Bringing back build.cmd and makefile.shade since CI depends on them
2014-05-13 11:28:05 -07:00
Kirthi Krishnamraju 0caf117b0c Bringing back build.cmd and makefile.shade since CI depends on them 2014-05-13 11:24:30 -07:00
Eilon Lipton 15efe90dc2 Create CONTRIBUTING.md 2014-05-13 01:02:43 -07:00
Eilon Lipton be46d4c10a Update README.md 2014-05-13 00:25:06 -07:00
Eilon Lipton 22b8d6bbb2 Update README.md 2014-05-13 00:24:36 -07:00
Victor Hurdugaci e997363b82 Pin to build 1678 2014-05-12 16:35:53 -07:00
kirthik ce13e28405 Merge pull request #107 from aspnet/ReadmeUpdates
Readme updates and deleted build.cmd, lkg.json, kvm.cmd
2014-05-12 16:32:10 -07:00
Kirthi Krishnamraju 82ac180535 modified readme based on pr comments, deleted build.cmd and lkg.json 2014-05-12 16:30:09 -07:00
Hao Kung 9deabcb459 Clean up identity DI 2014-05-12 15:51:51 -07:00
Kirthi Krishnamraju 9e57f01a48 More edits to Readme.md 2014-05-12 15:43:03 -07:00
Kirthi Krishnamraju 382da5e52b Updated Readme.md 2014-05-12 12:17:58 -07:00
Kirthi Krishnamraju 6196e60f91 Updated Readme.md and k.ini to use 0421 build. Deleted kvm.cmd 2014-05-12 11:51:51 -07:00
Hao Kung 3fcfaeb4e0 Cleanup identity comments 2014-05-12 10:14:55 -07:00
Praburaj 909941fa51 Removing the InMemory store for EF data in CoreCLR. 2014-05-12 08:37:55 -07:00
Victor Hurdugaci dcc55c97ba Multiple active result sets 2014-05-11 10:04:20 -07:00
Praburaj 50c9a1de51 Fixing a bug in the sample
When creating a new album an album is not generated - resulting in records being created with Id = 0.
2014-05-09 21:16:06 -07:00
Eilon Lipton 38c5f0c514 Update README.md 2014-05-09 16:33:35 -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
Praburaj 6a442d6a53 Changing the Startup.Configuration method name to Configure per the recent change. 2014-05-09 09:14:43 -07:00
Praburaj ab0dc92eb6 Removing the IApplicationEnvironment interface from code
With a recent change the file based configuration source will automatically look for the file in the application
base path. So getting the base path from IApplicationEnvironment service is no more necessary.
2014-05-08 21:08:28 -07:00
Eilon Lipton 7ba4ba82b1 Create LICENSE.txt 2014-05-08 16:32:44 -07:00
ajcvickers 66b06950d5 Updating AddEntityFramework call to not use nested closure. 2014-05-08 16:01:56 -07:00
Wei Wang 9434bbc8e3 Sort dependencies and remove duplicates in dependencies 2014-05-08 11:49:47 -07:00
David Fowler 8ed808890c React to renames 2014-05-08 04:04:37 -07:00
Praburaj dfe6382463 appSetting "K" to specify the CLR to be loaded is not being honored
Removing the appSetting from web.config
2014-05-07 22:47:04 -07:00
Praburaj 9ecdeda83e Removing Logging related interfaces from sample
Now that we have a NullLogger as a part of Hosting. So we don't need to add this service in the sample.
2014-05-07 22:18:46 -07:00
Praburaj f9693488ca Verified the bug in the [Compare] dataannotation attribute.
https://github.com/aspnet/WebFx/issues/247
Since ModelState.IsValid is now a bool removing the ==true check.
2014-05-07 22:06:16 -07:00