<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Host your own Web Server in your application using IIS 7.0 Hostable Web Core</title><link>http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx</link><description>IIS 7.0 includes a very cool feature that is not so well known called Hostable WebCore (HWC). This feature basically allows you to host the entire IIS functionality within your own process. This gives you the power to implement scenarios where you can</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Host your own Web Server in your application using IIS 7.0 Hostable Web Core</title><link>http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx#10288771</link><pubDate>Thu, 29 Mar 2012 02:01:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10288771</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;It works with both, if you run it as administrator you should be able to run in any port. If you want to run the process as a normal user you will need to allow access to the port before running your app using &amp;quot;netsh http add urlacl&amp;quot; see the blog from Vaidy that explains similar process for IIS Express &lt;a rel="nofollow" target="_new" href="http://blogs.iis.net/vaidyg/archive/2010/07/29/serving-external-traffic-with-webmatrix-beta.aspx"&gt;blogs.iis.net/.../serving-external-traffic-with-webmatrix-beta.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10288771" width="1" height="1"&gt;</description></item><item><title>re: Host your own Web Server in your application using IIS 7.0 Hostable Web Core</title><link>http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx#10288679</link><pubDate>Wed, 28 Mar 2012 22:49:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10288679</guid><dc:creator>Sameer</dc:creator><description>&lt;p&gt;Can HWC work only on localhost by design? what if I want this website to to accessible in my intranet?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10288679" width="1" height="1"&gt;</description></item><item><title>re: Host your own Web Server in your application using IIS 7.0 Hostable Web Core</title><link>http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx#10096451</link><pubDate>Thu, 25 Nov 2010 11:01:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10096451</guid><dc:creator>Damian H</dc:creator><description>&lt;p&gt;I have been trying to get this to work and been half - successful. I have the in-proc serving static pages, but anything asp.net 2.0 either 503s or gives me a blank page. Now, I am exclusively using VS2010 and have .net 4 installed as well, so that could be a problem. &lt;/p&gt;
&lt;p&gt;I would prefer to get this to working with asp.net 4.0 apps. According to this post &lt;a rel="nofollow" target="_new" href="http://blogs.iis.net/ksingla/archive/2007/12/20/ins-amp-outs-of-hostable-web-core.aspx"&gt;blogs.iis.net/.../ins-amp-outs-of-hostable-web-core.aspx&lt;/a&gt; , second last paragraph, &amp;quot;Also HWC always uses .Net 2.0 schema and there is no way to make it pick .Net 4.0 schema. &amp;quot;. &lt;/p&gt;
&lt;p&gt;IIS Express (Beta 3 as of writing this) appears to ship with an updated version of HWC (7.5?) and a look inside applicationhost.config confirms .net 4 support. But when I try to reference hwebcore.dll in the IIS install path (C:\Program Files (x86)\IIS Express instead of System32\InetSrv ), I get a type a TypeInitilizationException at IntPtr procaddr = NativeMethods.GetProcAddress(hwc, &amp;quot;WebCoreActivate&amp;quot;); Basically it looks like the HWC api has changed. &lt;/p&gt;
&lt;p&gt;Any pointers / tips on whether your original post is achievable with the IIE Express&amp;#39;s HWC? &lt;/p&gt;
&lt;p&gt;Many thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10096451" width="1" height="1"&gt;</description></item><item><title>re: Host your own Web Server in your application using IIS 7.0 Hostable Web Core</title><link>http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx#9968991</link><pubDate>Thu, 25 Feb 2010 01:17:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9968991</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;It is not supported to be distributed, in fact that DLL is only the &amp;quot;activation&amp;quot; of the server, most of the &amp;quot;important&amp;quot; functionality is actually fullfilled by the rest of the IIS modules like if you want to support download static files, Windows Authentication or default document or anything else that still requires the IIS binaries.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9968991" width="1" height="1"&gt;</description></item><item><title>re: Host your own Web Server in your application using IIS 7.0 Hostable Web Core</title><link>http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx#9968973</link><pubDate>Thu, 25 Feb 2010 00:52:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9968973</guid><dc:creator>Howard Covitz</dc:creator><description>&lt;p&gt;What is Microsoft's policy on redistributing &amp;nbsp;hwebcore.dll ? &amp;nbsp;I remember at first, back in 2000, the IE library was available for developers, but it turned out we were not allowed by Microsoft to redistribute it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9968973" width="1" height="1"&gt;</description></item><item><title>re: Host your own Web Server in your application using IIS 7.0 Hostable Web Core</title><link>http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx#8527048</link><pubDate>Wed, 21 May 2008 11:19:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8527048</guid><dc:creator>Chua Wen Ching</dc:creator><description>&lt;p&gt;Hi. Do I actually place my processing code (as the scenarios above) in between Server.Start and Server.Stop? Is this like ASP.NET 2.0 FileSystem (like Cassini)?&lt;/p&gt;
&lt;p&gt;Do you have more code examples based on real life scenarios?&lt;/p&gt;
&lt;p&gt;Any help? Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8527048" width="1" height="1"&gt;</description></item><item><title>Hosting your own web server with IIS 7.0</title><link>http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx#8392815</link><pubDate>Mon, 14 Apr 2008 17:22:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8392815</guid><dc:creator>WiredPrairie</dc:creator><description>&lt;p&gt;CarlosAg demonstrates how to create a hostable instance of IIS 7.0 within your own application here.&lt;/p&gt;
&lt;p&gt;It&amp;amp;#8217;s not just a lightweight simulation of IIS &amp;amp;#8212; it really is IIS.&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8392815" width="1" height="1"&gt;</description></item><item><title>Microsoft news and tips &amp;raquo; Host your own Web Server in your application using IIS 7.0 Hostable Web Core</title><link>http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx#8391192</link><pubDate>Mon, 14 Apr 2008 11:20:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8391192</guid><dc:creator>Microsoft news and tips &amp;raquo; Host your own Web Server in your application using IIS 7.0 Hostable Web Core</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://microsoftnews.askpcdoc.com/?p=2233"&gt;http://microsoftnews.askpcdoc.com/?p=2233&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8391192" width="1" height="1"&gt;</description></item></channel></rss>