24 references to CoreStrings
Microsoft.AspNetCore.Server.IIS (24)
Core\EmptyStream.cs (1)
34throw new InvalidOperationException(CoreStrings.SynchronousReadsDisallowed);
Core\HttpRequestStream.cs (1)
28throw new InvalidOperationException(CoreStrings.SynchronousReadsDisallowed);
Core\HttpResponseStream.cs (2)
37throw new InvalidOperationException(CoreStrings.SynchronousWritesDisallowed); 103throw new ObjectDisposedException(nameof(HttpResponseStream), CoreStrings.WritingToResponseBodyAfterResponseCompleted);
Core\IISHttpContext.cs (3)
571throw new ObjectDisposedException(CoreStrings.UnhandledApplicationException, _applicationException); 894throw new InvalidOperationException(CoreStrings.FormatParameterReadOnlyAfterResponseStarted(name)); 899throw new InvalidOperationException(CoreStrings.FormatInvalidReasonPhraseCharacter(
Core\IISHttpContext.FeatureCollection.cs (8)
346throw new InvalidOperationException(CoreStrings.UpgradeWithWrongProtocolVersion); 348throw new InvalidOperationException(CoreStrings.CannotUpgradeNonUpgradableRequest); 353throw new InvalidOperationException(CoreStrings.UpgradeCannotBeCalledMultipleTimes); 357throw new InvalidOperationException(CoreStrings.UpgradeCannotBeCalledMultipleTimes); 449throw new InvalidOperationException(CoreStrings.MaxRequestBodySizeCannotBeModifiedAfterRead); 453throw new InvalidOperationException(CoreStrings.MaxRequestBodySizeCannotBeModifiedForUpgradedRequests); 457throw new ArgumentOutOfRangeException(nameof(value), CoreStrings.NonNegativeNumberOrNullRequired); 462_logger.LogWarning(CoreStrings.MaxRequestLimitWarning);
Core\IISHttpContext.IHttpRequestLifetimeFeature.cs (1)
51Abort(new ConnectionAbortedException(CoreStrings.ConnectionAbortedByApplication));
Core\IISHttpServer.cs (1)
90_logger.LogWarning(CoreStrings.MaxRequestLimitWarning);
Core\ThrowingWasUpgradedWriteOnlyStreamInternal.cs (3)
16=> throw new InvalidOperationException(CoreStrings.ResponseStreamWasUpgraded); 20=> throw new InvalidOperationException(CoreStrings.ResponseStreamWasUpgraded); 24=> throw new InvalidOperationException(CoreStrings.ResponseStreamWasUpgraded);
IISBadHttpRequestException.cs (2)
24ex = new BadHttpRequestException(CoreStrings.BadRequest_RequestBodyTooLarge, StatusCodes.Status413PayloadTooLarge, reason); 27ex = new BadHttpRequestException(CoreStrings.BadRequest, StatusCodes.Status400BadRequest, reason);
IISServerOptions.cs (1)
74throw new ArgumentOutOfRangeException(nameof(value), CoreStrings.NonNegativeNumberOrNullRequired);
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Server.IIS\Release\net11.0\Microsoft.AspNetCore.Server.IIS.CoreStrings.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(CoreStrings)));