----------------------------------------------------------------------------------------------------------------------------

Store pictures or other resource files in a ZIP file without compression

Using a ZIP file would be a similar approach to NFileStorage, I didn't experiment storing files in a ZIP file and looking at the performance differences. I do can imagine most compression tools and/or libraries will be primarily focused on the archiving features, where-as NFileStorage focuses simply on exposing file to the outside world. A big plus to using ZIP file rather than NFileStorage would be that the ZIP approach uses a way more advanced index file which is also stored in that same .ZIP file, rather than using an index file as NFileStorage does which grows rapidly.

If you do want to use compression, you might be interested in:
http://www.codeproject.com/KB/recipes/ZipStorer.aspx

----------------------------------------------------------------------------------------------------------------------------

Last edited May 30, 2009 at 10:45 AM by barkgj, version 6

Comments

jaime_olivares Aug 2, 2009 at 5:39 PM 
Hi barkgj,
Please update the url of ZipStorer to: zipstorer.codeplex.com