Commit Graph

6 Commits

Author SHA1 Message Date
Javier Calvarro Nelson 5e4f1f5fb2 Adds an opt-in default timeout for async JS calls (dotnet/extensions#1880)
* Adds the ability to configure a default timeout for JavaScript interop calls.
* Adds the ability to pass in a cancellation token to InvokeAsync that will be used instead of the default timeout.
  * A default cancellation token can be passed to signal no cancellation, but it is not recommended in remote interop scenarios.\n\nCommit migrated from e04faac7e4
2019-07-02 13:24:29 +02:00
Javier Calvarro Nelson 244ed54764 Allow sanitization of dotnet interop exceptions (dotnet/extensions#1879)
Adds the ability to sanitize exceptions during JS to .NET interop calls by overriding OnDotNetInvocationException method and returning an object to be returned to JavaScript that describes the exception.\n\nCommit migrated from d7eab7c083
2019-07-02 12:40:50 +02:00
Pranav K 867453a06d Resolve the JSInterop call if deserialization fails (dotnet/extensions#1802)
* Resolve the JSInterop call if deserialization fails

\n\nCommit migrated from 26cf0c9f4e
2019-06-13 21:54:05 -07:00
Pranav K 78daf0166c Use System.Text.Json in Microsoft.JSInterop (dotnet/extensions#1704)
* Use System.Text.Json in Microsoft.JSInterop
\n\nCommit migrated from f6c9258abe
2019-05-29 09:47:26 -07:00
Pranav K a4cd6152b6 Make JSRuntime.Current non-public (dotnet/extensions#1118)
Fixes https://github.com/aspnet/AspNetCore/issues/6828\n\nCommit migrated from c1d8be8b98
2019-02-19 13:01:13 -08:00
Pavel Krymets 39b6a19f90 Add reference assembly generations support (dotnet/extensions#1093)
\n\nCommit migrated from 8ad1395c91
2019-02-11 12:10:15 -08:00