diff --git a/docs/README.md b/docs/README.md index 98fe46e403..f055ea32b5 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,4 +2,4 @@ Contributor documentation ========================= The primary audience for documentation in this folder is contributors to ASP.NET Core. -If you are looking for documentation on to *use* ASP.NET Core, go to . +If you are looking for documentation on how to *use* ASP.NET Core, go to . diff --git a/src/Hosting/Hosting/src/WebHostBuilder.cs b/src/Hosting/Hosting/src/WebHostBuilder.cs index 8c104068d6..f076c91bc4 100644 --- a/src/Hosting/Hosting/src/WebHostBuilder.cs +++ b/src/Hosting/Hosting/src/WebHostBuilder.cs @@ -186,8 +186,8 @@ namespace Microsoft.AspNetCore.Hosting } catch { - // Dispose the host if there's a failure to initialize, this should clean up - // will dispose services that were constructed until the exception was thrown + // Dispose the host if there's a failure to initialize, this should dispose + // services that were constructed until the exception was thrown host.Dispose(); throw; } diff --git a/src/Http/WebUtilities/src/HttpResponseStreamWriter.cs b/src/Http/WebUtilities/src/HttpResponseStreamWriter.cs index 9e0bf57c92..c5bcdd0aa3 100644 --- a/src/Http/WebUtilities/src/HttpResponseStreamWriter.cs +++ b/src/Http/WebUtilities/src/HttpResponseStreamWriter.cs @@ -210,7 +210,7 @@ namespace Microsoft.AspNetCore.WebUtilities private async Task WriteAsyncAwaited(char[] values, int index, int count) { Debug.Assert(count > 0); - Debug.Assert(_charBufferSize - _charBufferCount > count); + Debug.Assert(_charBufferSize - _charBufferCount < count); while (count > 0) { @@ -220,7 +220,6 @@ namespace Microsoft.AspNetCore.WebUtilities } CopyToCharBuffer(values, ref index, ref count); - Debug.Assert(count == 0); } } diff --git a/src/Identity/README.md b/src/Identity/README.md index 2d659ad4da..14d2f1eb03 100644 --- a/src/Identity/README.md +++ b/src/Identity/README.md @@ -29,3 +29,4 @@ The previous versions of Identity for MVC5 and lower, previously available on Co * [ASP.NET Identity Firebase Provider](https://github.com/aguacongas/Identity.Firebase) * [ASP.NET Identity Redis Provider](https://github.com/aguacongas/Identity.Redis) * [ASP.NET Identity DocumentDB](https://github.com/FelschR/AspNetCore.Identity.DocumentDB) + * [ASP.NET Identity Amazon Cognito Provider](https://github.com/aws/aws-aspnet-cognito-identity-provider)