This question is locked. New answers and comments are not allowed.
Hello everybody!
I have a wcf service which receives and stores huge files (~1GB) in DB. OpenAccess mapped varbinary(max) to byte[], so I need to convert streamed data to byte[] (I use code like that ) and I get OutOfMemoryException. I want to ask if there are best practices to save huge files to DB with OpenAccess.
Thanks in advance,
I have a wcf service which receives and stores huge files (~1GB) in DB. OpenAccess mapped varbinary(max) to byte[], so I need to convert streamed data to byte[] (I use code like that ) and I get OutOfMemoryException. I want to ask if there are best practices to save huge files to DB with OpenAccess.
Thanks in advance,