<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Serving your ASP.NET .aspx pages with .html</title>
	<atom:link href="http://www.ytechie.com/2008/04/serving-your-aspnet-aspx-pages-with-html.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ytechie.com/2008/04/serving-your-aspnet-aspx-pages-with-html.html</link>
	<description>Productive software development using ASP.NET, C#, Adobe Flex, and other technologies and tools.</description>
	<pubDate>Sat, 22 Nov 2008 02:24:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Sam</title>
		<link>http://www.ytechie.com/2008/04/serving-your-aspnet-aspx-pages-with-html.html#comment-140</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 29 Apr 2008 00:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://207.36.235.13/2008/04/serving-your-aspnet-aspx-pages-with-html.html#comment-140</guid>
		<description>This is probably the most useful article that I have seen today. However, I think a lot of hosts don't allow custom HttpModules (I am not sure but I had a problem with that). In any case it would be useful in many scenarios.</description>
		<content:encoded><![CDATA[<p>This is probably the most useful article that I have seen today. However, I think a lot of hosts don&#8217;t allow custom HttpModules (I am not sure but I had a problem with that). In any case it would be useful in many scenarios.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor Loginov</title>
		<link>http://www.ytechie.com/2008/04/serving-your-aspnet-aspx-pages-with-html.html#comment-93</link>
		<dc:creator>Igor Loginov</dc:creator>
		<pubDate>Sat, 26 Apr 2008 09:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://207.36.235.13/2008/04/serving-your-aspnet-aspx-pages-with-html.html#comment-93</guid>
		<description>Hi,

Seems, the easiest way is to use Global.asax :

protected void Application_BeginRequest(object sender, EventArgs e)
{
  string url = Request.AppRelativeCurrentExecutionFilePath.Replace(".html", ".aspx");
  Context.RewritePath(url);
}</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Seems, the easiest way is to use Global.asax :</p>
<p>protected void Application_BeginRequest(object sender, EventArgs e)<br />
{<br />
  string url = Request.AppRelativeCurrentExecutionFilePath.Replace(&#8221;.html&#8221;, &#8220;.aspx&#8221;);<br />
  Context.RewritePath(url);<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
