Aspose.Word in Blazor (server) environment

Hi,

I’m developing a web application using Blazor server (.net core) with an old version of Aspose Word (14.3). I need to save a Word document in PDF format and immediately download it (download PDF file).
In ASP.NET I used this “statements” to achieve my purpose:

    Dim resp = System.Web.HttpContext.Current.Response
    oDoc.Save(resp, "Test.Pdf", Aspose.Words.ContentDisposition.Attachment, Aspose.Words.Saving.SaveOptions.CreateSaveOptions(Aspose.Words.SaveFormat.Pdf))
    resp.End()

Is there something in Blazor environment?

Best
Stefano

@Steual

There is no specific setting for Blazor environment. Please read the following article about sending document to client browser.

You are using very old version of Aspose.Words. We suggest you please try the latest version of Aspose.Words for .NET 21.10.

In case you face any issue, please create simplified Visual Studio application and attach it here for testing. We will investigate the issue and provide you more information on it.