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
Suhas Joshi
4193fa29b7
Updating to release NuGet.config
2015-01-21 15:52:54 -08:00
Suhas Joshi
5c8e1f7266
Merge branch 'release' into dev
2015-01-21 15:51:54 -08:00
Suhas Joshi
d10ad558e5
Updating to release NuGet.config
2015-01-21 15:51:39 -08:00
Suhas Joshi
2ac0715cdc
Merge branch 'release' into dev
2015-01-21 15:50:46 -08:00
Suhas Joshi
26d7a6f6ee
Updating to release NuGet.config
2015-01-21 15:50:36 -08:00
Suhas Joshi
2b41e374ff
Merge branch 'release' into dev
2015-01-21 15:50:10 -08:00
Suhas Joshi
a0440ff918
Updating to release NuGet.config
2015-01-21 15:50:08 -08:00
Suhas Joshi
b518913465
Merge branch 'release' into dev
2015-01-21 15:49:54 -08:00
Suhas Joshi
636b27bb73
Updating to release NuGet.config
2015-01-21 15:49:52 -08:00
Suhas Joshi
a638c0ed4a
Merge branch 'release' into dev
2015-01-21 15:49:25 -08:00
Suhas Joshi
f733c18075
Updating to release NuGet.config
2015-01-21 15:49:23 -08:00
Suhas Joshi
68763f7614
Merge branch 'release' into dev
2015-01-21 15:49:12 -08:00
Suhas Joshi
97c9f8f479
Updating to release NuGet.config
2015-01-21 15:49:10 -08:00
Suhas Joshi
f015f3c0b3
Merge branch 'release' into dev
2015-01-21 15:47:04 -08:00
Suhas Joshi
bd9954fd1a
Updating to release NuGet.config
2015-01-21 15:47:01 -08:00
Suhas Joshi
0150b58f55
Merge branch 'release' into dev
2015-01-21 15:45:13 -08:00
Suhas Joshi
b5f1eff89e
Updating to release NuGet.config
2015-01-21 15:45:10 -08:00
Aligned
780564b8c3
Change ASP.NET vNext to ASP.Net 5 in the Readme.md
2015-01-21 11:38:36 -08:00
Aligned
ea4a2437e7
Change ASP.NET vNext to ASP.Net 5 in the Readme.md
2015-01-21 13:20:01 -06:00
Aligned
dd8dee2979
Change ASP.NET vNext to ASP.Net 5 in the Readme.md
2015-01-21 13:18:51 -06:00
Aligned
2abc09fb80
Change ASP.NET vNext to ASP.Net 5 in the Readme.md
2015-01-21 13:14:50 -06:00
Aligned
5328c7f539
Change ASP.NET vNext to ASP.Net 5 in the Readme.md
2015-01-21 11:55:35 -06:00
Aligned
27cde37107
Change ASP.NET vNext to ASP.Net 5 in the Readme.md
2015-01-21 11:52:16 -06:00
Wei Wang
8a28fbb6b5
Rename SKIP_KRE_INSTALL to SKIP_DOTNET_INSTALL
2015-01-20 18:42:26 -08:00
Wei Wang
66611292cf
Rename SKIP_KRE_INSTALL to SKIP_DOTNET_INSTALL
2015-01-20 18:41:06 -08:00
Wei Wang
fbc35f8c52
Rename SKIP_KRE_INSTALL to SKIP_DOTNET_INSTALL
2015-01-20 18:38:40 -08:00
Wei Wang
231994217b
Rename SKIP_KRE_INSTALL to SKIP_DOTNET_INSTALL
2015-01-20 18:34:21 -08:00