Hosted Web Core is a new feature in IIS 7 that enables developers to create applications that load the core IIS functionality.
That means it is extremely easy to locally cache a web application if the autonomous system is at least Windows Vista.
The hosting process is (see hwebcore.h for more info)
– load hwebcore.dll (WEB_CORE_DLL_NAME)
– bind the exported functions WebCoreActivate (WEB_CORE_ACTIVATE_ENTRY) and WebCoreShutdown (WEB_CORE_SHUTDOWN_DLL_ENTRY)
– hardcode or dynamically generate a configuration file
– call WebCoreActivate
– when done, shutdown by calling WebCoreShutdown.