Hao Kung
c9499e14e4
Run helix tests on master ( #6728 )
2019-02-07 09:20:08 -08:00
Javier Calvarro Nelson
f456e3d153
[Components] [ Fixes #6953 , #7226 ]
...
* Moves the Synchronization context from the remote renderer to the base renderer.
* Removes all the locking from the base renderer.
2019-02-07 07:03:52 -08:00
Doug Bunting
cf9e459da7
Add link to ASP.NET API Versioning project
2019-02-06 14:31:35 -08:00
dotnet-maestro[bot]
80846317b5
Update dependencies from 5 repositories ( #7132 )
...
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190129.2
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19079-02
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19079-02
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19079-02
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19079-02
* Update dependencies from https://github.com/dotnet/corefx build 20190129.11
This change updates the following dependencies
- System.ComponentModel.Annotations - 4.6.0-preview.19079.11
- Microsoft.CSharp - 4.6.0-preview.19079.11
- Microsoft.Win32.Registry - 4.6.0-preview.19079.11
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview.19079.11
- System.Security.Cryptography.Cng - 4.6.0-preview.19079.11
- System.Reflection.Metadata - 1.7.0-preview.19079.11
- System.Security.Cryptography.Pkcs - 4.6.0-preview.19079.11
- System.Security.Cryptography.Xml - 4.6.0-preview.19079.11
- System.Security.Permissions - 4.6.0-preview.19079.11
- System.Security.Principal.Windows - 4.6.0-preview.19079.11
- System.ServiceProcess.ServiceController - 4.6.0-preview.19079.11
- System.Text.Encodings.Web - 4.6.0-preview.19079.11
- System.Threading.Channels - 4.6.0-preview.19079.11
- System.Data.SqlClient - 4.7.0-preview.19079.11
- System.Diagnostics.DiagnosticSource - 4.6.0-preview.19079.11
- System.Diagnostics.EventLog - 4.6.0-preview.19079.11
- System.Net.Http.WinHttpHandler - 4.6.0-preview.19079.11
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview.19079.11
- System.Numerics.Vectors - 4.6.0-preview.19079.11
- System.IO.Pipelines - 4.6.0-preview.19079.11
* Update dependencies from https://github.com/dotnet/core-setup build 20190129.4
This change updates the following dependencies
- Microsoft.DotNet.PlatformAbstractions - 3.0.0-preview-27329-4
- Microsoft.Extensions.DependencyModel - 3.0.0-preview-27329-4
- Microsoft.NETCore.App - 3.0.0-preview-27329-4
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190129.4
This change updates the following dependencies
- dotnet-ef - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview.19079.4
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190130.2
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19080-02
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19080-02
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19080-02
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19080-02
* Update dependencies from https://github.com/dotnet/corefx build 20190130.5
This change updates the following dependencies
- System.ComponentModel.Annotations - 4.6.0-preview.19080.5
- Microsoft.CSharp - 4.6.0-preview.19080.5
- Microsoft.Win32.Registry - 4.6.0-preview.19080.5
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview.19080.5
- System.Security.Cryptography.Cng - 4.6.0-preview.19080.5
- System.Reflection.Metadata - 1.7.0-preview.19080.5
- System.Security.Cryptography.Pkcs - 4.6.0-preview.19080.5
- System.Security.Cryptography.Xml - 4.6.0-preview.19080.5
- System.Security.Permissions - 4.6.0-preview.19080.5
- System.Security.Principal.Windows - 4.6.0-preview.19080.5
- System.ServiceProcess.ServiceController - 4.6.0-preview.19080.5
- System.Text.Encodings.Web - 4.6.0-preview.19080.5
- System.Threading.Channels - 4.6.0-preview.19080.5
- System.Data.SqlClient - 4.7.0-preview.19080.5
- System.Diagnostics.DiagnosticSource - 4.6.0-preview.19080.5
- System.Diagnostics.EventLog - 4.6.0-preview.19080.5
- System.Net.Http.WinHttpHandler - 4.6.0-preview.19080.5
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview.19080.5
- System.Numerics.Vectors - 4.6.0-preview.19080.5
- System.IO.Pipelines - 4.6.0-preview.19080.5
* Update dependencies from https://github.com/dotnet/core-setup build 20190130.4
This change updates the following dependencies
- Microsoft.DotNet.PlatformAbstractions - 3.0.0-preview-27330-4
- Microsoft.Extensions.DependencyModel - 3.0.0-preview-27330-4
- Microsoft.NETCore.App - 3.0.0-preview-27330-4
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190130.1
This change updates the following dependencies
- dotnet-ef - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview.19080.1
* Update dependencies from https://github.com/aspnet/Extensions build 20190129.8
This change updates the following dependencies
- Internal.AspNetCore.Analyzers - 3.0.0-preview.19079.8
- Microsoft.Extensions.WebEncoders - 3.0.0-preview.19079.8
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview.19079.8
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview.19079.8
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration - 3.0.0-preview.19079.8
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview.19079.8
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview.19079.8
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview.19079.8
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview.19079.8
- Microsoft.AspNetCore.Testing - 3.0.0-preview.19079.8
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview.19079.8
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview.19079.8
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.Primitives - 3.0.0-preview.19079.8
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview.19079.8
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Options - 3.0.0-preview.19079.8
- Microsoft.Extensions.ObjectPool - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Console - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging - 3.0.0-preview.19079.8
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Localization - 3.0.0-preview.19079.8
- Microsoft.Extensions.Http - 3.0.0-preview.19079.8
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Hosting - 3.0.0-preview.19079.8
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview.19079.8
- Microsoft.JSInterop - 3.0.0-preview.19079.8
* Add json.net reference to UI package directly
* fix new package
* latest package
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190131.3
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19081-03
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19081-03
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19081-03
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19081-03
* Update Versions.props
* Update Versions.props
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190201.4
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19101-04
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19101-04
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19101-04
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19101-04
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190203.1
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19103-01
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19103-01
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19103-01
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19103-01
* Update Versions.props
* Update BasicWebSite.Home.CSharp7View.html
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190204.4
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19104-04
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19104-04
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19104-04
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19104-04
* Update dependencies from https://github.com/dotnet/core-setup build 20190204.9
This change updates the following dependencies
- Microsoft.DotNet.PlatformAbstractions - 3.0.0-preview-27404-9
- Microsoft.Extensions.DependencyModel - 3.0.0-preview-27404-9
- Microsoft.NETCore.App - 3.0.0-preview-27404-9
* Update dependencies from https://github.com/aspnet/Extensions build 20190205.3
This change updates the following dependencies
- Internal.AspNetCore.Analyzers - 3.0.0-preview.19105.3
- Microsoft.JSInterop - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview.19105.3
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview.19105.3
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration - 3.0.0-preview.19105.3
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview.19105.3
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview.19105.3
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview.19105.3
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview.19105.3
- Microsoft.AspNetCore.Testing - 3.0.0-preview.19105.3
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview.19105.3
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview.19105.3
- Microsoft.Extensions.WebEncoders - 3.0.0-preview.19105.3
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.Primitives - 3.0.0-preview.19105.3
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview.19105.3
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Options - 3.0.0-preview.19105.3
- Microsoft.Extensions.ObjectPool - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Console - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging - 3.0.0-preview.19105.3
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Localization - 3.0.0-preview.19105.3
- Microsoft.Extensions.Http - 3.0.0-preview.19105.3
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Hosting - 3.0.0-preview.19105.3
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview.19105.3
* Update Versions.props
* Update Versions.props
2019-02-05 14:07:36 -08:00
Pranav K
094c531e5d
Fix test
2019-02-05 10:56:31 -08:00
Pranav K
314ec6d1a9
Add a TypeForward for JsonResult
...
Fixes https://github.com/aspnet/AspNetCore/issues/7220
2019-02-05 10:56:31 -08:00
Doug Bunting
e2c67bab78
Remove benchmark apps from Mvc.sln
...
- follow up to 61bc18fee3
2019-02-04 09:22:33 -08:00
Sébastien Ros
61bc18fee3
Exclude benchmark apps from builds ( #7171 )
2019-02-01 17:57:47 -08:00
Alexej Timonin
8f6853e155
Fix ReplaceTokens bug in AttributeRouteModel ( #6957 )
2019-02-02 11:57:18 +13:00
James Newton-King
574be0d22c
Add readonly modifier to readonly structs ( #7169 )
2019-02-01 15:04:25 +13:00
Javier Calvarro Nelson
7ea4a5f778
[MVC] Normalize dependencies under the _dependencies folder in the solution ( #7128 )
2019-01-30 08:54:34 -08:00
Pranav K
0f072a9565
Reintroduce a package for Razor runtime compilation ( #6653 )
...
* Reintroduce a package for Razor runtime compilation
Fixes https://github.com/aspnet/AspNetCore/issues/4947
2019-01-29 09:34:43 -08:00
Pavel Krymets
f06e1822f5
Enable strict mode in roslyn compiler ( #6950 )
2019-01-28 15:56:27 -08:00
Patrick Westerhoff
1bc056a7f6
Introduce IUrlHelper.PageLink ( #6819 ) ( #6819 )
...
Add an extension method to generate an absolute URL for a page.
2019-01-28 15:42:10 -08:00
James Newton-King
4b8d9666f4
Add startvs.cmd for MVC and Security solutions ( #6943 )
...
* Add startvs.cmd for MVC
* Add startvs.cmd for Security
2019-01-28 15:37:14 -08:00
Chris Ross
7d4b6fccff
Clean up ManualResetEvent usage in tests ( #6961 )
2019-01-28 12:10:16 -08:00
Nate McMaster
ac04019e42
Remove obsolete build infrastructure ( #6995 )
...
Changes:
* Remove obsolete targets which are unnecessary now that this repo no longer builds git submodules in a separate build process
* Remove the need for static analysis of 'ArtifactInfo' items
* Simplify how the code signing task is configured
* Remove unused repo tasks
* Remove duplicate lists of external dependencies and packages to be produced
* Remove obsolete build definition
* Remove obsolete build script parameters
* Add VisualStudioSetupOutputPath
2019-01-28 09:57:59 -08:00
Pranav K
f2ee3201ae
No-op Authorization middleware for Razor Pages
...
Workaround for https://github.com/aspnet/AspNetCore/issues/7011
2019-01-25 15:38:23 -08:00
Nate McMaster
922512a9fb
Convert the artifacts folder layout to match Arcade ( #6850 )
...
Changes:
* IsProductPackage => IsShippingPackage
* artifacts/$config/packages => artifacts/packages/$config
* packages/product => packages/Shipping
* packages/internal => packages/NonShipping
* Renamed MSBuild properties used for output folders
* Update build tools to use 2 spaces in global.json
2019-01-18 13:38:24 -08:00
Pranav K
c04f66d25e
Mark Mvc.NewtonsoftJson as a shipping package ( #6842 )
2019-01-18 11:03:47 -08:00
Pranav K
89a7f3cf77
Introduce IUrlHelper.ActionLink ( #6775 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/4890
2019-01-18 09:22:04 -08:00
Javier Calvarro Nelson
15edd84d40
[MVC] Add MVC integration with Razor Components
...
* Adds RenderComponentAsync extension methods to IHtmlHelper that allow
for prerrendering of Razor components within MVC views.
2019-01-17 11:25:03 -08:00
Nate McMaster
53682c0548
Merge branch 'release/2.2'
2019-01-17 11:01:12 -08:00
Pranav K
cc892071b2
Fixup doc comments for ContentResult
...
Fixes https://github.com/aspnet/AspNetCore/issues/5159
2019-01-17 09:59:43 -08:00
Justin Kotalik
e6d547a923
Merge branch 'jkotalik/22temp' into jkotalik/masterMerge
2019-01-16 14:39:10 -08:00
John Luo
1bd5845b4c
Merge pull request #6735 from aspnet/johluo/merge22
...
Johluo/merge22
2019-01-16 11:43:35 -08:00
John Luo
17b6ce8bd6
Merge branch 'release/2.2'
2019-01-15 18:49:54 -08:00
James Newton-King
df7bfe5243
Unit test route name with RouteUrl and ambient values ( #6719 )
2019-01-16 13:57:13 +13:00
James Newton-King
92680b355f
Change consumes behavior to ignore requests with no content type ( #6645 )
2019-01-16 11:55:54 +13:00
James Newton-King
180f735ac8
Fix non-parameter route constraints not called with endpoint routing for 2.2 ( #6587 )
2019-01-16 11:16:35 +13:00
Chris Ross
6a44aca6a2
React to WebHostBuilderFactory changes ( #6460 )
2019-01-15 08:09:27 -08:00
James Newton-King
09b50850bc
Update AuthorizeFilter to no-op when AuthorizationMiddleware has run ( #6346 )
2019-01-15 20:29:23 +13:00
Pranav K
d93f4527b3
Fix typo
...
Fixes https://github.com/aspnet/AspNetCore/issues/6535
2019-01-14 17:15:19 -08:00
John Luo
c2aa2957f6
Merge fixes
2019-01-14 14:13:40 -08:00
John Luo
90a9fa7aac
Merge branch 'release/2.1' into release/2.2
2019-01-14 12:57:34 -08:00
Nate McMaster
7f7723bdf2
Consume dependencies updates automatically via darc ( #6676 )
...
This refactors the list of dependency versions to support consuming updates automatically via darc and maestro.
2019-01-14 12:01:31 -08:00
Nate McMaster
a9132ad26c
Switch agent queues used during Windows builds
2019-01-11 15:16:57 -08:00
Ryan Nowak
14e606997f
Fix #5116 Remove support for 2.0 precompilation
...
Obsoletes RazorViewAttribute and RazorPageAttribute and removes all of
our usage of them. I've already made the changes to have the SDK stop
generating these.
2019-01-10 15:38:10 -08:00
Pranav K
55ec35bb80
Cleanup MvcJsonHelper ( #6529 )
...
* Cleanup MvcJsonHelper
* Remove dependency on JsonOutputFormatter
* Cache JsonSerializer for the default case
2019-01-10 12:34:27 -08:00
John Luo
e5d943a7e3
Convert MvcPrecomp to Reference ( #6472 )
...
* Convert MvcPrecomp to use Reference and move to MVC
2019-01-09 18:48:01 -08:00
Nate McMaster
0f65d44482
Merge branch 'release/2.2'
2019-01-09 18:09:25 -08:00
Nate McMaster
a3f9b74bb9
Merge branch 'release/2.1' into release/2.2
2019-01-09 14:52:53 -08:00
Pranav K
cdc66c5f98
Move JSON.NET specific features to a separate assembly
2019-01-08 12:49:29 -08:00
David Fowler
d116ab8550
Remove ObjectPoolProvider from default set of hosting services ( #6437 )
...
- Added it where it was being used
- Updated tests
2019-01-08 12:05:48 -08:00
Nate McMaster
5d16f97965
Remove netcoreapp2.0 test TFMs ( #6461 )
...
.NET Core 2.0 reached EOL last year. This removes multi-targeting our test projects and test assets to only use .NET Core 2.1 and .NET Framework 4.6.1.
2019-01-08 11:20:09 -08:00
Ajay Bhargav Baaskaran
50996e3da1
Add missed reference to Razor SDK in Mvc test website ( #6367 )
2019-01-04 11:22:25 -08:00
Nate McMaster
436076fd55
Fix broken tests and VS solutions caused by source code reorganization and other build infra cleanup
...
Changes:
* Fix broken tests and VS solutions caused by source code reorganization
* Add a check to validate generated code and solutions on PRs
* backport some source code reorg to src/Identity
* Fix startvs.cmd if you've already run build.ps1
* Add PR checks for tests on Linux/macOS
* Skip broken Nginx tests
* Add conditions to skip IIS tests on non-Windows platforms
2019-01-04 10:00:26 -08:00
Doug Bunting
d689eede36
Revert "Work around `CryptographicException`s thrown in some full framework test runs"
...
- no longer support .NET Framework
This reverts commit 192e8073ee
2019-01-04 09:56:06 -08:00
Doug Bunting
69b5ab9c01
React to JwtBearer removal from Microsoft.AspNetCore.App
...
nits:
- remove NET461 special case
- remove reference to transitive Mvc.Core dependency
2019-01-04 09:56:06 -08:00
Doug Bunting
236ceb73c1
Remove Mvc.NoFun.sln
2019-01-03 16:13:34 -08:00
Nate McMaster
bfec2c14be
Merge branch 'release/2.2'
2019-01-03 12:18:01 -08:00
Doug Bunting
be7dfa30af
Use InputFormatterException for another case ( #6316 )
...
- #4917
nits:
- test `ExceptionPolicy` logic in an input formatter
- remove old Mono workarounds in `SerializaterErrorTests`
- fix typo in `SerializableErrorTests` (not using theory data)
2019-01-03 11:02:07 -08:00
Doug Bunting
c2df506894
Correct path to IIS Integration project
...
- react to 37291ea114
2019-01-03 10:51:47 -08:00
N. Taylor Mullen
afb92018f0
Produce log output for flakey test.
...
- For the flakey test replaced the default logger with Xunit's `ITestOutputHelper` in order to see what's going wrong when the flakey test will eventually fail.
aspnet/AspNetCore-Internal#1337
2019-01-02 20:48:38 -08:00
Pavel Krymets
0ae6cc8e88
Remove InplaceStringBuilder usages ( #6163 )
2019-01-02 15:50:19 -08:00
Nate McMaster
65ff6e951a
Merge branch release/2.1 into release/2.2
2019-01-02 14:34:45 -08:00
Pranav K
199e3f14a2
Look at ApiConventionType attributes defined on base types
...
Fixes https://github.com/aspnet/AspNetCore/issues/4951
2019-01-02 10:36:47 -08:00
Doug Bunting
f182b1adac
Add sufficient projects to Mvc.NoFun.sln for it to build in VS
...
nit: ignore .vscode/ directories
2019-01-02 10:24:10 -08:00
Pranav K
d52672748a
Do not throw when a status code with a codefix appears multiple times in the method body
...
Fixes https://github.com/aspnet/AspNetCore/issues/4480
2019-01-02 09:51:20 -08:00
Pranav K
02a8afea3d
Include dependencies in Mvc.sln
2019-01-01 07:49:22 +05:30
Nate McMaster
08dd1cd0ea
Fix build.cmd/sh for src/Mvc ( #6208 )
2018-12-31 15:51:13 -08:00
Ajay Bhargav Baaskaran
5a19fde191
Skip failing test
2018-12-26 02:00:31 -08:00
Ajay Bhargav Baaskaran
3787fbf3a3
Merge branch 'release/2.2'
2018-12-21 18:29:32 -08:00
Ajay Bhargav Baaskaran
af2461d524
Merge branch 'release/2.1' into release/2.2
2018-12-21 11:38:25 -08:00
Nate McMaster
c3beb1f9b1
build.cmd/sh changes ( #5958 )
...
Update the build scripts to support building subfolders or subgroups of projects
* Add build scripts for ci
* Remove obsolete scripts
* Add flags like --test and --pack to control running just test or packaging
* Add flags like --managed and --native to control building sub-types of projects
* Remove KoreBuild bootstrapper flags
* Update to extensions 3.0.0-preview.18619.1 (needed to get a fix for aspnet/Extensions#815 to make this change work on MSBuild.exe)
2018-12-20 16:52:15 -08:00
Ajay Bhargav Baaskaran
7f17d095d8
Convert Mvc to use Reference ( #6047 )
...
* Convert Mvc to use Reference
* Use ProjectReference for test assets
2018-12-20 16:27:32 -08:00
Nate McMaster
686ce02cc8
Remove code for building an analyzers package that never shipped ( #6053 )
...
Microsoft.AspNetCore.Analyzers didn't ship in 2.1, and we don't have plans to every ship it in a 2.1.x release.
2018-12-20 10:53:42 -08:00
James Newton-King
705bf63f1c
React to routing and update MVC dependencies ( #6046 )
2018-12-21 07:20:15 +13:00
dotnet-maestro-bot
7b77332441
[automated] Merge branch 'release/2.2' => 'master' ( #5892 )
2018-12-18 22:43:32 -05:00
Ajay Bhargav Baaskaran
b0b8986a19
Use shared source
2018-12-18 15:03:27 -08:00
Ajay Bhargav Baaskaran
eeabafa68f
Merge branch 'temp' into ajbaaska/merge-master
2018-12-18 14:44:25 -08:00
James Newton-King
03cb4a6e14
Add missing dependencies to the MVC dependencies.props ( #5714 )
2018-12-19 11:32:23 +13:00
Ajay Bhargav Baaskaran
2a696f6a1c
Merge branch 'release/2.2'
2018-12-18 12:50:01 -08:00
Nate McMaster
335c9be7b4
Update the artifacts directory organization and simplify publishing targets ( #5701 )
...
This simplifies the way that we publish files to our network drop share.
Changes:
* Instead of explicitly listing every file that needs to publish, use directories to classify packages and artifacts into different categories.
* Add documentation for the expected layout of artifacts/
* Remove the need for static analysis to determine which packages go to which project
* Add the MSBuild property "IsProductPackage" to .csproj files which ship as a package to NuGet.org.
2018-12-18 11:40:13 -08:00
Ajay Bhargav Baaskaran
647fbbac7b
Merge branch 'release/2.1' into ajbaaska/merge-22
2018-12-17 18:40:08 -08:00
Nate McMaster
0cd79cc4c1
Remove unused VS dependencies and old versions of .NET Core from dependencies ( #5317 )
...
As a result of removing Razor's VS projects and upgrading all projects to netcoreapp3.0, we no longer need dependency variable for .NET Core 1.x and 2.x and Visual Studio packages.
Changes:
* Remove 'StandardTestTfm'
* Remove variables for .NET Core 1.0, 1.1, 2.0, 2.1, and 2.2
* Remove VSIX variables
* Stop generating 'branding.props' - this hasn't been used in a while and is no longer needed
2018-12-17 16:28:33 -08:00
John Luo
62351067ff
Merge remote-tracking branch 'origin/master'
2018-12-17 15:16:28 -08:00
John Luo
b8db81898a
Merge remote-tracking branch 'origin/master'
2018-12-17 15:16:21 -08:00
Doug Bunting
f113a20dfd
Remove remaining `CompatibilitySwitch<T>` properties
...
- #4866 3 of 3
- other than ignored parameters and properties, no vestige remains of alternate behaviours
- also remove `AllowAreas` use outside src/Mvc
- left the `IEnumerable<ICompatibilitySwitch>` implementations to avoid `breakingchanges.netcore.json` churn
- made the implementations more consistent
- left one `ConfigureCompatibilityOptions<MvcOptions>` subclass: `MvcOptionsConfigureCompatibilityOptions`
- note `AllowShortCircuitingValidationWhenNoValidatorsArePresent` default now applies to `TryValidateModel(...)` etc.
nits:
- updated `CompatibilityVersion` doc comments
- "currently unused" -> "currently ignored" in doc comments from part 2
- took a few VS suggestions
- VS seems to have cleaned up some trailing whitespace in files I had opened but didn't manually change
2018-12-17 14:47:49 -08:00
John Luo
98636fed6d
Merge branch 'release/2.2'
2018-12-17 14:24:30 -08:00
Ajay Bhargav Baaskaran
b079041488
Convert Razor to use Reference ( #4954 )
2018-12-17 12:10:40 -08:00
James Newton-King
443b1449ff
Update Newtonsoft.Json to 12.0.1 and Newtonsoft.Json.Bson to 1.0.2 ( #5122 )
2018-12-18 08:55:37 +13:00
James Newton-King
cc899e2be7
Move EndpointModel and IEndpointConventionBuilder to HTTP abstractions ( #4274 )
2018-12-17 18:38:49 +13:00
Doug Bunting
708dc5cb5a
Remove many `CompatibilitySwitch<T>` properties ( #4628 )
...
- #7156 2 of 3
- will leave the `IEnumerable<ICompatibilitySwitch>` implementations to avoid `breakingchanges.netcore.json` churn
- will leave one `ConfigureCompatibilityOptions<MvcOptions>` subclass: `MvcOptionsConfigureCompatibilityOptions`
- a few options remain as regular properties:
- `ApiBehaviorOptions.SuppressMapClientErrors` (default `false`)
- `MvcOptions.EnableEndpointRouting` (default `true`)
- `MvcOptions.MaxValidationDepth` (default `32`)
- `MvcJsonOptions.AllowInputFormatterExceptionMessages` (default `true`)
nits:
- move `IsEffectivePolicy(...)` check earlier in `AuthorizeFilter`
- correct a typo or two
2018-12-16 19:33:27 -08:00
Nate McMaster
02780bac26
Merge branch 'release/2.2'
2018-12-14 16:03:16 -08:00
John Luo
f659f0acce
Merge branch 'release/2.1' into release/2.2
2018-12-14 15:48:40 -08:00
Justin Kotalik
68f0aff144
security to project ref ( #4618 )
2018-12-14 14:49:23 -08:00
Ryan Nowak
a7f6154520
Workaround #4804
...
This is a workaround for a workaround that currently have in d16p1.
The Razor SDK maps all netcoreapp3.0 projects to MVC-2.1 at design time,
however this only really works if you have the Razor.Design package.
Since we have internal builds available that support MVC-3.0 we can just
manually hardcode the correct targeting of the project.
2018-12-14 11:15:32 -08:00
Nate McMaster
feb641ddda
Merge branch 'release/2.1' into release/2.2
2018-12-14 09:44:15 -08:00
Nate McMaster
13ae0057fb
Replace .Sources package references with local code ( #4801 )
...
Replaces package references the following packages with local code:
Microsoft.AspNetCore.Certificates.Generation.Sources
Microsoft.Extensions.CopyOnWriteDictionary.Sources
Microsoft.Extensions.ClosedGenericMatcher.Sources
Microsoft.Extensions.ObjectMethodExecutor.Sources
Microsoft.Extensions.PropertyActivator.Sources
Microsoft.Extensions.PropertyHelper.Sources
Microsoft.Extensions.RazorViews.Sources
Microsoft.Extensions.SecurityHelper.Sources
Microsoft.Extensions.StackTrace.Sources
Microsoft.Extensions.WebEncoders.Sources
2018-12-14 08:36:36 -08:00
James Newton-King
dd662ed2a7
Fix compiling Mvc.sln in 2.2 ( #4955 )
2018-12-14 22:21:44 +13:00
Nate McMaster
f0990ec531
Fix build issues with IIS integration projects
...
Changes:
* Ensure IIS managed and pkg projects build after the native projects
* Update projects to build test
* Update CI checks to build on macOS and Linux
* Use package baselines to manage ANCM packages
2018-12-13 22:53:31 -08:00
Kahbazi
19276ce01c
Remove nameof from log events
2018-12-12 07:19:32 +05:30
James Newton-King
c6fa808a91
Change consumes behavior to ignore requests with no content type ( #4459 )
2018-12-11 17:55:20 +13:00
Nate McMaster
790ae47055
Merge branch 'release/2.2'
2018-12-10 17:41:14 -08:00
Nate McMaster
2c4d586809
Merge 'release/2.1' into release/2.2
...
Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
2018-12-10 15:56:42 -08:00
Pranav K
926034ac4e
Re-enable extensibility points for ExpressionHelper.GetExpressionText, ExpressionMetadataProvider.FromStringExpression ( #4494 )
...
* Re-enable extensibility points for ExpressionHelper.GetExpressionText, ExpressionMetadataProvider.FromStringExpression
Fixes https://github.com/aspnet/Mvc/issues/8724
2018-12-08 13:54:05 +05:30
Pranav K
027bf336da
Add event names for logs ( #6818 ) ( #4495 )
...
* Add event names for logs (#6818 )
2018-12-08 13:00:16 +05:30
Justin Kotalik
5f843f223e
[2.1] Make Antiforgery, ResponseCaching, StaticFiles, and Cors use project ref ( #4484 )
2018-12-07 14:30:50 -08:00
Nate McMaster
85e2147ff0
Merge branch 'release/2.2'
2018-12-07 11:11:44 -08:00
Pranav K
8a0fa732b0
Make RequiredAttributeAdapter public
...
Fixes https://github.com/aspnet/Mvc/issues/8744
2018-12-07 17:49:10 +05:30
Nate McMaster
569a14ecb8
Merge branch 'release/2.1' into release/2.2
2018-12-06 17:09:03 -08:00
James Newton-King
50ea144c57
Update MVC dependencies ( #4477 )
2018-12-07 11:01:47 +13:00
Ryan Nowak
e3773b6383
Remove Razor tooling projects
...
Removes the Razor compiler/tooling projects from this repo
2018-12-06 07:47:00 -08:00
James Newton-King
a07be53033
Rename UseEndpointRouting to UseRouting ( #4416 )
2018-12-06 21:26:10 +13:00
Justin Kotalik
0588b13f5b
Fix 2.1 build issues and remove obsolete build code ( #4443 )
...
- Stop producing the 'Universe' lineup package
- Removes all PackageLineup code
- Use full msbuild on Windows
- Fix invalid reference to internal.aspnetcore.sdk in 2.1.x
- Fix shared folder references for PackageArchive task.
2018-12-05 17:01:02 -08:00
Doug Bunting
929d7f3306
Obsolete old `CompatibilityVersion` values
...
- #7156 part 1 of ?
- add `CompatibilityVersion.Version_3_0` and make it the default
- remove tests of old versions
- also remove `CompatibilityVersion.Version_2_x` uses outside src/Mvc
- for functional tests of legacy routing, use `MvcOptions.EnableEndpointRouting` to control behaviour
- rename `StartupWith2xCompat...` classes to `StartupWithoutEndpointRouting`
- clean up comments mentioning `[Obsolete]` `CompatibilityVersion` values
- many of the affected options will be removed in subsequent PRs but this cleanup helps when searching entire repo
- correct `<value>` comments in `ApiBehaviorOptions`
nits:
- take VS suggestions in changed files
- remove src/SiteExtensions/global.json and let file in repo root "win"
- fix a few grammar errors VS or the spell checker noticed
- move `<value>` elements before `<remarks>` for consistency
- was undoing unintentional changes and noticed the inconsistency in a couple of additional files
2018-12-05 16:46:46 -08:00
Sébastien Ros
a51ff6e6ad
Updating benchmark apps for netcoreapp3.0 ( #4433 )
2018-12-05 12:42:14 -08:00
Doug Bunting
6a8d7dc12c
Fix Mvc test failures ( #4415 )
...
* Regenerate Mvc functional test baselines
- whitespace likely changed due to a recent Razor change (but there've been so many!)
* Don't trim response content in `RazorPagesTest.Page_SimpleForms_RenderAntiforgery()`
- was inconsistent with generated baseline and `Trim()` in similar tests is generally not needed or correct
* Skip test method causing remaining two src/Mvc failures
- #4417 opened to restore these tests
2018-12-05 11:30:09 -08:00
Nate McMaster
be3b66d1d1
Revert "Remove Razor tooling projects"
...
This reverts commit 3cfa6c0526 .
2018-12-05 08:40:49 -08:00
Ryan Nowak
3cfa6c0526
Remove Razor tooling projects
...
Removes the Razor compiler/tooling projects from this repo
2018-12-04 19:58:37 -08:00
N. Taylor Mullen
c0b74d916c
Add build.cmd to Mvc
2018-12-04 15:35:30 -08:00
N. Taylor Mullen
0728754d08
Update Mvc slns to be builidlable.
2018-12-04 15:35:30 -08:00
James Newton-King
6fc7e532f1
Update MVC dependencies ( #4395 )
2018-12-05 12:04:47 +13:00
James Newton-King
f157b78d93
MVC reaction to RoutePattern required values
2018-12-04 12:14:35 +13:00
Ryan Brandenburg
8a37389a9f
Fix RepositoryUrl for some repos
2018-11-28 14:54:47 -08:00
Ryan Brandenburg
a6b473dc2c
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in c9887e027a
2018-11-27 15:36:38 -08:00
Ryan Brandenburg
b659c82df6
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in a6199bbfba
2018-11-27 12:09:17 -08:00
Ryan Brandenburg
f4578f127c
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 5a4fd3e792
2018-11-27 10:43:55 -08:00