16 implementations of SendFileAsync
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.Http.Results.Tests (3)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Owin (1)
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
Microsoft.AspNetCore.ResponseCompression (1)
Microsoft.AspNetCore.ResponseCompression.Tests (1)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.StaticAssets (1)
Microsoft.AspNetCore.TestHost (1)
27 references to SendFileAsync
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.Results.Tests (1)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Owin (1)
Microsoft.AspNetCore.ResponseCompression (1)
Microsoft.AspNetCore.ResponseCompression.Tests (4)
ResponseCompressionMiddlewareTest.cs (4)
1096return sendFile.SendFileAsync("testfile1kb.txt", 0, null, CancellationToken.None);
1146return sendFile.SendFileAsync("testfile1kb.txt", 0, null, CancellationToken.None);
1196await feature.SendFileAsync("testfile1kb.txt", 0, null, CancellationToken.None);
1464return InnerFeature.SendFileAsync(path, offset, count, cancellation);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (14)
ResponseSendFileTests.cs (14)
45await sendFile.SendFileAsync(string.Empty, 0, null, CancellationToken.None);
68return sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None);
87return sendFile.SendFileAsync(RelativeFilePath, 0, null, CancellationToken.None);
106return sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None);
125sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None).Wait();
126return sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None);
145return sendFile.SendFileAsync(AbsoluteFilePath, 0, FileLength / 2, CancellationToken.None);
166sendFile.SendFileAsync(AbsoluteFilePath, 1234567, null, CancellationToken.None));
185sendFile.SendFileAsync(AbsoluteFilePath, 0, 1234567, CancellationToken.None));
202return sendFile.SendFileAsync(AbsoluteFilePath, 0, 0, CancellationToken.None);
222return sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None);
243return sendFile.SendFileAsync(AbsoluteFilePath, 0, 10, CancellationToken.None);
264return sendFile.SendFileAsync(AbsoluteFilePath, 0, 0, CancellationToken.None);
291return sendFile.SendFileAsync(AbsoluteFilePath, 0, 10, CancellationToken.None);
Microsoft.AspNetCore.StaticAssets (2)
Microsoft.AspNetCore.StaticFiles.Tests (1)