10 references to AsStream
Aspire.Hosting.Tests (1)
Dcp\ApplicationExecutorTests.cs (1)
454return s.Reader.AsStream();
InMemory.FunctionalTests (1)
Http3\WebTransport\WebTransportStreamTests.cs (1)
47var length = await stream.Transport.Input.AsStream().ReadAsync(memoryOut, CancellationToken.None);
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteJSDataStream.cs (1)
79_pipeReaderStream = _pipe.Reader.AsStream();
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (2)
315var stream = pipeReader.AsStream(); 356var stream = pipeReader.AsStream();
Microsoft.AspNetCore.Http.Results (1)
TypedResults.cs (1)
451return new(pipeReader.AsStream(), contentType)
Microsoft.AspNetCore.TestHost (1)
ClientHandler.cs (1)
152req.Body = new AsyncStreamWrapper(reader.AsStream(), () => contextBuilder.AllowSynchronousIO);
WebTransportInteractiveSampleApp (2)
Program.cs (2)
101var length = await inputPipe.AsStream().ReadAsync(memory); 122var length = await inputPipe.AsStream().ReadAsync(memory);
WebTransportSampleApp (1)
Program.cs (1)
38var test = await stream.Transport.Input.AsStream().ReadAsync(memory, CancellationToken.None);