I am rewriting some backup/restore code in one of our products that used to use Compound Documents. I am evaluating using ZipPackage in the new code as it's built into the framework. Two questions I have that I can't seem to find answers to.
1. Are there any size limits in dealing with ZipPackage? We have clients that have backups that are 4GB or more. Huge backups. Are there any explicit limits to dealing with data in the ZipPackage classes?
2. When exactly does compression take place? For example let's say I create 3 PackageParts, do they get compressed on the fly somehow? Are all three compressed when I call Flush()? Or on Close()? I just can't find any specifics as to when the compression takes place.