Commit Graph

104 Commits

Author SHA1 Message Date
David Fowler 7f5f019101 Remove target invocation exceptions (dotnet/extensions#1413)
- Use BindingFlags.DoNotWrapExceptions to invoke\n\nCommit migrated from 0b1aa473a7
2019-04-12 23:21:12 -07:00
Justin Kotalik 76e0fc251c Add Repeat attribute (dotnet/extensions#1375)
\n\nCommit migrated from 13a00b0557
2019-04-09 14:03:12 -07:00
Ryan Nowak f5c756c935 Fix dotnet/extensions#8612 JSInterop throws truncated call stack
The fix for this is to use more ExceptionDispatchInfo! Basically
everwhere that we handle an exception is now an EDI. It's easy to pass
these around and they do the right thing as far as perserving the stack
in.

I de-factored this code a little bit to make all of this work, but it's
now pretty unambiguously correct upon inspection.

I started out wanting to get rid of the continue-with because we've
found that pretty error prone overall. However making this method
async-void started to ask more questions than it answered. What happens
if serialization of the exception fails?
\n\nCommit migrated from 0a27fd3ad6
2019-03-28 09:52:15 -07:00
dotnet-maestro[bot] a8a3fbab33 [master] Update dependencies from dotnet/arcade (dotnet/extensions#1279)
* Update dependencies from https://github.com/dotnet/arcade build 20190321.6

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19171.6
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19171.6
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19171.6

* Use Arcade NuSpec helpers

* Fix Release flaky test leg

* Fix Release flaky non-Windows test legs

* Update dependencies from https://github.com/dotnet/arcade build 20190325.9

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19175.9
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19175.9
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19175.9

* Update dependencies from https://github.com/dotnet/arcade build 20190326.14

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19176.14
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19176.14
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19176.14
\n\nCommit migrated from d353f7b020
2019-03-27 14:40:19 +00:00
Ryan Nowak 2849483895 Make IHealthCheckService work in ST-sync-context
\n\nCommit migrated from 2b673c89c2
2019-03-23 20:26:53 -07:00
Ryan Nowak ffc4b00764 Generalize and harden ST-sync-context
\n\nCommit migrated from 247bb34a63
2019-03-23 20:26:53 -07:00
Andrew Stanton-Nurse 2d1743a2f6 clean up flaky filter constants (dotnet/extensions#1248)
\n\nCommit migrated from 3b3a23eb1a
2019-03-19 18:43:25 -07:00
Javier Calvarro Nelson c9ff2af852 Skip test until we move to the new .NET Core implementation (dotnet/extensions#1156)
\n\nCommit migrated from 4636215c9b
2019-03-11 18:00:14 +01:00
Kévin Chalet 3e9a592422 Make the generic IStringLocalizer interface covariant (dotnet/extensions#1117)
Make the generic IStringLocalizer interface covariant
\n\nCommit migrated from 90020a9608
2019-03-07 15:42:29 -08:00
Hao Kung d5a386b0a9 Remove newtonsoft ref and sharedsource false flag (dotnet/extensions#1219)
\n\nCommit migrated from d563ecb057
2019-03-07 12:25:22 -08:00
Andrew Stanton-Nurse d9627c80ef add FlakyAttribute to mark flaky tests (dotnet/extensions#1222)
part of aspnet/AspNetCoredotnet/extensions#8237\n\nCommit migrated from 42e9a7d712
2019-03-06 15:19:11 -08:00
Martin Costello b13ea4cd54 Use localhost for HttpListener (dotnet/extensions#1206)
Use localhost instead of 127.0.0.1 to fix dotnet/extensions#1205.\n\nCommit migrated from 99b4ddbdbc
2019-03-05 09:43:59 -08:00
Martin Costello 09b9a49da6 Atomically swap config data (dotnet/extensions#1202)
Swap the configuration providers' data atomically, rather than directly changing the property, so that any enumeration of the dictionary running during the reload operation does not throw an InvalidOperationException due to the collection being modified.
Relates to dotnet/extensions#1189.\n\nCommit migrated from 192abfdf3e
2019-03-04 10:14:16 -08:00
Ryan Nowak a623a5c20f Fix dotnet/extensions#598 and dotnet/extensions#684
Pass args into type activator
\n\nCommit migrated from a787ee2870
2019-02-22 18:07:16 -08:00
Nathanael Marchand 7960bde7da Implement Timeout
\n\nCommit migrated from 50593c9336
2019-02-22 17:36:05 -08:00
Nathanael Marchand 1f05a66661 Take in account code review for test
\n\nCommit migrated from 49bf9920e4
2019-02-21 13:15:27 -08:00
Nathanael Marchand 30c6051d3c Take in account code review
\n\nCommit migrated from ecea8c802e
2019-02-21 13:15:27 -08:00
Nathanael Marchand d805cf3b2e Implement parallel health checks
\n\nCommit migrated from f14a45e096
2019-02-21 13:15:27 -08:00
Ryan Brandenburg 58ea57e63f Obsolete ResourceManagerWithCultureStringLocalizer and WithCulture (dotnet/extensions#1133)
Obsolete ResourceManagerWithCultureStringLocalizer and WithCulture
\n\nCommit migrated from 924015e98b
2019-02-20 11:43:55 -08:00
Pavel Krymets ffd47e1bd8 Manualy update tooling dependencies to normalize names (dotnet/extensions#1135)
* Manualy update tooling dependencies to normalize names

* Nullable
\n\nCommit migrated from 77db8d2b6b
2019-02-19 17:25:53 -08: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
Ryan Nowak 491cbdd119 Update ObjectPool reference assemblies
\n\nCommit migrated from f13113c06b
2019-02-17 12:59:24 -08:00
Günther Foidl 5e19936a9f PR Feedback
* DefaultObjectPool left unchanged (expect access modifiers) + manual inlining ob scan-methods
* DisposableObjectPool made internal and it handles Return self, thus keeping the DefaultObjectPool fast
\n\nCommit migrated from a7dc496507
2019-02-16 16:57:08 -08:00
Günther Foidl 033b118a96 DefaultObjectPoolProvider chooses on T and added factory method to ObjectPool
\n\nCommit migrated from 17883d97a9
2019-02-16 16:57:08 -08:00
Günther Foidl b9912fee6b DisposableObjectPool added
\n\nCommit migrated from 6bcb1aee83
2019-02-16 16:57:08 -08:00
Chris Ross c960040b53 Deprecate and replace IHostingEnvronment & IApplicationLifetime (dotnet/extensions#1100)
* Deprecate and replace IHostingEnvronment & IApplicationLifetime dotnet/extensions#966
* Fix startvs
* Fix ref generation for obosolete\n\nCommit migrated from 6991e2b0e8
2019-02-15 13:40:33 -08:00
Glenn Condron dfb5977324 Update HealthCheckPublisherOptions.cs
This seems wrong.

Presumably fixes: https://github.com/aspnet/Extensions/issues/1041\n\nCommit migrated from b3c88d78fe
2019-02-13 10:55:36 -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
marciomyst 2c0287d686 Fix ignored exception parameter on Degraded method
The 'exception' parameter was ignored and a hardcoded null value was used on HealthCheckResult.Degraded\n\nCommit migrated from dbfc2dee3a
2019-02-08 10:38:35 -08:00
Pranav K b47bd17894 Publish Microsoft.Interop.Js and Mono.WebAssembly.Interop (dotnet/extensions#1048)
* Publish Microsoft.Interop.Js and Mono.WebAssembly.Interop
\n\nCommit migrated from bc2e7150f0
2019-02-01 14:12:49 -08:00
Nate McMaster a663bcf605 Add code check CI tests, add docs about ReferenceResolution, and other cleanups (dotnet/extensions#1044)
Changes:
* Add a step which checks that generated code is up to date
* Copy over the documentation on how to work with `<reference>` 
* Fixup a broken reference in the .sln
* Fix the casing on Microsoft.Extensions.ValueStopwatch.Sources
* Remove some unused references and variables\n\nCommit migrated from 92acd8b959
2019-02-01 10:33:04 -08:00
Nate McMaster bbca5f30e7 Remove implicit references for non-test projects (dotnet/extensions#1037)
\n\nCommit migrated from e504b4ee74
2019-01-31 13:20:34 -08:00
Kahbazi 070bba8ad4 Add event name in localization\n\nCommit migrated from d2b1ad3d23 2019-01-30 10:03:04 -08:00
Nate McMaster 154ab28e45 Cleanup conversion to Arcade (dotnet/extensions#1014)
* Remove obsolete targets, properties, and scripts
* Replace IsProductComponent with IsShipping
* Undo bad merge to version.props
* Update documentation, and put workarounds into a common file
* Replace usages of RepositoryRoot with RepoRoot
* Remove API baselines
* Remove unnecessary restore feeds and split workarounds into two files
* Enable PR checks on all branches, and disable autocancel\n\nCommit migrated from f41cfded3c
2019-01-29 18:34:54 -08:00
Ryan Brandenburg fb64cd6887 Reduce build times (dotnet/extensions#1016)
* Fix package artifacts taking too long to upload
* Make sure new packages are packaged
\n\nCommit migrated from 12613bac07
2019-01-29 17:05:25 -08:00
Ryan Brandenburg 66773c57bc Use Arcade (dotnet/extensions#586)
Use arcade
\n\nCommit migrated from f0458995c6
2019-01-29 13:26:53 -08:00
Pranav K 33ee3dc379 Refactoring to do KoreBuild \ mondorepo
\n\nCommit migrated from 3a884e2e1e
2019-01-09 15:53:30 -08:00
Pranav K d7b1934149 Merge branch 'prkrishn/move' into prkrishn/add-interop
\n\nCommit migrated from 6c6095d41f
2019-01-09 15:29:06 -08:00
Chris Ross 4de3b5e105 Move the HostFactoryResolver to Extensions (dotnet/extensions#925)
\n\nCommit migrated from 9cd9cea398
2019-01-09 13:38:12 -08:00
Pranav K 97bb8897cf Reorganize code
\n\nCommit migrated from a24412cc03
2019-01-09 11:12:33 -08:00
Nate McMaster ee6763d146 Merge branch 'release/2.2'
\n\nCommit migrated from 604018cb12
2019-01-07 16:23:11 -08:00
Nate McMaster 16c7cbba45 Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from 6e758d41c1
2019-01-07 15:58:24 -08:00
Nate McMaster 3db4f50eac Remove netcoreapp2.0 test TFMs (dotnet/extensions#907)
.NET Core 2.0 reached EOL last year. This removes multi-targeting our test projects and test assets to only use .NET Core 2.1 and .NET Framework 4.6.1.\n\nCommit migrated from 084494d21d
2019-01-07 15:52:44 -08:00
James Newton-King 3287fba28f Don't timeout in testing task extensions when debugger is attached (dotnet/extensions#903)
\n\nCommit migrated from 24c84a5b1d
2019-01-07 15:37:53 +13:00
Pavel Krymets bdc2ea81c0 Unify TypeNameHelpers (dotnet/extensions#876)
\n\nCommit migrated from 2f53c36195
2018-12-31 12:54:54 -08:00
Ryan Nowak ebb5522f00 Fix aspnet/Extensionsdotnet/extensions#639
The issue is that the hosted service would not be registered if other
hosted services are present. The fix is to use TryAddEnumble so that we
allow multipled `IHostedService`s but not multiple instances of
the same type.
\n\nCommit migrated from a2f28147c2
2018-12-23 23:37:02 -08:00
Nate McMaster 5f7ab102cf Fix dotnet/extensions#815 - fix path to embedded manifest task file
\n\nCommit migrated from cab86d2e36
2018-12-19 13:43:43 -08:00
Arthur Vickers 6d45c06807 Method to get source for each configuration element
Fixes dotnet/extensions#609 by allowing the configuration paths to be associated with values to help with debugging.
\n\nCommit migrated from d7f8e253d4
2018-12-17 16:51:20 -08:00
Nate McMaster b330870678 Merge branch 'release/2.2'
\n\nCommit migrated from 8c833ae5fb
2018-12-14 09:34:37 -08:00
Nate McMaster 93b7e57a30 Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from 0a705e33a5
2018-12-14 08:43:08 -08:00