I am trying to convert a byte array into a stream, but my array is larger than 500kb so the rest of my data is cut off. By searching on google I foun ...
I am trying to convert a byte array into a stream, but my array is larger than 500kb so the rest of my data is cut off. By searching on google I foun ...
Using Visual Studio 2022 - I have the following view: In the position controller, GenerateImage(int imageID) pulls a generic jpg, adds some images ...
I am trying to read file as a stream in 1 MB chunks. So that load time of the file is better at frontend. But I get below error at backend while tryin ...
I return a stream for a file I download from OneDrive. There are a few things I need to do to this file in memory before uploading back to onedrive. I ...
I have an array of bitmaps which need compiling into a single, multi-page tiff image, however when saving the bitmap to a MemoryStream object I get th ...
I have a function that is suppose to copy an existing header from a given .docx file, edit the copied header and add original as first page header and ...
I am trying to upload multiple images from a Blazor InputFile component: Once in memory, using SkiaSharp I need to resize them down to a maximum of ...
I am a noob to C#. So, needed a small help from stackoverflow community. I want to create a directory structure in memory (not storage device) and p ...
I am facing an issue while trying to stream out an excel file which I generated with EPPlus OfficeOpenXml package. My WCF service contact as below, ...
When I post the below code using httpclient here file is of type IFormfile In API side I retrieve file as follows I get 0 byte. My questions is ...
Im trying to make a function where i create a file pdf using memorystream but i dont know how to save this file memorystream on folder. How can i do t ...
I have this azure function app that process errors. Before my app exits, I would like to write the errors in our memory as csv and then send the file ...
I have a method that reads an excel file which user can upload via the front end - see below: The above code works fine but my problem now is that ...
I am trying to upload a large collection of objects in chunks using CloudBlockBlob.PutBlockAsync method. While calling the method, I am getting System ...
I'm trying to create a tool that takes images on my server, and downloads them to the user in a zip file. These images are Sitecore media items, that ...
I have an Az Function that I'm having problems processing large size files. The snippet where I download the file is this: It throws this error wh ...
I have a DLL with embedded Excel file. The goal is to retrieve this file and create some entry (Empty_File.txt in this example). When I'm using FileSt ...
I am testing some AI Document analysis stuff, and am currently trying to allow users to Upload Files to a WebApp, which in turn sends them to Azure Fo ...
I am storing uploaded image file (IFormFile) using MemoryStream and FileStream. When using solution like this, memory usage seems to be OK: //projec ...
This may seem correct, but in "unzipped code", the following exception occurs: Although I tried this: C# Unable to copy to MemoryStream from GZip ...