I'm using the code below for downloading with the web API in ASP.NET. When I'm trying to click the download button, it calls the API. After executing the "DownloadFile"-function, the download dialog box isn't coming .I'm using the code below for downloading with t