I’m using Blazor Server and I’d like to dynamically generate an Excel file and send it directly to a client browser. This link (Saving File to Response Object|Documentation) shows how to save the file as a stream, but how do I send the stream to the browser to display the Excel file?
Aspose.Cells only allows to save the workbook/Excel file to a streams, such as, MemoryStream. You need to handle the binary data (such as getting a byte[] from memory stream) by yourselves for your underlying platform. I am not sure which specific APIs are used to send binary data to client browser for the platform (Blazor Server), you should browse internet for it.