Commit Graph

40332 Commits

Author SHA1 Message Date
Ryan Nowak c3366bc956 Add event handlers as tag helpers
This change adds support for mapping DOM event handlers as tag helpers
that function in a bi-modal way.

This is a new first-class feature for DOM events, and replaces a few
workarounds like using `@onclick(...)` or `click=@{ ... }`. I haven't
removed those things yet, this is a first pass to get the new support
in, we'll remove those things when we're totally satisfied.

When used with a string like `<button onclick="foo" />` the result is
a simple HTML attribute .

But when used with an implicit expression like
`<button onclick="@Foo" />` or
`<button onclick="@(x => Clicked = true)" />` a C# function is bound to
the click event from the DOM.
2018-04-06 13:00:04 -07:00
Nate McMaster fc3ab083d2
Ensure experimental package version is 0.4.0-preview3-final, not 0.4.0-preview3-buildnumber-final 2018-04-06 12:34:25 -07:00
Nate McMaster 0007385eb0
Ensure experimental package version is 0.4.0-preview3-final, not 0.4.0-preview3-buildnumber-final 2018-04-06 12:33:46 -07:00
Nate McMaster 9734338a55
Ensure experimental package version is 0.4.0-preview3-final, not 0.4.0-preview4-buildnumber-final 2018-04-06 12:32:50 -07:00
Nate McMaster 49bc8ba1fa
Ensure experimental package version is 0.4.0-preview3-final, not 0.4.0-preview4-buildnumber-final 2018-04-06 12:31:03 -07:00
ASP.NET CI fc772ca67d Updating submodule(s)
EntityFrameworkCore => d6479dc37baf8dd7ce4242e462751dd99ae5b785
HttpClientFactory => 3e846390bd2edbd2514ebad6af05c9b5cd2eef14
Mvc => feed0fea2c

[auto-updated: submodules]
2018-04-06 19:16:37 +00:00
Nate McMaster 6c79085b10
Use PackageVersion to define version of the LineupPackage 2018-04-06 11:27:10 -07:00
Pranav K b6ce0b5188 Update submodules 2018-04-06 11:08:34 -07:00
ASP.NET CI def1523e62 Updating submodule(s)
SignalR => e3d90bdf6a

