Commit Graph

27752 Commits

Author SHA1 Message Date
Brice Lambson a3772fed65 Remove Microsoft.EntityFrameworkCore.Tools.DotNet 2018-03-19 12:59:16 -07:00
Ryan Nowak 6e4a968e12 Fix #2149 give generated files distinct extension
Gives our generated a files an extension that isn't used for any other
purpose (that we know of). This is handy for tooling to be able to
quickly know if a file is 'ours'. This comes up in places like
IVsSymbolicNavigationNotify (go to definition).
2018-03-19 12:59:16 -07:00
Doug Bunting 390ebbb258
Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature
- #7091
- add `IKeyRewriterValueProvider` to remove rewritten keys or value providers containing such keys
  - similar to `IBindingSourceValueProvider` except `CompositeValueProvider` keeps non-implementers around
- remove `after.Order == before.Order` special cases
  - a premature optimization that could lead to lost inner provider replacements
  - rework `EnumerableValueProviderTest` to ease test override in `CompositeValueProviderTest`
- add `EmptyValueProvider` fields to reduce `CompositeValueProvider` allocations

nits:
- remove Linq use in `CompositeValueProvider`
- do not create an unnecessary dictionary in `CompositeValueProvider.Filter(...)` methods
- accept VS suggestions, mostly pattern matching
2018-03-19 12:53:05 -07:00
Jass Bagga ed18a8f975
Seal ActionResultOfT (#7507) 2018-03-19 12:52:31 -07:00
Jass Bagga dc766c8354
Merge pull request #2185 from aspnet/release/2.1
CodeGen RouteTemplate as a RazorCompiledItemAttribute
2018-03-19 12:38:48 -07:00
Pranav K 7ff56dadf4 CodeGen RouteTemplate as a RazorCompiledItemAttribute 2018-03-19 12:37:04 -07:00
Pranav K 85b12e9fa1
Enable dotnet-build bot 2018-03-19 12:31:55 -07:00
Javier Calvarro Nelson 2bc4c40485 Merge remote-tracking branch 'origin/release/2.1' into origin-dev 2018-03-19 12:22:31 -07:00
Javier Calvarro Nelson 908e7a863b Improvements to the MVC testing package
* Clean up unnecessary workarounds on the build project.
* Remove the need to specify the content root relative to the solution
  and use a solution based on an assembly level attribute on the test
  assembly created at build time.
* Remove non parameterless constructors.
* Add support for creating specialized factories from the base factory
  and keep track of "child" factories for disposal.
* Add support for creating clients that handle cookies and redirects
  automatically.
2018-03-19 12:19:45 -07:00
Doug Bunting ef7b9022e8
Merge branch 'release/2.1' into dev 2018-03-19 12:15:02 -07:00
Nate McMaster d62ef7170a
Merge branch 'release/2.1' into dev 2018-03-19 12:01:36 -07:00
Nate McMaster 66c53b843e
Use wget instead of curl inside alpine docker build
For reasons I don't understand, curl started failing over the weekend with:

    curl: (48) An unknown option was passed in to libcurl

This change to wget instead which works just as well
2018-03-19 12:00:46 -07:00
Doug Bunting 869825b16c
Quick fix: Add test of #2890
- tests added (ages ago) in aspnet/Mvc@a045324 no longer fail when `__` handling removed
2018-03-19 11:59:52 -07:00
Kiran Challa 236cab7cc8 Merge branch 'release/2.1' into dev 2018-03-19 11:53:22 -07:00
Kiran Challa e2b6975bff Marked PageArgumentBinder type as Obsolete 2018-03-19 11:50:20 -07:00
Kiran Challa 09b5ff7b72 Use ParameterInfo for getting metadata of a parameter to show the correct information in ApiExplorer
[Fixes #7435] 2.1-Preview 1: IsBindingRequired and IsRequired still false with RequiredAttribute on controller parameter.
2018-03-19 11:50:19 -07:00
Justin Kotalik db27e1c891 Revert "Cleanup ReadAsync calls, make IISHttpContext private. (#685)"
This reverts commit 8c4a83dbbf.
2018-03-19 11:09:44 -07:00
Justin Kotalik 8c4a83dbbf
Cleanup ReadAsync calls, make IISHttpContext private. (#685) 2018-03-19 11:08:36 -07:00
Ajay Bhargav Baaskaran e9562ad372 Merge branch 'release/2.1' into dev 2018-03-19 11:07:21 -07:00
Pranav K 3d251549c8
Merge pull request #7502 from aspnet/release/2.1
Stop building\testing on netcoreapp2.0
2018-03-19 11:01:07 -07:00
Ajay Bhargav Baaskaran 767e5a12c3 Display errors from build server as part of MsBuild output 2018-03-19 10:49:00 -07:00
Ryan Brandenburg 7a7cc5ab1e Set 2.0 baselines 2018-03-19 10:46:23 -07:00
Brice Lambson f09a595ad5 Merge branch 'release/2.1' into dev 2018-03-19 10:42:30 -07:00
Brice Lambson 35716ebf2c Make dotnet-ef a global tool 2018-03-19 10:30:37 -07:00
Artak b58986414e
Make Razor HTML Comments aware (#2178)
* Merging changes (from dev branch; doing manually to squash them really)of HTML Parser to be aware of HTML Comments so TagHelpers don't complain about comments as content.
2018-03-19 10:18:29 -07:00
Jass Bagga 0b58328143
Merge pull request #372 from aspnet/release/2.1
Remove BOM from json files (#369)
2018-03-19 10:11:28 -07:00
Jass Bagga 79b4cafe68
Remove BOM from json files (#369)
Addresses #276
2018-03-19 10:11:00 -07:00
Ryan Brandenburg 5e9dd7a5fc Set 2.0 baselines 2018-03-19 10:10:50 -07:00
Pranav K e7b2e3fe2d Stop building\testing on netcoreapp2.0 2018-03-19 10:09:51 -07:00
Pranav K 531f59acc5
Updating BuildTools 2018-03-19 09:36:17 -07:00
Pranav K 4914e17868
Merge branch 'release/2.1' into dev 2018-03-19 09:35:53 -07:00
Pranav K e8ab1336a3
Updating BuildTools 2018-03-19 09:35:32 -07:00
Ryan Brandenburg dc07aba935 Set 2.0 baselines 2018-03-19 09:27:10 -07:00
Ryan Brandenburg 7c50704c69 Set 2.0 baselines 2018-03-19 09:26:55 -07:00
ASP.NET CI 533f987fd5 Updating submodule(s)
HttpAbstractions => f6f89554c9
Mvc => f85be6a0c0

[auto-updated: submodules]
2018-03-19 16:17:41 +00:00
ASP.NET CI 303ff01713 Updating BuildTools from 2.1.0-preview2-15741 to 2.1.0-preview3-15744
[auto-updated: buildtools]
2018-03-19 09:16:27 -07:00
ASP.NET CI ed342dd1d1 Updating submodule(s)
Antiforgery => 071b3ddbf7
AuthSamples => bab9fb95d3
AzureIntegration => 7955da11af
BasicMiddleware => 27931864f1
BrowserLink => 38a4acbc95f1d9f80378113359ded920e44f4d11
Caching => 2ea51c485d8b39a47715e78f1d4339dca73325f3
Common => 75b76ebb8129b2080bca88eb456675abf63ddab3
Configuration => 31ccce65721c1795a0524b7faba4df02f70e9f09
CORS => 600ad20172
DataProtection => 897ece74d2
DependencyInjection => 5eaada4f77aef38a8787de6ab1798dee0ada729a
Diagnostics => 1e7a4a2feb
DotNetTools => afa50972e8
EntityFrameworkCore => a3b06b4545d8f947ff1cd453202c4cabd738a70d
EventNotification => fa302c70376ebdcb5858a5164a4fe2c7373702d4
FileSystem => 35a86f9682b409094cc06cea96c34a52c26d130b
Hosting => 10a56f1981
HtmlAbstractions => 7218eec050
HttpAbstractions => 7f0602d2b1
HttpClientFactory => e4dcc6d8328af4d527842ae9241d5f30a581f911
HttpSysServer => e65e4511e7
Identity => 87a956e494
IISIntegration => d216fb14f5
JavaScriptServices => 04b8c17bdd
JsonPatch => 49913ff380
KestrelHttpServer => ac84d9b2fd
Localization => 15e7b9c7db
Logging => 5f96f2e5440ced13d66df01287d1f41c1558ddef
MetaPackages => b8c708510d
Microsoft.Data.Sqlite => c2a6bd97f33d50d026d0306aad10501b37c10fd1
MusicStore => 45067922e5
Mvc => bbcee05142
MvcPrecompilation => 0d69df5a75
Options => b019acac251c24983b93368b06ecfcb3ffbf7604
Proxy => e51c23688049861b3515673262f8fb27afc54c21
Razor => 12157aca8b
ResponseCaching => bfd1709dac
Routing => 454bf3ca07
Scaffolding => 051eda20102b88835ff4161432abb651f2b6f3b9
Security => d24d4fa99f
ServerTests => b04d43d685
Session => 0dfbf64cf4
SignalR => 827a9b3f83
StaticFiles => 9e88b430bb
Templating => b96c8ca3fe
Testing => 71cb643427688496b8477792f8b272a07c6adc73
WebHooks => ec2cf47fb195313e0571e1d095f253159b884adf
WebSockets => 684c4e3ddc

[auto-updated: submodules]
2018-03-19 09:16:17 -07:00
Chris Ross (ASP.NET) 7f0602d2b1 Merge branch 'release' into dev 2018-03-19 09:11:19 -07:00
richardhopton f6f89554c9 Fix trimming line if CR not directly before LF (#1006)
If the line contains a CR in any location than directly before the LF it would detect a valid line and then trim 2 characters from the end of the line, losing a "real" character.
2018-03-19 09:09:57 -07:00
Chris Ross fe7587cdb5 Add new HostFiltering package 2018-03-19 09:07:29 -07:00
David Fowler 827a9b3f83 Merge branch 'release/2.1' into dev 2018-03-19 08:44:23 -07:00
Ryan Nowak bbcee05142 Merge branch 'release/2.1' into dev 2018-03-19 08:21:16 -07:00
ASP.NET CI 9d62397867 Updating submodule(s)
Mvc => 4875856974

[auto-updated: submodules]
2018-03-19 08:09:32 -07:00
hede f85be6a0c0 fix typo in ApiController XMLDoc 2018-03-19 08:09:10 -07:00
Ryan Nowak 75df1664e7 Merge branch 'release/2.1' into dev 2018-03-19 08:06:45 -07:00
Ryan Nowak 4875856974 Fix #4604 for good 2018-03-19 08:04:27 -07:00
ASP.NET CI d92890330c Updating submodule(s)
SignalR => cf7c8629ff

[auto-updated: submodules]
2018-03-19 00:25:07 -07:00
David Fowler cf7c8629ff
Use ActivatorUtlities.CreateFactory instead of CreateInstance (#1643)
* Use ActivatorUtlities.CreateFactory instead of CreateInstance
- Turns out CreateFactory is much much faster
- Added a benchmark for hub activation
2018-03-19 00:19:54 -07:00
ASP.NET CI 2e6d9cd0fc Updating submodule(s)
SignalR => d4d5a08bc2

[auto-updated: submodules]
2018-03-18 22:38:27 -07:00
David Fowler 45f4beccb9 Merge branch 'release/2.1' into dev 2018-03-18 22:34:42 -07:00