Commit Graph

161 Commits

Author SHA1 Message Date
James Newton-King 44f5b54f5f
React to routing API review (#8194) 2018-08-02 13:37:43 +12:00
Doug Bunting c34830f9de
Use OSS package versions consistent with aspnet/benchmarks and Microsoft.AspNetcore.All 2.1.2
- update our own NuGet packages to align lower-level dependencies
- add metadata to BasicApi controllers
  - avoids analyzer failures when building with Microsoft.AspNetCore.All e.g. in benchmark runs
  - especially important in `PetController` because it's associated with `[ApiContoller]`
- use pooled `DbContext`s for MySql too
2018-08-01 11:04:33 -07:00
ASP.NET CI 29f3e94fd1 Update dependencies.props
[auto-updated: dependencies]
2018-07-29 12:20:41 -07:00
Ryan Nowak fbae57cde1 React to the removal of EndpointConstraint 2018-07-28 19:03:16 -07:00
James Newton-King c01c7075be
Add EndpointMetadata to ActionDescriptor and hookup CORS (#8158) 2018-07-28 16:12:54 +12:00
Kiran Challa bcd6e83591 Upgraded dependencies.props 2018-07-25 06:15:17 -07:00
Ryan Nowak b71d5da05e Fix test break due to 405 returned from routing 2018-07-24 22:15:32 -07:00
Kiran Challa 5580928209 Upgraded dependencies.props 2018-07-24 09:18:08 -07:00
Kiran Challa 9b217892ab Using routing feature branch versions to prevent cross repo breaking changes 2018-07-24 05:21:37 -07:00
Ryan Nowak 196e3f109f React to Routing branding
This is a reaction PR for the branding changes in progress in Routing.

This can be merged after the changes to in to Routing.
2018-07-22 19:47:15 -07:00
ASP.NET CI 3c73a98357 Update dependencies.props
[auto-updated: dependencies]
2018-07-22 12:21:04 -07:00
Ryan Nowak 5c488bf09c make feature branch build 2018-07-20 12:57:43 -07:00
Kiran Challa c1fab727a0 Upgraded dependencies.props 2018-07-17 10:09:36 -07:00
Kiran Challa dd252c0ccc Updated dependencies.props to use feature branch versions 2018-07-17 05:24:51 -07:00
ASP.NET CI 4f42432853 Update dependencies.props
[auto-updated: dependencies]
2018-07-15 12:22:00 -07:00
ASP.NET CI d2cfbd2671 Update dependencies.props
[auto-updated: dependencies]
2018-07-08 12:22:39 -07:00
Nate McMaster 224017c762
Update CI and build tools for to use 2.2 versions 2018-06-29 11:33:02 -07:00
Kiran Challa 66cb3d50aa Upgraded dependencies.props 2018-06-29 04:48:28 -07:00
Kiran Challa 0295f6d6e3 Revert "Using Routing feature branch package"
This reverts commit 13585f711f.
2018-06-29 04:39:32 -07:00
Kiran Challa 13585f711f Using Routing feature branch package 2018-06-28 13:27:15 -07:00
ASP.NET CI f15457c026 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:23:45 -07:00
Doug Bunting 53857d052f
Add BasicApi and BasicViews apps
- #7805
- make initial copy of apps from aspnet/Performance repo
  - add apps to solution
  - add Readme for the benchmark apps
- update BasicApi app to actually do authentication and authorization
  - bug in the ported app
- refactor `Main` methods and add `CreateWebHostBuilder(...)` methods
- change projects to understand `$(BenchmarksTargetFramework)`
  - use NuGet.org EF packages to avoid changing the Universe build graph
- use SQLite instead of LocalDb by default
  - remove unnecessary appsettings.json files and JSON configuration support
- add EF migrations
  - (greatly) reduce startup times compared to creating / deleting databases
- add MySql, PostgreSQL, and SqlServer support
  - load BasicApi data in a `DbContext.OnModelCreating(...)` override
    - no longer need seed.sql
  - generalize migrations to support multiple providers
  - use negative seeding indices to work around npgsql/Npgsql.EntityFrameworkCore.PostgreSQL#36
  - work around Pomelo lack of strong name (PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#603)
  - use BenchmarksOnly* properties for EF dependencies
    - see also aspnet/Universe#1224
- drop databases (if SQLite) or migrations (otherwise) in `IApplicationLifetime.ApplicationStopping` handlers
- add functional tests
  - drop SQLite database at end of test run
- add benchmarks automation
  - add anonymous BasicApi action i.e. require no authorization
  - add non-antiforgery BasicViews actions

Address PR comments
- remove `AntiforgeryTestHelper` workarounds
- use `[ApiController]`
- use `ActionResult<Pet>`
- remove unused classes

nits:
- take VS suggestions in added files
- optionally display create and delete SQL scripts for per-database migrations
- merge `InsertData(...)` calls for consistency with most supported EF providers
  - SQLite is the only one that requires separate `INSERT`s and EF does the splitting
2018-06-22 16:41:17 -07:00
Ajay Bhargav Baaskaran 3d32b6da2f
Upgrade deps and unskip tests (#7936) 2018-06-19 14:58:40 -07:00
Pranav K 4634a97fae Use older shared runtime 2018-06-18 09:20:08 -07:00
Pranav K bc49a82d02
Use feature branch package of Localization 2018-06-15 11:12:57 -07:00
Pranav K a7bc5d6d40
Use feature branch build of Routing to fix build break 2018-06-15 10:34:11 -07:00
James Newton-King a7406d4497
Add MvcEndpointDataSource and functional tests (#7886) 2018-06-14 11:03:45 +12:00
Pranav K 6c2ef122f8 Add support for conventions in DefaultApiDescriptionProvider 2018-06-11 16:07:09 -07:00
Ryan Brandenburg b7064c576d Use templates for VSTS builds 2018-06-07 12:37:01 -07:00
ASP.NET CI 839223756b Update dependencies.props
[auto-updated: dependencies]
2018-06-03 19:22:37 +00:00
ASP.NET CI dacbb41478 Update dependencies.props
[auto-updated: dependencies]
2018-05-27 19:23:26 +00:00
ASP.NET CI 330b74f0ab Update dependencies.props
[auto-updated: dependencies]
2018-05-20 19:40:46 +00:00
Pranav K e1eaf6a6e0
Cleanup TestCommon 2018-05-18 10:45:57 -07:00
Pavel Krymets a736441ca5
Enable analyzers (#7789) 2018-05-18 10:26:42 -07:00
ASP.NET CI 57eb52ad47 Update dependencies.props
[auto-updated: dependencies]
2018-05-13 14:17:20 -07:00
Ryan Brandenburg 9f7629b448 Upgrade to netcoreapp22 2018-05-08 10:51:17 -07:00
Pranav K f52c9c0f97 Update analyzer tests to use Microsoft.AspNetCore.Analyzer.Testing 2018-05-07 16:06:01 -07:00
Ryan Nowak 9007f5422d Bump Roslyn dependency to 2.8.0
(cherry picked from commit a8e1a1fd40)
2018-05-07 12:38:10 -07:00
ASP.NET CI 4e97bfe957 Update dependencies.props
[auto-updated: dependencies]
2018-05-06 12:24:44 -07:00
ASP.NET CI b3087ab774 Update dependencies.props
[auto-updated: dependencies]
2018-04-29 12:25:33 -07:00
ASP.NET CI 1b9372f5b0 Update dependencies.props
[auto-updated: dependencies]
2018-04-23 12:18:21 -07:00
Pranav K d0b0c6ae34
Update dependencies.props and KoreBuild version 2018-04-20 14:41:40 -07:00
Pranav K 9875fffc80
Merge remote-tracking branch 'origin/release/2.1' into dev 2018-04-20 14:37:27 -07:00
ASP.NET CI 31f9432a39 Update dependencies.props
[auto-updated: dependencies]
2018-04-19 22:30:20 -07:00
Nate McMaster 8ec3870a92
Set NETStandardImplicitPackageVersion via dependencies.props 2018-04-19 16:43:15 -07:00
Ryan Brandenburg 864a4e39c3 Branching for 2.1.0-rc1 2018-04-16 17:00:28 -07:00
Pranav K d8fc2d4009 Fix test failures
* Disable deps file generation in class library project. This workarounds known issue - https://github.com/dotnet/core-setup/issues/3726
* Update RazorProjectRouteModelProvider to not specify a trailing slash. This produces paths with a single slash as opposed to two slashes messing with route creation.
* React to Microsoft.AspNetCore.Mvc.Razor.Extensions.Reference that shows up in the deps file.
2018-04-15 16:31:41 -07:00
ASP.NET CI 128c7e0a17 Update dependencies.props
[auto-updated: dependencies]
2018-04-15 14:19:34 -07:00
Pranav K 3db924003e Use VirtualRazorProjectSystem for Razor tests 2018-04-09 15:27:03 -07:00
ASP.NET CI 8e323a8e1e Update dependencies.props
[auto-updated: dependencies]
2018-04-03 22:35:30 +00:00