python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Using generic method and generic object for generating different cover type values
I have a generic method for generating different insurance cover types. CoverType is a generic object.
public class CoverType<T>
{
public Func<T, string> Values { get; set; }
publi...
Learner
Votes: 0
Answers: 0
Changes are not save when using MemoryStream instead of FileStream
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 FileStream - the entry gets created, but when I'm using ...
JohnyL
Votes: 0
Answers: 1
Azure Form Recognizer only analyzes the first file in a stream
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 Form Recognizer and processes the results.
I am howe...
DerSeestern
Votes: 0
Answers: 1
Memory Leak when Resizing Image before saving it to server C# .NET
I am storing uploaded image file (IFormFile) using MemoryStream and FileStream.
When using solution like this, memory usage seems to be OK:
//projectFile is of type IFormFile
//without resize leak is ...
paddy
Votes: 0
Answers: 1