Commit Graph

40898 Commits

Author SHA1 Message Date
Pranav K 36413b4d81 Removing XmlSerializer from TagHelpersSample.Web 2015-01-23 17:26:48 -08:00
Pranav K f93d0d82c3 Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
Pranav K 071c697318 Modify BuilderExtensions.UseMvc to not add any routes by default
Fixes #1879
2015-01-23 16:51:38 -08:00
Pranav K c5c89fdaf8 Merge branch 'release' into dev 2015-01-23 16:49:05 -08:00
N. Taylor Mullen 074eae6059 Fixed Microsoft.AspNet.Mvc.Common unneeded assemblyinfo. 2015-01-23 16:29:31 -08:00
Pranav K 29a5cb8aa9 Change the namespace for the MapRoute extension 2015-01-23 16:08:38 -08:00
Wei Wang af3044a3d1 Merge branch 'release' into dev 2015-01-23 13:21:30 -08:00
Wei Wang 014b76770e Merge branch 'release' into dev 2015-01-23 13:17:11 -08:00
Wei Wang 21551bceb3 Merge branch 'release' into dev 2015-01-23 12:06:06 -08:00
Wei Wang 6b0c2bb01f Merge branch 'release' into dev 2015-01-23 11:48:18 -08:00
Wei Wang 117c910f3b React to kpm subcommand renaming 2015-01-23 10:22:55 -08:00
Wei Wang 42a3fce46a React to renaming "kpm build" to "kpm pack" 2015-01-23 10:14:33 -08:00
Suhas Joshi eabe6b1aa7 Fixing start mono processstartinfo 2015-01-22 22:43:25 -08:00
Wei Wang 5407ff3bd6 React to kpm renaming 2015-01-22 17:35:46 -08:00
Wei Wang d71a92393c React to kpm renaming 2015-01-22 17:18:49 -08:00
Pranav K 4d77f670f6 Merge branch 'release' into dev 2015-01-22 16:47:54 -08:00
Pranav K 6c21b40894 EntryLinkHelpers.ContentLink should be available to use for user code
inside of a cache tag helper's body.

