Commit Graph

20213 Commits

Author SHA1 Message Date
Praburaj abd215a543 Using HttpNotFound helper in actions returning 404 2014-08-12 11:44:48 -07:00
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
Chris Ross 6d45f817f9 Make new overloads virtual. 2014-08-07 15:58:26 -07:00
Chris Ross 22f3d52762 #111 - Change Challenge, SignIn parameter order to support params. 2014-08-07 15:21:02 -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 ddd0ba653b Updating dev Nuget.config 2014-08-06 12:30:51 -07:00
Pranav K faf406736d Updating dev Nuget.config 2014-08-06 12:30:43 -07:00
Pranav K cd78e115d4 Updating dev Nuget.config 2014-08-06 12:30:43 -07:00
Pranav K 2505aa0590 Updating dev Nuget.config 2014-08-06 12:30:39 -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 a2a663b240 Updating release Nuget.config 2014-08-05 15:50:46 -07:00
Pranav K 624d49df36 Updating release Nuget.config 2014-08-05 15:49:53 -07:00
Pranav K 0c3afe95f5 Updating release Nuget.config 2014-08-05 15:49:41 -07:00
Pranav K 10cbe6bab3 Updating release Nuget.config 2014-08-05 15:49:35 -07:00
Pranav K 8d075ea9b9 Updating release Nuget.config 2014-08-05 15:49:04 -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
Praburaj ec0fb252f5 Missed Kestrel package from HelloMvc sample. 2014-08-05 12:48:02 -07:00
Praburaj 90a19ee27b Updating home repo samples to use latest bits from dev branch feed
1. Updated samples to use Kestrel for cross plat
2. Updated "configurations" in project.json to "frameworks"
3. Updated readme to include instructions on Kestrel
2014-08-05 12:42:11 -07:00
Chris Ross 2c4811f201 Import static file tests from Katana. 2014-08-04 16:11:28 -07:00
Chris Ross 9e950fba27 More var. 2014-08-04 12:28:20 -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
Chris Ross ed38d28db4 #65 - Port more TestHost funcationality. 2014-07-31 11:37:27 -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
Chris Ross 7be9cefc4c QueryBuilder Add overload for IEnumerable. 2014-07-24 16:24:44 -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