Commit Graph

12222 Commits

Author SHA1 Message Date
dougbu 6f7e62201b Support test for XML documentation errors
- can't be done as a unit test because `k.cmd test` doesn't write assemblies for referenced projects
- instead support extending the "test" target in builds

To enable this in a repo, add the following to the makefile.shade file:
```
#xml-docs-test target='test'
  k-xml-docs-test
```

Example output with one syntax error and one invalid reference:
```
info: Target xml-docs-test
warn: Invalid documentation syntax in src\Microsoft.AspNet.Mvc.Core\bin\debug\net45\Microsoft.AspNet.Mvc.Core.xml
warn:  3170: <!-- Badly formed XML comment ignored for member "T:Microsoft.AspNet.Mvc.Rendering.HtmlHelper" -->
warn:  3203: If the object is already an <see cref="!:IDictionaries&lt;string, object&gt;"/> instance, then it is
```
2014-08-11 16:17:15 -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 66a15775cb Updating dev Nuget.config 2014-08-06 12:30:54 -07:00
Pranav K 18ac38e4a7 Updating dev Nuget.config 2014-08-06 12:30:53 -07:00
Pranav K 7ca4ba5d65 Updating dev Nuget.config 2014-08-06 12:30:35 -07:00
Pranav K 907a3c6cf3 Updating dev Nuget.config 2014-08-06 12:30:32 -07:00
Pinpoint c3daa5c8c0 Handle paths containing spaces in build.cmd
#99
2014-08-06 18:09:26 +02:00
Pranav K ffe3767467 Updating NuGet.config 2014-08-06 08:30:54 -07:00
Pranav K bacfb03a1e Reverting repo list to topological order 2014-08-05 16:01:01 -07:00
Pranav K e86cae43bb Updating release Nuget.config 2014-08-05 15:51:09 -07:00
Pranav K 624d49df36 Updating release Nuget.config 2014-08-05 15:49:53 -07:00
Pranav K 4d5e4ff20f Updating release Nuget.config 2014-08-05 15:48:51 -07:00
Pranav K 28389dc20d Fixing vNext branch to point to aspnetvnext 2014-08-05 15:44:21 -07:00
Pranav K 80c48ca216 Changing case for NuGet.config extension to make it inline with casing for
all other repos
2014-08-05 15:34:46 -07:00
Pranav K 30280ee54e Adding scaffolding to Universe 2014-08-05 15:20:51 -07:00
Pranav K 04b29ed629 Updating makefile to remove duplication in repo name usage 2014-08-05 15:19:57 -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
Pranav K 839e066d59 Reacting to System.Security.Cryptograph.Encryption package rename 2014-07-17 09:30:34 -07:00
Pranav K 4ec0532087 Reacting to System.Security.Cryptography.Encryption package rename 2014-07-17 08:39:43 -07:00
Hao Kung 53e4626127 React to Identity changes 2014-07-15 13:05:07 -07:00
Pranav K 6b2099df28 Consume SKIP_KRE_INSTALL in build.cmd to skip installing kvm 2014-07-14 22:06:25 -07:00
Pranav K 4fc0be86b6 Reacting to System.Collections version change 2014-07-14 15:11:48 -07:00