标签: c# asp.net asp.net-core asp.net-core-2.0
在asp.net core 2中下载文件后如何更新页面?
asp.net core 2
public async Task<IActionResult> ExportDataAsPDF(BerichteSearch model) { // some codes... FileStreamResult resultFile = File(memoryStream.Result, "application/pdf", fileName); return resultFile; }