Commit Graph

40898 Commits

Author SHA1 Message Date
AndriySvyryd 6120168c86 Reacting to the new EF relationship discovery convention 2014-12-10 14:16:20 -08:00
Ryan Nowak e65218d6df Adding servers and wwwroot folder to test websites
Adding dependencies and commands for iis, web listener and khestrel to each
site.

Each website comes with a readme.md to 'anchor' the otherwise empty
folder. We have another work item tracking adding content to these.

Once VS sees a project with a wwwroot, it wants to assign a port for iis,
so I let it.
2014-12-10 14:16:11 -08:00
Ryan Nowak 0ce5aed8dc Merge branch 'release' into dev 2014-12-10 14:11:57 -08:00
Wei Wang 9d643ae1ee Move web.config from project root to wwwroot 2014-12-10 14:08:35 -08:00
Victor Hurdugaci 4114c872ac Add the complete build option to the build script (build + test) 2014-12-10 14:07:58 -08:00
Ryan Nowak 1631ca1a47 Fix for #1681 - Model state errors are wrong with attributes like [FromHeader]
The issue here is that a model state error is added with the model name
'doubled'. This is on a fairly obscure code path and the code dates back
to the original WSR git checkin of webapi. There are no wsr tests that
verify this behavior.

The cause here is that our 'greedy' model binders (like
FromHeaderModelBinder) return 'true' whether or not they successfully
found a model, because they don't want other model binders to run.

This also has an effect on the validation system. That means that
validators will run and attempt to validate the model (which may be null).
That's that rare case where we get to this code path.
2014-12-10 14:03:51 -08:00
N. Taylor Mullen c680833350 Expose GetExportedTypes on TagHelperTypeResolver.
- This will enable tooling to provide their own mechanism for resolving assemblies.
2014-12-09 12:39:02 -08:00
SonjaKhan 66eb3af806 random cleanup 2014-12-09 10:55:22 -08:00
Suhas Joshi 9e9f331025 Updating to dev NuGet.config 2014-12-08 15:25:23 -08:00
Suhas Joshi d74c4201f2 Updating to dev NuGet.config 2014-12-08 15:25:11 -08:00
Suhas Joshi 425e9305a5 Updating to dev NuGet.config 2014-12-08 15:25:08 -08:00
Suhas Joshi f380f6982f Updating to dev NuGet.config 2014-12-08 15:25:06 -08:00
Suhas Joshi 781615a29b Updating to dev NuGet.config 2014-12-08 15:25:03 -08:00
Suhas Joshi 915d3a6b16 Updating to dev NuGet.config 2014-12-08 15:24:57 -08:00
Suhas Joshi 274c9dbc4b Updating to dev NuGet.config 2014-12-08 15:24:52 -08:00
Suhas Joshi 7ce8d6c801 Updating to dev NuGet.config 2014-12-08 15:24:50 -08:00
Suhas Joshi 6d2fb23f7d Updating to dev NuGet.config 2014-12-08 15:24:47 -08:00
Suhas Joshi 350902db07 Updating to dev NuGet.config 2014-12-08 15:24:45 -08:00
Suhas Joshi f958bbf774 Updating to dev NuGet.config 2014-12-08 15:24:40 -08:00
Suhas Joshi fd45ff532c Updating to dev NuGet.config 2014-12-08 15:24:38 -08:00
Suhas Joshi cb6639c818 Updating to dev NuGet.config 2014-12-08 15:24:28 -08:00
Suhas Joshi ae6698a924 Updating to dev NuGet.config 2014-12-08 15:24:14 -08:00
Suhas Joshi 9214253ba6 Updating to release NuGet.config 2014-12-08 15:17:09 -08:00
Suhas Joshi 42c2a0a56d Updating to release NuGet.config 2014-12-08 15:16:19 -08:00
Suhas Joshi ae6c971bfb Updating to release NuGet.config 2014-12-08 15:16:10 -08:00
Suhas Joshi 4585b8d767 Updating to release NuGet.config 2014-12-08 15:15:59 -08:00
Suhas Joshi 6c82862688 Updating to release NuGet.config 2014-12-08 15:15:50 -08:00
Suhas Joshi 23ce588f7b Updating to release NuGet.config 2014-12-08 15:15:31 -08:00
Suhas Joshi b1b541404c Updating to release NuGet.config 2014-12-08 15:15:11 -08:00
Suhas Joshi 3229ae2d7a Updating to release NuGet.config 2014-12-08 15:14:58 -08:00
Suhas Joshi b94ea56b72 Updating to release NuGet.config 2014-12-08 15:14:47 -08:00
Suhas Joshi 95a399e819 Updating to release NuGet.config 2014-12-08 15:14:36 -08:00
Suhas Joshi 9c28fc93c3 Updating to release NuGet.config 2014-12-08 15:14:17 -08:00
Suhas Joshi d75e4c87ba Updating to release NuGet.config 2014-12-08 15:14:08 -08:00
Suhas Joshi 523265de00 Updating to release NuGet.config 2014-12-08 15:13:29 -08:00
Suhas Joshi 641cb38d5d Updating to release NuGet.config 2014-12-08 15:12:36 -08:00
Suhas Joshi b20b184b3a Merge remote-tracking branch 'origin/release' into dev 2014-12-08 14:46:28 -08:00
Ryan Nowak 9468d741ee Fix for #1671 - Adding [FromHeader] attribute 2014-12-08 11:42:57 -08:00
SonjaKhan 62ec496aa3 fixing test failures 2014-12-08 10:38:00 -08:00
SonjaKhan 234c9ec935 adding a clear button to elm 2014-12-08 09:52:37 -08:00
David Fowler a5ab614937 Removed the null check for IApplicationBuilder 2014-12-06 10:41:11 -08:00
David Fowler 559f5491d4 Make services registered in ConfigureServices work in Configure
- Added a test

