© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
2 replies
malkav

Upload a Stream (file) to an Azure Function that uploads it to the Blob Storage

Say I wanted to upload a file from a Static Web App, so I get the file as a Stream and toss it towards an Azure function that handles the blob storage and returns a URL string.

How would I get the file into the Azure function?

I did
req.Form.Files[0]
req.Form.Files[0]
now, and that worked in a test environment, but in tandem with the website I'm making I'm supposed to give a req.Body to this Azure function right?
So how would I approach this?
I've got the connection to the blob storage, and the actual upload and retrieve url sorted. It's just how to get the file from a web-page to an azure function
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,828Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Background upload of an IFormFile to Azure blob storage
C#CC# / help
2y ago
How to upload files to Azure Blob Storage?
C#CC# / help
3w ago
Reading file content from Azure Blob Storage
C#CC# / help
4y ago
✅ azure file storage
C#CC# / help
2y ago