Ryan Nowak
258d34e382
Use coventional routes for link generation ( #9037 )
...
Use coventional routes for link generation
This change enables using conventional routes for link generation when
using MVC conventional routes. This change makes MVC link generation
behaviour highly compatible with 2.1.
The way that this works is that we create endpoints for **MATCHING**
using the denormalized conventional route, but we tell those endpoints
to suppress link generation.
For link generation we generate a non-matching endpoints per-route with
the same order value.
I added the concept of *required value any* to link generation. This is
needed because for an endpoint to participate in link generation using
RouteValuesAddress it needs to have some required values. These details
are a little fiddly, but I think it's worth doing this feature
completely.
2019-04-05 08:31:10 -07:00
Pranav K
896537bb8c
Update MessagePack-CSharp commit
2019-04-05 06:50:30 -07:00
Javier Calvarro Nelson
b825a6f81d
[Blazor] Update blazor VSIX icon ( #9102 )
2019-04-05 09:00:35 +02:00
Javier Calvarro Nelson
437134f1da
[Infrastructure] Standarize E2E test asserts and increase wait time ( #9080 )
...
* Standarize E2E test asserts and increase wait time
2019-04-05 09:00:11 +02:00
Ryan Brandenburg
23c88a14bf
Fix template baseline ( #9094 )
2019-04-05 07:06:16 +02:00
Adrian Wright
15eb05b8c8
Update Blazor survey link
2019-04-04 22:01:25 -07:00
Ryan Nowak
b142daeccb
[Blazor] Fix #9089 don't log mundane stuff at info level ( #9098 )
...
Reduce the noise of some logging that's really
only useful for troubleshooting/debugging.
2019-04-05 06:45:33 +02:00
Artak
1c3f890240
Fixing comment grammer
...
Addresses https://github.com/aspnet/AspNetCore/issues/9053
2019-04-04 20:49:14 -07:00
Pranav K
5b56dcb700
Add RazorLangVersion to Blazor templates ( #9081 )
...
* Add RazorLangVersion to templates
* Cleanup extra line in project template
2019-04-04 17:58:08 -07:00
Justin Kotalik
6266d56165
disable flaky test ( #9091 )
2019-04-04 15:55:12 -07:00
Martin Costello
0f0a388eab
Extend WebApplicationFactory<T> ( #7414 )
...
* Support host-agnostic services access
* Support host agnostic access to the IServiceCollection associated with
WebApplicationFactory<T>.
2019-04-05 00:21:48 +02:00
Pranav K
44b9b520c3
Cleanup extra line in project template
2019-04-04 14:44:50 -07:00
Pranav K
9ada6113a3
Add RazorLangVersion to templates
2019-04-04 14:44:50 -07:00
Justin Kotalik
e863da19d0
Run Project templates in separate test check ( #8966 )
2019-04-04 14:32:45 -07:00
Javier Calvarro Nelson
b9e600a45c
Renames for blazor server-side, inclusion in shared framework, and other renaming fixes ( #9001 )
...
* Move contents of Microsoft.AspNetCore.Components.Services namespace to Microsoft.AspNetCore.Components
* Rename Components to Blazor
* Make Blazor server-side part of the shared framework.
2019-04-04 21:36:36 +02:00
Javier Calvarro Nelson
98d8b9ab4a
[Infrastructure] Retry yarn install on failure ( #9068 )
...
* [Infrastructure] Retry yarn install on failure
2019-04-04 20:39:52 +02:00
Ryan Brandenburg
fefffd7751
Test all links in templates ( #8628 )
...
Improve templating tests
2019-04-04 11:31:24 -07:00
Javier Calvarro Nelson
237b19b2b9
[Blazor] Add more eslint rules and apply auto fixes ( #9004 )
2019-04-04 20:22:12 +02:00
Artak
facb0018eb
Added the submodules initialization step
2019-04-04 10:36:14 -07:00
David Fowler
4f1104363e
Make TestServer IAsyncDisposable ( #9059 )
...
- This should make it a bit more maintainable than it is today (having to call server.StopAsync before Dispose calls it synchronously)
2019-04-04 10:07:03 -07:00
Artak Mkrtchyan
d27ce10629
Added back the important usings
2019-04-04 10:04:06 -07:00
Artak
6be7bea82d
Update Startup.cs
2019-04-04 10:04:06 -07:00
Artak
b8dd263c90
Added missing usings
2019-04-04 10:04:06 -07:00
Artak
ef46c364fd
Adding `using Microsoft.Extensions.Configuration`
2019-04-04 10:04:06 -07:00
Artak Mkrtchyan
8c287bc7e5
Remove unused `using`-s from Program and Startup classes
2019-04-04 10:04:06 -07:00
Ryan Brandenburg
96d282319d
Remove extra newline ( #9051 )
2019-04-04 09:57:27 -07:00
BrennanConroy
074b1757d7
Report JUnit test results for SignalR TS tests ( #9058 )
2019-04-04 08:21:19 -07:00
Stafford Williams
73ec62adbd
Added Crankier docs ( #9044 )
...
Docs describing usage of Crankier
2019-04-04 08:06:23 -07:00
Andrew Stanton-Nurse
6b2c479c59
Update certificate for SignalR Java client ( #9048 )
2019-04-04 07:59:16 -07:00
Pranav K
5b71a24b4f
Fixup
...
\n\nCommit migrated from f6dd261211
2019-04-04 06:05:46 -07:00
Nate McMaster
518b879895
Install VS 2019 RTM, not Preview, from scripts ( #9057 )
2019-04-04 05:18:51 -07:00
Steve Sanderson
42511e8652
Replace Blazor CLI tool with new DevServer package ( #9028 )
2019-04-04 09:47:56 +01:00
Javier Calvarro Nelson
57940a23aa
[Components] Avoid creating two connections when resuming circuits
...
* Fix double connection bug
* Fix broken tests
* Add test to detect two connections
* clean up tests
* Fix test bug
* Isolate duplicate connection tests
2019-04-04 08:19:05 +02:00
Pranav K
37275e5fd5
Do not generate MVC attributes unless necessary
...
Fixes https://github.com/aspnet/AspNetCore/issues/8161
\n\nCommit migrated from a976b80c7c
2019-04-03 21:57:08 -07:00
Mikael Mengistu
722a34cd56
Up the SignalR test timeout to match Kestrel's ( #8563 )
2019-04-03 16:36:40 -07:00
Stephen Halter
102ba0c9c5
Merge pull request #8956 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2019-04-03 14:51:59 -07:00
Hao Kung
79beaea734
[Identity] Guard against null user security stamps ( #8300 )
...
Also fix up some UI issues
2019-04-03 12:32:58 -07:00
dotnet-bot
a33a315644
Merge in 'release/2.2' changes
2019-04-03 18:25:26 +00:00
Ajay Bhargav Baaskaran
01e9d70207
Decode HTML entities ( dotnet/aspnetcore-tooling#379 )
...
* Decode HTML entities
\n\nCommit migrated from 6b7b9a3bc3
2019-04-03 10:03:42 -07:00
Steve Sanderson
3657a429eb
Server-side Blazor template cleanups for Preview 4 ( #9025 )
...
* Rename Host.cshtml to _Host.cshtml
* In Startup.cs, specify root component and selector explicitly so you can easily disable prerendering if desired
* Remove unneccesary dependency on NewtonsoftJson package
* Remove unnecessary MapRazorPages and make blank lines consistent
* Rename "Services" subdirectory to "Data"
* Remove favicon.ico (no longer needed since we switched to MapFallbackToPage
* Revert MapComponentHub change due to reasons
2019-04-03 17:00:20 +01:00
Doug Bunting
ec82890133
Merge branch 'release/2.1' into release/2.2
...
- move to latest release/2.2 commit from aspnet/EntityFrameworkCore
2019-04-03 08:42:07 -07:00
Doug Bunting
edb91d0f4d
Include `%(DocumentName)` when invoking the default document generator tool ( #8982 )
...
- #8319
* Skip dotnet-watch `RenameCompiledFile()` test
- #8987
* Quote path and name arguments of `dotnet-getdocument` command
2019-04-02 22:22:19 -07:00
Ajay Bhargav Baaskaran
249752087e
Fix csharp intellisense in _Imports.razor ( dotnet/aspnetcore-tooling#387 )
...
* Fix csharp intellisense in _Imports.razor
* Feedback
\n\nCommit migrated from 229951a5c8
2019-04-02 21:55:37 -07:00
Doug Bunting
4072f70b8a
Do not specify `name` of the default (hosted) pools ( #9002 )
...
- aspnet/AspNetCore#8862
- `Hosted Linux Preview` pool name was also no longer valid; aspnet/AspNetCore-Internal#1880
- update e2e-test.yml to use modern AzDO job schema
- https://github.com/dotnet/arcade/blob/master/Documentation/AzureDevOps/PhaseToJobSchemaChange.md
- also update comments to refer to the job schema
- use BYOC queues on Windows; part of aspnet/AspNetCore-Internal#2033
- pick up latest release/2.1 commit for aspnet/EntityFrameworkCore for related changes
2019-04-02 16:37:37 -07:00
Daniel Roth
a4417e6240
Add missing using statement to Blazor hosted template. ( #9000 )
2019-04-02 16:00:13 -07:00
Ryan Nowak
f2e9ef3441
Improve initialization and SignalR configuration
...
Fixes : #6887 and #6887 and #5624
Adds support for calling Blazor.start({...}) and passing in a
configuration object.
For now all you can configure is the SignalR HubConnectionBuilder. This
is a priority right now because we want to make configuring SignalR's
logging accessible.
2019-04-02 15:33:42 -07:00
Hao Kung
555b506a97
Identity: Add new email/confirmation flows ( #8577 )
2019-04-02 14:50:43 -07:00
Andrei Amialchenia
8274776efa
Test name fixed ( #8994 )
...
Fixed #8922
2019-04-02 13:58:06 -07:00
N. Taylor Mullen
b1aef03aaf
Expand RazorProject.GetItem to take in FileKinds when getting items.
...
- Obsoleted old `GetItem` API.
- Updated tests to take new API.
- Added a new test to verify the broken scenario.
dotnet/aspnetcore-tooling#8972
\n\nCommit migrated from 2dd34b8dd8
2019-04-02 13:32:35 -07:00
N. Taylor Mullen
ea5d10509e
Expand RazorProject.GetItem to take in FileKinds when getting items.
...
- Obsoleted old `GetItem` API.
- Updated tests to take new API.
- Added a new test to verify the broken scenario.
dotnet/aspnetcore-tooling#8972
\n\nCommit migrated from 2dd34b8dd8
2019-04-02 13:32:35 -07:00