27 references to SendFileAsync
InProcessWebSite (1)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.Results (1)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.OutputCaching.Tests (1)
Microsoft.AspNetCore.ResponseCaching.Tests (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (20)
ResponseSendFileTests.cs (18)
315await httpContext.Response.SendFileAsync(emptyFilePath, 0, null, CancellationToken.None);
340await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
341await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
358await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
359await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
379var writeTask = httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
407var writeTask = httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
434await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
436var writeTask = httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
461await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
463var writeTask = httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
502await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
507httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token));
549await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null);
589await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
600await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token);
641await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null);
650await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None);