[auto-updated: submodules]
2018-04-06 11:05:50 -07:00
Pranav K feed0fea2c
Merge branch 'release/2.1' into dev 2018-04-06 11:01:32 -07:00
David Fowler e3d90bdf6a
Fix graceful closing of pipes (#1882)
- Closing pipes gracefully in most cases. The only case where we forcefully close the pipes is during application shutdown
- Return 404 if sending to connection after disposal
- Added tests
2018-04-06 10:59:40 -07:00
Pranav K 5e019bd707
Add Microsoft.AspNetCore.All
Fixes https://github.com/aspnet/Mvc/issues/7605
2018-04-06 10:57:59 -07:00
Ryan Brandenburg 45cb5760c7 React to BuildTools change 2018-04-06 10:29:34 -07:00
ASP.NET CI e3bc74ff86 Updating submodule(s)
EntityFrameworkCore => d009c0d0ac9990d9a3e161423a06a3718a91a759
HttpClientFactory => 27dfca985da245808f9d48334035e45139cb8eeb
SignalR => 84d43cb2d8

[auto-updated: submodules]
2018-04-06 09:27:04 -07:00
Nate McMaster d48a33cdab
Update EFCore submodule 2018-04-06 08:55:57 -07:00
David Fowler 84d43cb2d8
Remove extra class (#1884)
- Merged 2 DI classes in SignalR
2018-04-06 08:16:19 -07:00
ASP.NET CI 521e8cc5bc Updating submodule(s)
HttpAbstractions => a6bdb9b1ec

[auto-updated: submodules]
2018-04-06 08:15:35 -07:00
Nate Barbettini a6bdb9b1ec Fix typos in code documentation (#1012)
* Fix typos in code documentation

* Add missing detail to code documentation
2018-04-06 08:09:48 -07:00
flash2048 3369208c28 Fix mistake in array index 2018-04-06 11:41:47 +01:00
Steve Sanderson a82fd5099e Force browsers to check for modifications to Blazor-served resources. Fixes #371 2018-04-06 10:58:23 +01:00
Steve Sanderson fef5a52183 Reference static content from referenced assemblies. Implements #340 2018-04-06 09:50:10 +01:00
ASP.NET CI 3370e96825 Updating submodule(s)
SignalR => 4ddf8664c0

[auto-updated: submodules]
2018-04-06 00:40:05 -07:00
Mikael Mengistu 4ddf8664c0
Don't throw from Observer's OnNext (#1872) 2018-04-06 00:35:04 -07:00
ASP.NET CI af56692506 Updating submodule(s)
SignalR => 36edadabb4

[auto-updated: submodules]
2018-04-05 22:27:20 -07:00
James Newton-King 36edadabb4
Lock when sending data to connection (#1876) 2018-04-06 16:25:47 +12:00
ASP.NET CI f145d0360f Updating submodule(s)
SignalR => cb5ece8a24

[auto-updated: submodules]
2018-04-05 21:25:20 -07:00
James Newton-King cb5ece8a24
HttpTransportType refactor (#1873)
- Rename file to HttpTransportType.cs
- Add HttpTransportType.None
- Move All to static readonly field
- Make TransportType on client and service HttpConnectionOptions consistent
- Move setting defaults into ctor
2018-04-06 16:18:47 +12:00
ASP.NET CI 1f674e9ddb Updating submodule(s)
SignalR => 921986d561

[auto-updated: submodules]
2018-04-05 20:52:02 -07:00
James Newton-King 921986d561
Fix AccessTokenFactory not being called with each request (#1880) 2018-04-06 15:46:36 +12:00
ASP.NET CI e84a87177a Updating submodule(s)
EntityFrameworkCore => e35139c6ab5ba26c97898dc035e5c510fdaccae5
SignalR => b0c4e9d0f7

[auto-updated: submodules]
2018-04-06 02:57:42 +00:00
BrennanConroy b0c4e9d0f7
0 byte read in WebSockets (#1878) 2018-04-05 18:50:30 -07:00
ASP.NET CI c69caa9ef9 Updating submodule(s)
SignalR => a29b8ae396

[auto-updated: submodules]
2018-04-06 01:48:16 +00:00
Ryan Nowak 4cea9d3f2f Update Polly.Extensions.Http-Signed dependency 2018-04-05 18:07:01 -07:00
Andrew Stanton-Nurse a29b8ae396
fix #1874 by adding RedisProtocolBenchmark (#1875) 2018-04-05 17:47:41 -07:00
BrennanConroy 307ed01051
ReEnable SSETransportStopsSendAndReceiveLoopsWhenTransportStopped (#1877) 2018-04-05 17:16:39 -07:00
ASP.NET CI 6fecad73b9 Updating submodule(s)
EntityFrameworkCore => 39b0d1799a9432600de278a8cabcbc96343cb430
Razor => 6270c1f47e

[auto-updated: submodules]
2018-04-06 00:03:44 +00:00
Ajay Bhargav Baaskaran 6270c1f47e Merge branch 'rel/vs15.7' into dev 2018-04-05 16:28:17 -07:00
ASP.NET CI c56f7feda0 Updating submodule(s)
EntityFrameworkCore => 1ec9b523aef2b3d5b422702c418172b32d2963ff
ServerTests => 5356456766

[auto-updated: submodules]
2018-04-05 22:55:32 +00:00
Ryan Nowak 4cd24a2b08 Add experimental flag to un-special-case data-
This change allows blazor to opt into treating data- attributes the same
way as normal attributes in the parser.
2018-04-05 15:27:04 -07:00
Ryan Nowak d1c0ab587c Add support for type parameters to class nodes
This change will allow someone extending Razor to use generic type
parameters in generated classes.

There's no user-level extensibility provided here yet, as in there is no
language support for adding type parameters.
2018-04-05 15:26:42 -07:00
Chris Ross (ASP.NET) 5356456766 Simplify test TFMs #82 2018-04-05 14:51:35 -07:00
ASP.NET CI f4c541370c Updating submodule(s)
SignalR => 19b2fea0d8

[auto-updated: submodules]
2018-04-05 21:45:49 +00:00
Andrew Stanton-Nurse 19b2fea0d8
Preserialize for all formats when sending through Redis (#1843) 2018-04-05 13:48:14 -07:00
ASP.NET CI 4f4a9681a2 Updating submodule(s)
EntityFrameworkCore => d7241853e398b9500270a6c0ee95a50d8a3bf9e3
SignalR => 39f693b9ed

[auto-updated: submodules]
2018-04-05 20:34:52 +00:00
Nate McMaster 9f7e295af8
Add task to generate the repo to repo graph (#1036) 2018-04-05 13:24:49 -07:00
David Fowler 39f693b9ed
Found these while looking at a flaky test (#1871)
- Fix crashing test
- Dispose the ClientWebsocket in StopAsync
2018-04-05 12:47:39 -07:00
Daniel Roth 05059d9aa3 Rename configure parameter to services 2018-04-05 12:03:54 -07:00
Daniel Roth 907832524a Add DI extension method namespace to Program.cs in templates 2018-04-05 12:03:54 -07:00
ASP.NET CI 07e1f194cf Updating submodule(s)
EntityFrameworkCore => 685204c430ec0abc929eb98a520b13883f846d06
IISIntegration => 47c7c1ad8f
SignalR => b9e88923e7

[auto-updated: submodules]
2018-04-05 18:51:27 +00:00
BrennanConroy b9e88923e7
Comment why we set X-Requested-With (#1870) 2018-04-05 11:38:15 -07:00