aspnetcore/src
Ryan Nowak 8f8b5f55a9 Make constraint cache thread safe (#17146)
* Make constraint cache thread safe

Fixes: #17101

This changes the constraint cache to use ConcurrentDictionary. This code
is invoked in a multithreaded way in Blazor server resulting in internal
failures in dictionary.

Since this is a threading issue there's no good way to unit test it, but
I noticed we're missing tests in general for this class, so I added a
few for the caching behavior.

* PR feedback
2019-11-15 21:21:11 -08:00
..
Analyzers
Antiforgery
Azure
Components Make constraint cache thread safe (#17146) 2019-11-15 21:21:11 -08:00
DataProtection
DefaultBuilder
Features/JsonPatch Update some tests 2019-11-05 11:24:48 -08:00
Framework
Hosting
Html/Abstractions
Http
Identity
Installers
Middleware Set new HTTPS environment variable when using out of process (#16713) 2019-11-01 12:57:44 -07:00
MusicStore
Mvc
ProjectTemplates Disable webpack build progress reporting for Angular projects 2019-11-07 12:35:12 -08:00
Razor
Security
Servers Keep Kestrel's connection PipeReader in a consistent state (#16725) 2019-11-04 10:47:38 -08:00
Shared
SignalR
SiteExtensions
Tools Change how we resolve dotnet in tests (#16934) 2019-11-09 17:17:58 -08:00
submodules