Commit Graph

250 Commits

Author SHA1 Message Date
ajcvickers e2736173e8 Change ModelBuilder to ConventionModelBuilder 2014-08-15 08:45:28 -07:00
Praburaj cb9184e1c0 Prevent binding on some columns in order 2014-08-12 12:28:11 -07:00
Praburaj abd215a543 Using HttpNotFound helper in actions returning 404 2014-08-12 11:44:48 -07:00
Praburaj ca515e3e87 Adding missing Anti-Xsrf token validations in some Post actions
1. Also adding this validation on a AJAX only used action.
2014-08-08 12:46:36 -07:00
Pranav K 907a3c6cf3 Updating dev Nuget.config 2014-08-06 12:30:32 -07:00
Pranav K ffe3767467 Updating NuGet.config 2014-08-06 08:30:54 -07:00
dougbu 641816fd9b Fix build break
- no need to call (`internal`) `html.GenerateId()` method since it matches `html.Id()` exactly
- no need for `.ToString()` with either method since they return `string` now
2014-08-01 22:07:38 -07:00
Praburaj a379593746 Fixing a build break
GetClientValidationRules() method's parameter order reversed with a recent MVC change.
2014-07-31 15:08:25 -07:00
Praburaj 581307c24d Fixing some formatting in readme. 2014-07-30 15:58:00 -07:00
Praburaj c6623509e6 Fixing readme with latest instructions 2014-07-30 15:56:02 -07:00
Praburaj 302f5a00fa Using auto generated id for albums 2014-07-30 15:31:13 -07:00
Praburaj 7470e3cb28 @Html.ValueFor replaced with @Html.DisplayFor
The original sample used @Html.DisplayFor. While porting I changed it to use ValueFor. Xinyang pointed out this difference.

Fixing this so that it can be easily compared with the original sample. The results of the view unchanged.
2014-07-30 15:13:25 -07:00
Praburaj 644c45ae5c Adding a _ViewStart page to define the Layoutpage
Removing the Layout page reference from individual cshtml files.
Added some tests to verify layout getting rendered in every view.
Added a couple of verifications to verify that title of the page is set appropriately.
2014-07-30 14:56:20 -07:00
Praburaj 75d9ef5e0d Changing the tests to use Dev14 connection string
Currently to run the tests we need to have Dev12 localdb installed on the machine.
For this to run successfully we need to have Dev14 installed on CI.
2014-07-30 12:45:21 -07:00
Suhas Joshi 53c83de1da Merge pull request #180 from suhasj/Editbuilcmd
Install 64 bit KRE always in build.cmd
2014-07-29 10:21:18 -07:00
Suhas Joshi b4ee3ac6cf Install 64 bit KRE always 2014-07-28 17:06:53 -07:00
Suhas Joshi f7737475f4 Corrected build file 2014-07-25 11:57:32 -07:00
Pranav K 5bace02518 Removing BaseController from MusicStore
TryUpdateModelAsync was added to Controller type which removes the need
for this type
2014-07-25 10:13:51 -07:00
Suhas Joshi 907f05acf5 Added try catch around logging statement 2014-07-24 16:17:24 -07:00
Suhas Joshi f61dd99c64 Merge pull request #178 from suhasj/AddArch
Added support for kre architecture
2014-07-24 15:44:39 -07:00
Suhas Joshi d7d7c83be7 Merge branch 'AddArch' of https://github.com/suhasj/MusicStore-1 into AddArch 2014-07-24 15:40:12 -07:00
Suhas Joshi ae7fae0bce Formatted document and added bug numbers 2014-07-24 15:40:02 -07:00
Suhas Joshi d1f5802c87 Fixed check to install x64 KRE 2014-07-24 15:39:59 -07:00
Suhas Joshi 77a9885118 Handled starting IISExpress based on architecture 2014-07-24 15:39:55 -07:00
Suhas Joshi 759eee9734 Added support for kre architecture 2014-07-24 15:39:51 -07:00
Suhas Joshi c391427f65 Formatted document and added bug numbers 2014-07-24 15:29:38 -07:00
Suhas Joshi fb32578f37 Fixed check to install x64 KRE 2014-07-24 14:40:44 -07:00
Suhas Joshi c74bb9258a Handled starting IISExpress based on architecture 2014-07-24 14:38:34 -07:00
ajcvickers c28cae9e94 React to EF ModelBuilder API change 2014-07-24 14:28:51 -07:00
Suhas Joshi 6fb56ccdad Added support for kre architecture 2014-07-24 12:00:39 -07:00
Hao Kung fe30a0418e React to Identity changes 2014-07-23 12:36:21 -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
Hao Kung 53e4626127 React to Identity changes 2014-07-15 13:05:07 -07:00
David Fowler 30df49535c Fixed project.json casing 2014-07-13 22:49:42 -07:00
David Fowler 85d0abecad Renamed Project.json to Project.json2 2014-07-13 22:49:42 -07:00
David Fowler efd225a9cd Renamed configurations to frameworks in project.json 2014-07-13 22:31:03 -07:00
David Fowler ff9e21b647 Use runtime APIs to locate AspNet.Loader.dll 2014-07-13 12:03:09 -07:00
DamianEdwards db429b0d59 Updated AngularHtmlHelper based on MVC changes 2014-07-08 18:23:58 -07:00
Ryan Nowak 42b5aac1b1 fixing a broken link in musicstore. 2014-07-08 17:18:39 -07:00
Chris Ross 8d270ae328 Add namespace for Response.Write extension. 2014-07-08 11:02:18 -07:00
Ryan Nowak c2140666d9 fix build break in music store 2014-07-03 19:25:29 -07:00
Praburaj 0b0b5837fd A few changes with this checkin
1. Fixed the delete album action
2. Added a test for add to cart, checkout & delete an album scenarios.

With this the scenario set becomes complete.
2014-07-03 16:05:58 -07:00
Praburaj 3fdb2e3e57 Adding some verifications for static file serving. 2014-07-03 13:51:49 -07:00
Praburaj 047db6d5f4 Change with this submission
Fixes # https://github.com/aspnet/MusicStore/issues/105
2014-07-03 12:58:26 -07:00
Praburaj 8c7bc1a9c8 Auto id generation is available for entities
Previously the sample had work arounds to generate an id itself while adding a new item into a table. Removing the work around.
2014-07-03 12:37:31 -07:00
Praburaj 04de187189 Changing the connection strings to use Dev14 LocalDB
Addresses https://github.com/aspnet/MusicStore/issues/159
2014-07-03 12:35:52 -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