7

Has anyone seen a good tutorial on Open Packaging Conventions and the System.IO.Packaging namespace?

I have some areas where I think this technology could be useful, but I'm nervous because I don't quite understand it and I'm stuck on some of the terminology.

Doug McClean
  • 14,265
  • 6
  • 48
  • 70
  • System.IO.Packaging came with .NET 3. Just a note for people who stumble apon this thread and are stuck with .net 2.0 – aaron May 05 '10 at 03:06

2 Answers2

4

Eric White has a pretty good introduction here:

http://blogs.msdn.com/ericwhite/pages/packages-and-parts.aspx

http://www.ericwhite.com/blog/screen-cast-overview-of-the-open-packaging-conventions-part-1/

it3xl
  • 2,372
  • 27
  • 37
Robert Harvey
  • 178,213
  • 47
  • 333
  • 501
  • Thanks! Nut graf for me: "The Package itself contains a collection of relationships, and any individual PackagePart can also contain a collection of relationships. The main document body will be a part that is referred to by the PackageRelationshipCollection collection in the Package." – Doug McClean Sep 26 '09 at 23:09
  • Also, I would add an MSDN article that I wrote entitled: Essentials of the Open Packaging Conventions: http://msdn.microsoft.com/en-us/library/ee361919.aspx. Also recorded two screen-casts: http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/05/10/screen-cast-overview-of-the-open-packaging-conventions.aspx – Eric White May 26 '12 at 07:51
0

System.IO.Packaging namespace allows to access the package related info as Digital signature, Encryption, relations between the various xml files and package properties of that file.

It also allows to access the File as part, as a collection of Individual objects.

Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453