Commit Graph

40221 Commits

Author SHA1 Message Date
ASP.NET CI a3ff5cfef7 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:20:42 -07:00
ASP.NET CI cf659b3fda Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:20:23 -07:00
ASP.NET CI 2da2482671 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:17:31 -07:00
ASP.NET CI d92c2732c5 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:16:37 -07:00
ASP.NET CI b44f8f61d1 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:16:17 -07:00
ASP.NET CI 6d6b7785d2 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:15:38 -07:00
ASP.NET CI fdf97c547e Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:15:22 -07:00
ASP.NET CI 2a98db6a73 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:14:55 -07:00
ASP.NET CI b882d97277 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:11:57 -07:00
ASP.NET CI 7f463b2793 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:11:22 -07:00
ASP.NET CI 678fe889c3 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:10:29 -07:00
ASP.NET CI 32ad46006e Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:10:13 -07:00
ASP.NET CI 68a14eecf1 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:08:09 -07:00
ASP.NET CI dd3eda2fe4 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:06:27 -07:00
ASP.NET CI bbded609b2 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:06:05 -07:00
ASP.NET CI 164c6cdfcb Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:05:47 -07:00
ASP.NET CI fb630c8ba2 Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:03:58 -07:00
ASP.NET CI 914a624951 Updating submodule(s)
IISIntegration => bc345bc8e7

[auto-updated: submodules]
2018-06-25 09:07:39 -07:00
Pavel Krymets bc345bc8e7
Reduce usage of static inprocess application (#962) 2018-06-25 08:46:16 -07:00
Pavel Krymets d3d257b90e
Add tracing to shimconfig (#964) 2018-06-25 08:44:02 -07:00
Pavel Krymets aeebcdefc1
Switch to tracing macros in application info (#965) 2018-06-25 08:38:46 -07:00
ASP.NET CI 72ff52fb51 Updating submodule(s)
Mvc => 94a7c83998

[auto-updated: submodules]
2018-06-25 08:32:20 -07:00
Pranav K 94a7c83998
Change DefaultApiConventions (#7939)
* Change DefaultApiConventions

* Introduce attributes for matching by name and type.

* Move discovery of ApiConventionAttribute to ApiBehaviorApplicationModelProvider. This is required
for us to detect during startup if the convention is incorrectly authored.
2018-06-25 08:24:30 -07:00
Steve Sanderson b275055835 JavaScript interop v3 (#1033)
* JavaScript interop via new IJSRuntime abstraction

* CR feedback
2018-06-25 15:14:42 +01:00
Anthony Chu dcd9cf7481 Add check for `wwwroot/` unix path separator (#1018) 2018-06-25 12:13:12 +01:00
Stefan Nikolei 61d6d71e8c Fix right mouse click on <a href> in firefox (#1010)
* Check if the left mouse is pressed

* using button instead of which
2018-06-25 12:11:15 +01:00
ASP.NET CI 33aae776b4 Updating submodule(s)
MvcPrecompilation => 3fe25e9b34

[auto-updated: submodules]
2018-06-23 17:28:17 -07:00
Doug Bunting 3fe25e9b34 Skip flaky tests
- #277
- see also aspnet/Coherence-Signed#887
2018-06-23 17:23:23 -07:00
ASP.NET CI 0be449ae04 Updating submodule(s)
Mvc => 53857d052f

[auto-updated: submodules]
2018-06-23 08:12:36 +00:00
Doug Bunting f47e86439d Support packages both built in Universe and used as external dependencies
- `AnalyzeBuildGraph` fix should correct Update Universe build break
- `VerifyCoherentVersions` fix should correct UniverseCoherence build break

nits:
- add and rename a couple of variables for clarity and reduced repetition
- remove and sort `using`s
2018-06-23 00:34:33 -07:00
Doug Bunting 7c2d0058d2
Merge pull request #1225 from aspnet/dougbu/fix.build
Give BenchmarksOnly* `<ExternalDependency>`s `VariableName` metadata
2018-06-22 22:53:59 -07:00
Doug Bunting 15074b638c
Give BenchmarksOnly* `<ExternalDependency>`s `VariableName` metadata
- should improve `UpgradeDependencies` at least in MVC repo
- hopefully will also correct build break in Update Universe builds
2018-06-22 22:32:22 -07:00
Doug Bunting 928a81155e
Add external dependencies used only in MVC benchmarks apps
- part of aspnet/Mvc#7805
2018-06-22 16:46:42 -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
ASP.NET CI 5fd7a5512b Updating submodule(s)
IISIntegration => 32121abde3

[auto-updated: submodules]
2018-06-22 15:34:00 -07:00
Justin Kotalik 32121abde3
Fixes exit(0) with hostable webcore (#966) 2018-06-22 15:29:28 -07:00
John Luo 2cd777f061 Bust MSBuild cache on retries 2018-06-22 10:26:49 -07:00
ASP.NET CI 984535093f Updating submodule(s)
Microsoft.Data.Sqlite => 9ee211fe013e39cf1739e4446282236e8f217dc8

[auto-updated: submodules]
2018-06-22 10:16:48 -07:00
ASP.NET CI 0a5285bed3 Updating submodule(s)
IISIntegration => 9d1ffa2d06

[auto-updated: submodules]
2018-06-22 09:42:16 -07:00
Pavel Krymets 9d1ffa2d06
Use guid for temp directories and delete them after tests (#963) 2018-06-22 09:38:21 -07:00
ASP.NET CI 55bae4d118 Updating submodule(s)
IISIntegration => b12c9b33f7

[auto-updated: submodules]
2018-06-22 07:41:14 -07:00
Pavel Krymets b12c9b33f7
Cleanup where.exe invocation (#958) 2018-06-22 07:36:46 -07:00
ASP.NET CI b09a994818 Updating submodule(s)
Mvc => 6911e192e4

[auto-updated: submodules]
2018-06-22 07:02:32 -07:00
Pranav K 6911e192e4
Add IsRequired and DefaultValue to ApiParameterDescription 2018-06-22 06:51:58 -07:00
ASP.NET CI 0363147749 Updating submodule(s)
IISIntegration => da206e8afe

[auto-updated: submodules]
2018-06-21 18:40:56 -07:00
Justin Kotalik da206e8afe
Create a separate sln for V1 (#944) 2018-06-21 18:00:22 -07:00
ASP.NET CI c3c885aca9 Updating submodule(s)
Routing => 30fcfb65ea

[auto-updated: submodules]
2018-06-22 00:25:24 +00:00
Ryan Nowak 30fcfb65ea Productionize Path tokenization 2018-06-21 17:13:03 -07:00
ASP.NET CI 34ef728e33 Updating submodule(s)
IISIntegration => 306ab78b88

[auto-updated: submodules]
2018-06-21 16:53:12 -07:00
Justin Kotalik 306ab78b88
Fix App_offline and start adding tests (#953) 2018-06-21 16:35:11 -07:00