I am currently working on a project that needs to store about 5x2mb files for each user in the system. There will eventually be tens of thousands of users. I'm using ASP.NET MVC5, EF6 code-first.
I've read about using Filestream
, so that I don't pollute the database with a lot of files. But I can't find any samples as to how I would write my code-first entity to use this type.
Any sample or alternative solution is much appreciated!