<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>IIS7 - Hostable Webcore Custom service (HWC)</title><link>http://code.msdn.microsoft.com/hwc/Project/ProjectRss.aspx</link><description>Hostable Web Core &amp;#40;known as HWC&amp;#41; is a new concept in IIS7 to host a website&amp;#47;webservice inside your own process. In short a smaller hosted version of IIS &amp;#40;an IIS7 express edition&amp;#63;&amp;#41;.    This is accompl...</description><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/hwc/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Hostable Web Core (known as HWC)&lt;/b&gt; is a new concept in IIS7 to host a website/webservice inside your own process. In short a smaller hosted version of IIS (an IIS7 express edition?). &lt;br /&gt; &lt;br /&gt;This is accomplished by making a LoadLibrary call to load hwebcore.dll (%systemdrive%\Windows\System32\inetsrv\hwebcore.dll)&lt;br /&gt; &lt;br /&gt;From IIS7 onwards you can administer IIS7 remotely using IIS Manager (through HTTPS). When you connect remotely you are actually connecting to a &amp;quot;Web Management Service&amp;quot; called WMSVC. This service uses HWC so that it's not dependent on IIS7 services directly. &lt;br /&gt; &lt;br /&gt;Let's see limitations of HWC (Calling it limitation is wrong so let's say it's by design)&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Only one application pool &lt;/li&gt;&lt;li&gt;Only one website/webservice &lt;/li&gt;&lt;li&gt;Separate configuration file &lt;/li&gt;&lt;li&gt;No monitoring like available for IIS7 application pools &lt;/li&gt;&lt;li&gt;Require IIS7 to be installed &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;i&gt;PS: Project files are in VS2008 but the application doesn't have any dependency with newer versions.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Ingredients of my WebCoreService.&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Good IIS7 configuration file (applicationHost.config) which contains all configuration required to run ASP/ASPX/ASMX... pages &lt;/li&gt;&lt;li&gt;Native Windows Service which host HWC which provides install/uninstall options.  &lt;/li&gt;
&lt;/ul&gt;  &lt;br /&gt;&lt;b&gt;How to RUN the service?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;Extract the zip files with source and the binary files. &lt;br /&gt;Follow these steps to setup the service (make sure you are doing this from an elevated command prompt)&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Create a folder called &amp;quot;TestPath&amp;quot; inside your &amp;quot;C:\inetpub\&amp;quot; folder &lt;/li&gt;&lt;li&gt;Create 2 folder inside called &amp;quot;wwwroot&amp;quot; and &amp;quot;Logs&amp;quot; &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Drop &amp;quot;time.asp&amp;quot; and &amp;quot;time.aspx&amp;quot; pages inside the &amp;quot;wwwroot&amp;quot; folder &lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Enable event logs notification from the service&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Registry location HKEY&lt;i&gt;LOCAL&lt;/i&gt;MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\WebCoreService&lt;/li&gt;&lt;li&gt;Create a string key &amp;quot;EventMessageFile&amp;quot; and set value as full path to &amp;quot;sample.dll&amp;quot; under the bin folder&lt;/li&gt;&lt;li&gt;Create a DWORD key &amp;quot;TypesSupported&amp;quot; and give value of &amp;quot;00000007&amp;quot; &lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Goto the folder where the EXE file resides &amp;quot;WebCoreService.EXE&amp;quot; &lt;/li&gt;&lt;li&gt;Install the service using the following command &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;WebCoreService install&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Start the service using the following command &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;net start WebCoreService&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Browse to the page http://localhost:8080/time.asp &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h1&gt;
Bingo! Hostable webcore service is ready.
&lt;/h1&gt; &lt;br /&gt;&lt;b&gt;All the configuration mentioned above like folder path, port number etc can be modified inside the configuration file &amp;quot;WebCoreService.exe.config&amp;quot;&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>Sukesh</author><pubDate>Sun, 03 Feb 2008 13:51:10 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080203P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/hwc/Wiki/View.aspx?title=Home&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Hostable Web Core (known as HWC)&lt;/b&gt; is a new concept in IIS7 to host a website/webservice inside your own process. In short a smaller hosted version of IIS (an IIS7 express edition?). &lt;br /&gt; &lt;br /&gt;This is accomplished by making a LoadLibrary call to load hwebcore.dll (%systemdrive%\Windows\System32\inetsrv\hwebcore.dll)&lt;br /&gt; &lt;br /&gt;From IIS7 onwards you can administer IIS7 remotely using IIS Manager (through HTTPS). When you connect remotely you are actually connecting to a &amp;quot;Web Management Service&amp;quot; called WMSVC. This service uses HWC so that it's not dependent on IIS7 services directly. &lt;br /&gt; &lt;br /&gt;Let's see limitations of HWC (Calling it limitation is wrong so let's say it's by design)&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Only one application pool &lt;/li&gt;&lt;li&gt;Only one website/webservice &lt;/li&gt;&lt;li&gt;Separate configuration file &lt;/li&gt;&lt;li&gt;No monitoring like available for IIS7 application pools &lt;/li&gt;&lt;li&gt;Require IIS7 to be installed &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;i&gt;PS: Project files are in VS2008 but the application doesn't have any dependency with newer versions.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Ingredients of my WebCoreService.&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Good IIS7 configuration file (applicationHost.config) which contains all configuration required to run ASP/ASPX/ASMX... pages &lt;/li&gt;&lt;li&gt;Native Windows Service which host HWC which provides install/uninstall options . Below is a screenshot to see the options available using command-line &lt;/li&gt;
&lt;/ul&gt;  &lt;br /&gt;&lt;b&gt;How to RUN the service?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;Extract the zip files with source and the binary files. &lt;br /&gt;Follow these steps to setup the service (make sure you are doing this from an elevated command prompt)&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Create a folder called &amp;quot;TestPath&amp;quot; inside your &amp;quot;C:\inetpub\&amp;quot; folder &lt;/li&gt;&lt;li&gt;Create 2 folder inside called &amp;quot;wwwroot&amp;quot; and &amp;quot;Logs&amp;quot; &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Drop &amp;quot;time.asp&amp;quot; and &amp;quot;time.aspx&amp;quot; pages inside the &amp;quot;wwwroot&amp;quot; folder &lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Enable event logs notification from the service&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Registry location HKEY&lt;i&gt;LOCAL&lt;/i&gt;MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\WebCoreService&lt;/li&gt;&lt;li&gt;Create a string key &amp;quot;EventMessageFile&amp;quot; and set value as full path to &amp;quot;sample.dll&amp;quot; under the bin folder&lt;/li&gt;&lt;li&gt;Create a DWORD key &amp;quot;TypesSupported&amp;quot; and give value of &amp;quot;00000007&amp;quot; &lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Goto the folder where the EXE file resides &amp;quot;WebCoreService.EXE&amp;quot; &lt;/li&gt;&lt;li&gt;Install the service using the following command &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;WebCoreService install&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Start the service using the following command &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;net start WebCoreService&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Browse to the page http://localhost:8080/time.asp &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h1&gt;
Bingo! Hostable webcore service is ready.
&lt;/h1&gt; &lt;br /&gt;&lt;b&gt;All the configuration mentioned above like folder path, port number etc can be modified inside the configuration file &amp;quot;WebCoreService.exe.config&amp;quot;&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>Sukesh</author><pubDate>Wed, 30 Jan 2008 10:32:02 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080130A</guid></item><item><title>NEW POST: Your suggestions are welcome</title><link>http://code.msdn.microsoft.com/hwc/Thread/View.aspx?ThreadId=33</link><description>&lt;div class="wikidoc"&gt;
Please feel free to comment, discuss or add bugs on Issue Tracker...&lt;br /&gt;
&lt;/div&gt;</description><author>Sukesh</author><pubDate>Wed, 30 Jan 2008 09:12:22 GMT</pubDate><guid isPermaLink="false">NEW POST: Your suggestions are welcome 20080130A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/hwc/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Hostable Web Core (known as HWC)&lt;/b&gt; is a new concept in IIS7 to host a website/webservice inside your own process. In short a smaller hosted version of IIS (an IIS7 express edition?). &lt;br /&gt; &lt;br /&gt;This is accomplished by making a LoadLibrary call to load hwebcore.dll (%systemdrive%\Windows\System32\inetsrv\hwebcore.dll)&lt;br /&gt; &lt;br /&gt;From IIS7 onwards you can administer IIS7 remotely using IIS Manager (through HTTPS). When you connect remotely you are actually connecting to a &amp;quot;Web Management Service&amp;quot; called WMSVC. This service uses HWC so that it's not dependent on IIS7 services directly. &lt;br /&gt; &lt;br /&gt;Let's see limitations of HWC (Calling it limitation is wrong so let's say it's by design)&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Only one application pool &lt;/li&gt;&lt;li&gt;Only one website/webservice &lt;/li&gt;&lt;li&gt;Separate configuration file &lt;/li&gt;&lt;li&gt;No monitoring like available for IIS7 application pools &lt;/li&gt;&lt;li&gt;Require IIS7 to be installed &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;i&gt;PS: Project files are in VS2008 but the application doesn't have any dependency with newer versions.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Ingredients of my WebCoreService.&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Good IIS7 configuration file (applicationHost.config) which contains all configuration required to run ASP/ASPX/ASMX... pages &lt;/li&gt;&lt;li&gt;Native Windows Service which host HWC which provides install/uninstall options . Below is a screenshot to see the options available using command-line &lt;/li&gt;
&lt;/ul&gt;  &lt;br /&gt;&lt;b&gt;How to RUN the service?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;Extract the zip files with source and the binary files. &lt;br /&gt;Follow these steps to setup the service (make sure you are doing this from an elevated command prompt)&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Create a folder called &amp;quot;TestPath&amp;quot; inside your &amp;quot;C:\inetpub\&amp;quot; folder &lt;/li&gt;&lt;li&gt;Create 2 folder inside called &amp;quot;wwwroot&amp;quot; and &amp;quot;Logs&amp;quot; &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Drop &amp;quot;time.asp&amp;quot; and &amp;quot;time.aspx&amp;quot; pages inside the &amp;quot;wwwroot&amp;quot; folder &lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Enable event logs notification from the service&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://code.msdn.microsoft.com/hwc/Wiki/View.aspx?title=HKEY_LOCAL_MACHINE%5cSYSTEM%5cCurrentControlSet%5cServices%5cEventlog%5cApplication%5cWebCoreService&amp;amp;referringTitle=Home"&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\WebCoreService&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Create a string key &amp;quot;EventMessageFile&amp;quot; and set value as full path to &amp;quot;sample.dll&amp;quot; under the bin folder&lt;/li&gt;&lt;li&gt;Create a DWORD key &amp;quot;TypesSupported&amp;quot; and give value of &amp;quot;00000007&amp;quot; &lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Goto the folder where the EXE file resides &amp;quot;WebCoreService.EXE&amp;quot; &lt;/li&gt;&lt;li&gt;Install the service using the following command &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;WebCoreService install&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Start the service using the following command &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;net start WebCoreService&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Browse to the page http://localhost:8080/time.asp &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h1&gt;
Bingo! Hostable webcore service is ready.
&lt;/h1&gt; &lt;br /&gt;&lt;b&gt;All the configuration mentioned above like folder path, port number etc can be modified inside the configuration file &amp;quot;WebCoreService.exe.config&amp;quot;&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>Sukesh</author><pubDate>Wed, 30 Jan 2008 09:03:12 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080130A</guid></item><item><title>UPDATED RELEASE: WebCoreService 1.0 (Jan 30, 2008)</title><link>http://code.msdn.microsoft.com/hwc/Release/ProjectReleases.aspx?ReleaseId=95</link><description>Here is the 1st release and the zip file includes both binary and source.</description><author></author><pubDate>Wed, 30 Jan 2008 09:02:10 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: WebCoreService 1.0 (Jan 30, 2008) 20080130A</guid></item><item><title>CREATED RELEASE: First Release (Jan 30, 2008)</title><link>http://code.msdn.microsoft.com/hwc/Release/ProjectReleases.aspx?ReleaseId=95</link><description>Here is the 1st release and the zip file includes both binary and source.</description><author></author><pubDate>Wed, 30 Jan 2008 09:00:59 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: First Release (Jan 30, 2008) 20080130A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/hwc/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Hostable Web Core (known as HWC)&lt;/b&gt; is a new concept in IIS7 to host a website/webservice inside your own process. In short a smaller hosted version of IIS (an IIS7 express edition?). &lt;br /&gt; &lt;br /&gt;This is accomplished by making a LoadLibrary call to load hwebcore.dll (%systemdrive%\Windows\System32\inetsrv\hwebcore.dll)&lt;br /&gt; &lt;br /&gt;From IIS7 onwards you can administer IIS7 remotely using IIS Manager (through HTTPS). When you connect remotely you are actually connecting to a &amp;quot;Web Management Service&amp;quot; called WMSVC. This service uses HWC so that it's not dependent on IIS7 services directly. &lt;br /&gt; &lt;br /&gt;Let's see limitations of HWC (Calling it limitation is wrong so let's say it's by design)&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Only one application pool &lt;/li&gt;&lt;li&gt;Only one website/webservice &lt;/li&gt;&lt;li&gt;Separate configuration file &lt;/li&gt;&lt;li&gt;No monitoring like available for IIS7 application pools &lt;/li&gt;&lt;li&gt;Require IIS7 to be installed &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;i&gt;PS: Project files are in VS2008 but the application doesn't have any dependency with newer versions.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Ingredients of my WebCoreService.&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Good IIS7 configuration file (applicationHost.config) which contains all configuration required to run ASP/ASPX/ASMX... pages &lt;/li&gt;&lt;li&gt;Native Windows Service which host HWC which provides install/uninstall options . Below is a screenshot to see the options available using command-line &lt;/li&gt;
&lt;/ul&gt;  &lt;br /&gt;&lt;b&gt;How to RUN the service?&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;Extract the zip files with source and the binary files. &lt;br /&gt;Follow these steps to setup the service (make sure you are doing this from an elevated command prompt)&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Create a folder called &amp;quot;TestPath&amp;quot; inside your &amp;quot;C:\inetpub\&amp;quot; folder &lt;/li&gt;&lt;li&gt;Create 2 folder inside called &amp;quot;wwwroot&amp;quot; and &amp;quot;Logs&amp;quot; &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Drop &amp;quot;time.asp&amp;quot; and &amp;quot;time.aspx&amp;quot; pages inside the &amp;quot;wwwroot&amp;quot; folder &lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Enable event logs notification from the service&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://code.msdn.microsoft.com/hwc/Wiki/View.aspx?title=HKEY_LOCAL_MACHINE%5cSYSTEM%5cCurrentControlSet%5cServices%5cEventlog%5cApplication%5cWebCoreService&amp;amp;referringTitle=Home"&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\WebCoreService&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Create a string key &amp;quot;EventMessageFile&amp;quot; and set value as full path to &amp;quot;sample.dll&amp;quot; under the bin folder&lt;/li&gt;&lt;li&gt;Create a DWORD key &amp;quot;TypesSupported&amp;quot; and give value of &amp;quot;00000007&amp;quot; &lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Goto the folder where the EXE file resides &amp;quot;WebCoreService.EXE&amp;quot; &lt;/li&gt;&lt;li&gt;Install the service using the following command &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;WebCoreService install&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Start the service using the following command &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;net start WebCoreService&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Browse to the page http://localhost:8080/time.asp &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;!Bingo! Hostable webcore service is ready.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;All the configuration mentioned above like folder path, port number etc can be modified inside the configuration file &amp;quot;WebCoreService.exe.config&amp;quot;&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>Sukesh</author><pubDate>Wed, 30 Jan 2008 08:57:17 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080130A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/hwc/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Hostable Web Core (known as HWC)&lt;/b&gt; is a new concept in IIS7 to host a website/webservice inside your own process. In short a smaller hosted version of IIS (an IIS7 express edition?). &lt;br /&gt; &lt;br /&gt;This is accomplished by making a LoadLibrary call to load hwebcore.dll (%systemdrive%\Windows\System32\inetsrv\hwebcore.dll)&lt;br /&gt; &lt;br /&gt;From IIS7 onwards you can administer IIS7 remotely using IIS Manager (through HTTPS). When you connect remotely you are actually connecting to a &amp;quot;Web Management Service&amp;quot; called WMSVC. This service uses HWC so that it's not dependent on IIS7 services directly. &lt;br /&gt; &lt;br /&gt;More information can be found @ my blog here...&lt;br /&gt;&lt;a href="http://blogs.msdn.com/sukeshak/archive/2007/12/24/iis7-hosted-web-core-custom-service-webcoreservice.aspx" class="externalLink"&gt;http://blogs.msdn.com/sukeshak/archive/2007/12/24/iis7-hosted-web-core-custom-service-webcoreservice.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>Sukesh</author><pubDate>Wed, 30 Jan 2008 08:42:55 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080130A</guid></item></channel></rss>