2 references to File
Microsoft.AspNetCore.Mvc.RazorPages (1)
PageModel.cs (1)
654=> File(fileContents, contentType, fileDownloadName: null);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
PageModelTest.cs (1)
1396var result = pageModel.File(fileContents, "application/pdf", "someDownloadName");