Fixes: #1867
2015-01-22 16:37:11 -08:00
ASP.NET Push Bot 918cbccd30 ⬆️ dotnetsdk.ps1, dotnetsdk.cmd, dotnetsdk.sh
Source: aspnet/kvm@e806a5a31a
2015-01-22 15:58:00 -08:00
ASP.NET Push Bot d439d3581a ⬆️ dotnetsdk.ps1, dotnetsdk.cmd, dotnetsdk.sh
Source: aspnet/kvm@beb280f43d
2015-01-22 15:49:54 -08:00
Kiran Challa 5c2dc5db11 [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00
Brice Lambson 64640f4953 Merge branch 'release' into dev 2015-01-22 14:54:18 -08:00
Brice Lambson a307bb7009 Remove System.Data packages 2015-01-22 14:52:13 -08:00
Doug Bunting bf00f478e5 Add another view to MvcTagHelpersWebSite using HTML helpers
- with some `<text>` hacks, generated HTML is almost identical to tag helper version
 - attribute order (HTML helpers consistently order alphabetically) is primary difference
- bit more testing, therefore related to #453

nits:
- remove some trailing whitespace
- clean up style in `MvcTagHelperTest[s]` and `MvcTagHelper_HomeController`
 - e.g. more init syntax, fewer duplicate variables
- correct "MvcTagHelperTest~~s~~" file / class name
- remove unused `Order.OrderNumber` property in MvcTagHelpersWebSite project
- correct one spelling mistake
2015-01-22 14:21:25 -08:00
Doug Bunting df0d556fcc Follow-up on 12565daf88 PR comment
- remove `explicitValue` variables from two `DefaultHtmlGenerator` methods

This follows up a [code review comment](https://github.com/aspnet/Mvc/pull/1834/files#r23120381)
related to `DefaultHtmlGenerator.GenerateCheckBox()`.  Same issue appears in
`DefaultHtmlGenerator.GenerateRadioButton()`.

@pranavkm -
> Also a different variable name? There's a parameter isExplicitValue that
> follows which always has a false value. Reusing this name seems messy.

My response to that comment should not be repeated.  @pranavkm was correct
that the only issue here is naming.  `explicitValue` was too easily
confused with the `isExplicitValue` argument used a few lines later.
They had separate purposes: `explicitValue` related to the "checked"
attribute while `isExplicitValue` relates to the "value" attribute.
2015-01-22 14:17:00 -08:00
N. Taylor Mullen baa70d284d Merge branch 'release' into dev 2015-01-22 14:02:50 -08:00
Ryan Nowak 7fbe0ce307 Merge branch 'release' into dev 2015-01-22 14:02:17 -08:00
N. Taylor Mullen 14bd7dcd5e Handle trailing semicolon after @inject.
- Made @inject handle trailing semicolons identical to @using; essentially ignores it.
- Added parser, runtime/designtime codegen and functional tests.
- Added Microsoft.AspNet.Mvc.Common.Test.
- Transitioned pre-existing Microsoft.AspNet.Mvc.Common tests to the new test project.
- Updated transitioned tests to also work in CoreCLR (except ones with moq).

#1857
2015-01-22 14:01:10 -08:00
Ryan Nowak 09928a2818 Adds parameter information to ApiExplorer
This change makes ApiDescription and ApiParameterDescription aware of all
of the new features we built into model binding for enhanced DTO support
(uber-binding).

The main change is that instead of sticking just to the declared
parameters on the action itself, we now traverse model metadata and break
the parameters down based on their logical data source.

This means that a model like the below will yield 3 parameters:

public class ProductChangeCommandDTO
{
    public int Id { get; set; }

    [FromBody]
    public ProductDetails Changes { get; set; }

    [FromQuery]
    public string AdminComments { get; set; }

    [FromServices]
    public IProductRepository Repository { get; set; }
}

The 'Repository' will be hidden, as it's not related to user input.

Additionally, we treat different sources differently. In the
above example, 'Changes' is from the body and will be treated as a
leaf-node.

However if you use nested DTOs that are bound from the query string (using
[FromQuery]) or similar, we'll recursively explore to find as much
structure as possible.

This information is combined with data from the route template to give a
much more complete picture than we ever could in the past for parameters,
especially when DTO/Command pattern is used.
2015-01-22 13:30:41 -08:00
Aligned 931d7c4774 Change ASP.NET vNext to ASP.Net 5 in the Readme.md 2015-01-22 11:02:24 -08:00
Aligned 7793034b91 Change ASP.NET vNext to ASP.Net 5 in the Readme.md 2015-01-22 11:00:05 -08:00
Aligned c789ff1eb5 Update README.md 2015-01-22 10:56:48 -08:00
damianedwards 759fbbd661 Added the EnvironmentTagHelper:
- #1553
2015-01-22 10:17:25 -08:00
Chris Ross e71c585eb3 Merge branch 'release' into dev 2015-01-22 09:43:13 -08:00
Chris Ross 15a51e423f #175 - Decode multipart headers as UTF-8. 2015-01-22 09:42:09 -08:00
Doug Bunting 54f88ab190 [cleanup] Update .gitignore and reset .kproj files
- add a couple more exclusions to .gitignore (recent VS additions)
- remove `<ProjectExtensions/>` elements
- update files that don't have the correct output directories
- remove dangling PrecompilationWebSite.kproj file
2015-01-21 22:03:23 -08:00
Pranav K 541e9e690a Merge branch 'release' into dev 2015-01-21 17:19:06 -08:00
Pranav K 938f98f7ce Adding AzureADNighty feed to release NuGet.config 2015-01-21 17:18:50 -08:00
Pranav K 772d91aa4e Merge branch 'release' into dev 2015-01-21 16:54:01 -08:00
Pranav K d7b389e595 Updating release NuGet.config to include AzureADNighty feed 2015-01-21 16:53:45 -08:00
Suhas Joshi d838d347ba Merge branch 'release' into dev 2015-01-21 15:57:34 -08:00
Suhas Joshi 1532abba8a Updating to release NuGet.config 2015-01-21 15:57:32 -08:00
Suhas Joshi 7aa06bdedb Merge branch 'release' into dev 2015-01-21 15:56:01 -08:00
Suhas Joshi f945f03714 Updating to release NuGet.config 2015-01-21 15:55:58 -08:00
Suhas Joshi 2d3c2a4d47 Merge branch 'release' into dev 2015-01-21 15:55:35 -08:00
Suhas Joshi 25e1fefaf5 Updating to release NuGet.config 2015-01-21 15:55:33 -08:00
Suhas Joshi b052b1f25e Merge branch 'release' into dev 2015-01-21 15:55:22 -08:00
Suhas Joshi 0ebd307a0f Updating to release NuGet.config 2015-01-21 15:55:20 -08:00
Suhas Joshi c5c58240ce Merge branch 'release' into dev 2015-01-21 15:55:08 -08:00
Suhas Joshi b54f2f2423 Updating to release NuGet.config 2015-01-21 15:55:06 -08:00
Suhas Joshi 0880dca905 Merge branch 'release' into dev 2015-01-21 15:52:56 -08:00