Commit Graph

148 Commits

Author SHA1 Message Date
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
Nate McMaster 4fcd97e4d2 Remove Microsoft.Extensions.WebEncoders.Sources
\n\nCommit migrated from e7bb41b9bf
2018-12-13 11:41:24 -08:00
Nate McMaster cb018faf53 Remove Microsoft.Extensions.StackTrace.Sources
\n\nCommit migrated from 1713ada32d
2018-12-13 11:39:54 -08:00
Nate McMaster 01a4a273d7 Remove Microsoft.Extensions.SecurityHelper.Sources
\n\nCommit migrated from c41abe44af
2018-12-13 11:26:34 -08:00
Nate McMaster e0051303d1 Remove Microsoft.Extensions.RazorViews.Sources
\n\nCommit migrated from 3f5df6ddbc
2018-12-13 11:19:00 -08:00
Nate McMaster 921060b2ca Remove Microsoft.Extensions.PropertyActivator.Sources and Microsoft.Extensions.PropertyHelper.Sources
\n\nCommit migrated from 6c11818fe9
2018-12-13 11:15:55 -08:00
Nate McMaster bbf0ebdd91 Remove Microsoft.Extensions.ObjectMethodExecutor.Sources
\n\nCommit migrated from 71a672e287
2018-12-13 11:04:12 -08:00
Nate McMaster 2f36a1ecf9 Remove Microsoft.Extensions.ClosedGenericMatcher.Sources
This code isn't used locally, so it will move to aspnet/AspNetCore
\n\nCommit migrated from 7305817fea
2018-12-13 11:01:34 -08:00
Nate McMaster e8d84a1962 Remove Microsoft.Extensions.CopyOnWriteDictionary.Sources
This code will move to aspnet/AspNetCore
\n\nCommit migrated from 468940be7f
2018-12-13 10:43:02 -08:00
Nate McMaster 2d001bb583 Stop producing Microsoft.AspNetCore.Certificates.Generation.Sources
This was only used in the aspnet/AspNetCore repo. so the source for this project is moving to that repo
\n\nCommit migrated from 9290dc1dbc
2018-12-13 10:37:41 -08:00
Nate McMaster a053c7e1a4 Stop producing Microsoft.Extensions.Process.Sources
This was only used in the aspnet/AspNetCore repo. so the source for this project is moving to that repo
\n\nCommit migrated from 98522c18fb
2018-12-13 10:33:33 -08:00
Nate McMaster 317b4bb4eb Create README.md for the localization folder (dotnet/extensions#683)
\n\nCommit migrated from c841b4f9e0
2018-12-13 09:49:07 -08:00
Arthur Vickers 57cd32129b Added tests that can be implemented for any provider to ensure consistency
Partly to allow me to get a better understanding of the code, partly so we can have a better idea that all the providers work in a consistent manner.

Part of https://github.com/aspnet/Configuration/issues/559

I will file issues for things found.
\n\nCommit migrated from 1878d16ecd
2018-12-07 15:38:52 -08:00
Nate McMaster a81d3d1b06 Merge the master branch of aspnet/Localization
\n\nCommit migrated from 622c150de5
2018-12-04 10:48:40 -08:00
Nate McMaster 2987427e1a Merge branch 'release/2.2'
\n\nCommit migrated from 75b156c635
2018-12-04 10:48:16 -08:00
Nate McMaster 6920d910de Merge branch release/2.1 into release/2.2
\n\nCommit migrated from 909256fb24
2018-12-04 10:43:32 -08:00
Nate McMaster e7c4b678f9 Reorganize source code in preparation to move into aspnet/Extensions
Prior to reorganization, this source code was found in https://github.com/aspnet/Localization/tree/dotnet/extensions@60a3d57a3e8b8b6d69232815a9596b5a495a7d0b
\n\nCommit migrated from b885414e8a
2018-12-04 10:40:35 -08:00
Nate McMaster 090119859b Update targets and tasks to build Localization projects
\n\nCommit migrated from 22f5402e13
2018-12-03 16:22:29 -08:00
Nate McMaster cd7daf64a2 Merge source code from aspnet/Localization
\n\nCommit migrated from 9c7e86f4dc
2018-12-03 16:22:15 -08:00
Nate McMaster e5fee282ab Reorganize source code in preparation to move into aspnet/Extensions
Prior to reorganization, this source code was found in https://github.com/aspnet/Localization/tree/dotnet/extensions@0bcac31dd705fb9db60723f5d7eaeffb728358f5
\n\nCommit migrated from c8e0450d7a
2018-12-03 16:17:41 -08:00
Nate McMaster fcdba6256a Merge branch 'release/2.2'
\n\nCommit migrated from 39e7539b49
2018-11-21 13:19:48 -08:00
Nate McMaster 0c234eee22 Merge HealthChecks API source code from aspnet/Diagnostics
\n\nCommit migrated from 47a4cce17b
2018-11-20 21:07:51 -08:00
Nate McMaster 6dc295b578 Reorganize source code in preparation to move into aspnet/Extensions
Prior to reorganization, this source code was found in https://github.com/aspnet/Diagnostics/tree/dotnet/extensions@c802d5ef5fba1ba8dfbcb8c3741af2ba15e9d1aa
\n\nCommit migrated from a03861270c
2018-11-20 20:49:10 -08:00
Pavel Krymets ebb1165b14 Handle nullable enum default values (dotnet/extensions#531)
\n\nCommit migrated from 33f839d585
2018-11-16 13:57:43 -08:00
Pavel Krymets 6c5d291b10 Remove internal types from Logging and Abstractions (dotnet/extensions#513)
\n\nCommit migrated from 55518d7983
2018-11-16 08:33:57 -08:00
Nate McMaster fe4ed663a2 Merge branch 'release/2.2'
\n\nCommit migrated from c5307c9984
2018-11-15 11:01:39 -08:00
Nate McMaster 88003f2c21 Prepare repo to build 2.2.1
* Update dependencies to 2.2.0 rtm
* Update branding to 2.2.1
* Update package baselines to 2.2.0
* Add a restore source for 2.2.0 RTM
\n\nCommit migrated from 913f74d590
2018-11-14 08:44:28 -08:00
Nate McMaster c36f22815b Merge branch 'release/2.2'
\n\nCommit migrated from 53fa5cb66d
2018-11-13 14:27:32 -08:00
Nate McMaster 4bd742a4fe Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from 0a5741dc30
2018-11-13 11:01:56 -08:00
Javier Calvarro Nelson ea14c9c865 Change async void tests to async Task (dotnet/extensions#488)
\n\nCommit migrated from d2f4c6a2ed
2018-11-13 10:11:21 -08:00
Gert Driesen 83c88bd6bd Eliminate use of method groups in PropertyHelper (dotnet/extensions#465)
* Eliminate use of method groups, and use for loop to enumerate elements of array.

Improves performance and reduces allocations.

* PR feedback:
Remove extra parentheses, and undo change from foreach to for loop.

* PR feedback
Revert change from for to foreach.

* var-ify TryGetValue out parameter.
\n\nCommit migrated from 08adb5c2ca
2018-11-13 10:03:55 -08:00
Nate McMaster d3a479cd5c Merge the source code for Microsoft.Extensions.WebEncoders
\n\nCommit migrated from ca683f396d
2018-11-09 17:13:41 -08:00
Nate McMaster aa26d515be Reorganize source code in preparation to move into aspnet/Extensions
Prior to reorganization, this source code was found in https://github.com/aspnet/HtmlAbstractions/tree/dotnet/extensions@252ae0c434d93f5bfaf949c35edb9ef59730d0a3
\n\nCommit migrated from 6c2bf29434
2018-11-09 15:53:41 -08:00
Nate McMaster 122c2c78e2 Merge branch 'release/2.2'
\n\nCommit migrated from 5054f8a0e5
2018-11-06 11:07:40 -08:00
Nate McMaster 1d3bca1f31 Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from 8d5274d7f8
2018-11-06 09:47:51 -08:00
Nate McMaster 8d17a5b9f3 Merge source code from aspnet/Configuration into this repo
\n\nCommit migrated from 8a9b64a3e5
2018-11-05 17:19:10 -08:00
Nate McMaster ac89e3e9bf Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from d94eb17013
2018-11-05 16:20:37 -08:00
Nate McMaster 09e84b256c Reorganize source code in preparation to move into aspnet/Extensions
Prior to reorganization, this source code was found in https://github.com/aspnet/Configuration/tree/dotnet/extensions@ef29dc86b970893147fd2a27d527f5a907af9fdd
\n\nCommit migrated from a8900855a4
2018-11-05 16:15:42 -08:00
Nate McMaster 0757dd7b80 Merge branch 'release/2.2'
\n\nCommit migrated from 4435c3565d
2018-11-05 14:03:44 -08:00
Nate McMaster 923fa4d586 Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from f9712e2491
2018-11-05 13:21:52 -08:00
Nate McMaster 2fa46e6e89 Merge aspnet/FileSystem into this repo
\n\nCommit migrated from 47696ac4a9
2018-11-05 13:19:52 -08:00
Nate McMaster 360b19ca09 Merge branch 'release/2.2'
\n\nCommit migrated from 04bac2f79c
2018-11-05 13:12:14 -08:00
Nate McMaster 376a6c9953 Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from 2d15280464
2018-11-05 13:10:48 -08:00
Nate McMaster 4155f5584c Merge branch 'release/2.2'
\n\nCommit migrated from a550d3ebf0
2018-11-04 15:38:00 -08:00
Nate McMaster e667a1a0bc Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from cf4d6c3a3b
2018-11-04 15:13:00 -08:00
Nate McMaster aee5320ae9 Organize packages into different output paths based on whether they are "product" packages or not
\n\nCommit migrated from dbb97a2e13
2018-11-04 14:22:06 -08:00
Nate McMaster 574a034ddd Reorganize source code in preparation to move into aspnet/Extensions
Prior to reorganization, this source code was found in https://github.com/aspnet/FileSystem/tree/dotnet/extensions@baebb8b0c672ab37bac72d7196da1b919d362cc5
\n\nCommit migrated from c087cadf1d
2018-11-02 03:25:45 -07:00
Nate McMaster b0441192c3 Merge branch 'release/2.2'
\n\nCommit migrated from 3ba072c253
2018-11-02 01:32:56 -07:00
Nate McMaster 3b2dd5bee8 Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from 5b8b6c7a52
2018-11-02 01:28:11 -07:00
Nate McMaster 6d1eb9b8c4 Merge the source code from aspnet/DependencyInjection release/2.1
\n\nCommit migrated from 8b174f1f34
2018-11-02 01:22:41 -07:00
Nate McMaster 5261569b61 Reorganize source code in preparation to move into aspnet/Extensions
Prior to reorganization, this source code was found in https://github.com/aspnet/DependencyInjection/tree/dotnet/extensions@7a283947c231b6585c8ac95e653950b660f3da96
\n\nCommit migrated from 689c4a891c
2018-11-02 00:22:14 -07:00
Nate McMaster 5c9701e0b6 Merge branch 'release/2.2'
\n\nCommit migrated from 34204b6bc4
2018-10-30 17:16:51 -07:00
Nate McMaster 45b0b83997 Merge branch 'release/2.1' into release/2.2
\n\nCommit migrated from 18fcffbd25
2018-10-30 16:39:06 -07:00
Nate McMaster 5460fd093e Fix the package id for Microsoft.AspNetCore.BenchmarkRunner.Sources
\n\nCommit migrated from d0aa5c1701
2018-10-30 16:32:28 -07:00
Nate McMaster af034a9c5e Reorganize source code
In preparation for merging many other projects into this repo, this establishes a new source code organization which groups projects together based on subject matter.
\n\nCommit migrated from 7ce647cfa3
2018-10-30 14:18:11 -07:00