Uploading and storing a file

46 views
Skip to first unread message

James Organ

unread,
Apr 29, 2012, 7:55:08 PM4/29/12
to ravendb
Hello
I want to add the ability for users to upload (potentially large)
files into a database. My options are MS SQL using Filestream or
possibly RavenDB. I am not happy with the Filestream option as it is a
nightmare to setup.
Can anyone provide a sample on how to upload a file into RavenDB?
Cheers
James

Oren Eini (Ayende Rahien)

unread,
Apr 29, 2012, 11:53:52 PM4/29/12
to rav...@googlegroups.com
store.Database.PutAttachment() will do that.
But what do you mean "potentially large" ?
Reply all
Reply to author
Forward
0 new messages