#114
2014-12-06 10:41:10 -08:00
Harsh Gupta d7094fd32d Adding Support for TryUpdateModel using include expressions and predicate. 2014-12-05 17:28:43 -08:00
Ryan Nowak ca714c5149 CR feedback from [ModelBinderAttribute] 2014-12-05 16:10:07 -08:00
Doug Bunting f94bd53464 Add functional test of MVC tag helper sample
- ensure future changes don't break this sample
2014-12-05 15:48:43 -08:00
Doug Bunting 27beca7738 Fix #1618, Add asp- prefix to custom attributes of MVC tag helpers
- update XML docs to reflect new HTML / custom attribute separation
- update `Exception` messages to use new attribute names
- update MVC tag helper sample to use new custom attribute names
- add missing `<input/>` tag helper `throw`s test

nits:
- reword a few comments and messages for clarity and consistency
- use `<exception/>` sections to describe what's thrown
- add "Reviewers" comments about current throws
 - note `<a/>` and `<form/>` are slightly inconsistent with others: `throw`
   if unable to override specified `href` or `action` attributes; rest
   `throw` only if custom attributes are inconsistent e.g. `<input/>` with
   `asp-format` but no `asp-for`
- create test tag helpers after all property values are available
2014-12-05 15:48:33 -08:00
Doug Bunting 69f63db7bf Add out-of-order HTML attributes to MVC tag helper sample
- these are rendered in the same, non-alphabetic order
- demonstrates aspnet/Razor#225 does not affect HTML attributes
2014-12-05 15:48:23 -08:00
N. Taylor Mullen b666cce854 Reacted to aspnet/Razor#215 changes. 2014-12-05 15:31:35 -08:00
Pranav K 6ec85baa22 Fixing build break
Change the casing of _ViewStart.cshtml to match the expected case.
2014-12-05 15:16:27 -08:00
N. Taylor Mullen c2fae3b6fc Change TagHelperDescriptor to 1 ctor so it can be deserialized.
Made existing ctor that was only ever used in Razor tests to be internal.
2014-12-05 15:08:39 -08:00