Commit Graph

256 Commits

Author SHA1 Message Date
Praburaj fd5f081cb6 Increasing the wait timeout after the application deployment
I'm starting to see that tests start running too soon before the application started. Increasing the wait time to a bigger number.

It will increase the test runtime of each selfhost variation by a couple more seconds, but it will increase the reliability.
2014-08-22 11:59:58 -07:00
Praburaj c7defa70c9 Updating instructions to run the sample on Mono
With some recent product bug fixes the sample can now run on Mono. The sample uses InMemory store to run on mono due to lack of SqlClient.
2014-08-22 11:35:54 -07:00
Praburaj 5878f8ccb8 Increasing the wait time out to 3 seconds after the db file is created.
A couple of selfhost variations are failing on some of the new CI machines. While trying to reproduce I see that the klr.exe processes are lauching fine. But the tests fail for a couple of self-host variations. Only suspicion is this time out as the client gets a socket exception. It is possible that client is making a request before the server is ready.
2014-08-21 12:48:03 -07:00
Praburaj df3d56be5e Enabling the test code to run on mono
This does not include the deployment helper on mono. So the test needs to point to a statically deployed application url to run.
There are some bugs in mono Httpclient like in case of 302's RequestMessage's Uri not modified, cookies not cleared in cookie container etc. I will file bugs in mono on those and this is a work around until then.

There is still more work and refactoring. This is a first step.
2014-08-20 17:46:53 -07:00
ajcvickers 0eaad754c4 Reacting to ForeignKey API change. 2014-08-19 15:50:23 -07:00
ajcvickers 9ee9104883 Reacting to ConventionModelBuilder name change 2014-08-15 11:35:24 -07:00
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