Tuesday, February 07, 2006

MHTML Library for .NET - The Code Project - .NET

MHTML Library for .NET - The Code Project - .NET

"Most people who use the web are familiar with pages written using HTML, which reference other files such as images and stylesheets.

As email became more prevalent, there was the desire to email HTML content and all related resources.
In 1999, an RFC (RFC-2557) proposal was submitted that described aggregating HTML and related resources into a single file. This soon became known as MHTML.

MHTML defines a standard format for the encoding and storing of web related resources so it can be stored or transmitted easily.

… CDOSYS and CDONTS have existed for a while and is the common way for most developers to create MHTML documents. In fact, CDOSYS has the method CreateMHTMLBody(), so it was no surprise when this was chosen to be used.

I was dissatisfied with the interface CDOSYS exposed. I found it to be cumbersome and difficult to use in the context of this application. I began thinking of how this might be improved and made easier.  Written entirely in C#, this library exposes an object model for the downloaded content and makes integrating into an application very easy.  It also provides an extensibility model.

…"

Another .Net MHTML project to keep an eye on…

Related Past Post XRef:
Convert any URL to a MHTML archive using native .NET code

No comments: