Service Fabric - transfer files between services

Marat Gallyamov 1 Reputation point
2021-06-22T16:35:27.69+00:00

What is the recommended way to send files between services?

Byte array? Stream?

Average file size is 10-100mb.

Use cases are:

  • Accept file from user (AspNet MVC) and upload to Azure Blob Storage
  • Download ~5 files from storage, create zip and respond to user with archive

Stream seems like to be more optimal for these scenarios, however I am not sure, how remoting works with streams.

Thanks you for help!

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
252 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
{count} votes