<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ASP.NET postbacks and URL rewriting</title>
	<atom:link href="http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/</link>
	<description>IIS, FastCGI, PHP and other interesting stuff</description>
	<lastBuildDate>Fri, 30 Jul 2010 17:19:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-2092</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Fri, 25 Jun 2010 00:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-2092</guid>
		<description>Hi WP:

The hotfix for ASP.NET that is included with URL Rewrite is not applicable to IIS 6. 

I cannot think of a good workaround for that. One option may be to not use ~ operator and instead rely on absolute URL paths or to sue HTML &lt;base&gt; tag? But it will require substantial changes to the application code, which I am not sure you can afford.</description>
		<content:encoded><![CDATA[<p>Hi WP:</p>
<p>The hotfix for ASP.NET that is included with URL Rewrite is not applicable to IIS 6. </p>
<p>I cannot think of a good workaround for that. One option may be to not use ~ operator and instead rely on absolute URL paths or to sue HTML &lt;base&gt; tag? But it will require substantial changes to the application code, which I am not sure you can afford.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-2090</link>
		<dc:creator>WP</dc:creator>
		<pubDate>Tue, 22 Jun 2010 14:47:11 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-2090</guid>
		<description>Hi Ruslany,

We are mixing a lot of Asp.Net technologies in a large web environment. In approximately 6 months we will be moving over to IIS 7.5 (and Url Rewrite 2.0 off course), but for the moment we are still using IIS 6...and trying to incorporate a rewriting solution.

The issues is that we came accross the famous &quot;~ operator in ASP.NET Web server control is resolved incorrectly &quot; bug. You mentioned the Asp.Net kind-of-hotfix that takes place underneath the installation of Url Rewrite. A few questions:
- Is this hotfix available for IIS 6 as well?
- If not, is it possible to work around the issue? (keeping in mind that the usage of ResolveClientUrl and alike is widespread in the framework. And that we have a large codebase.)
- Are there other strategies/alternatives (on IIS 6)

Also note that the we are familiar with the various articles on the net (like scott mitchells old one, adapter strategies and the bug listed on connect with id 235385). In particular we fear sudden changed postback actions and alike...

Regards and keep up the good work,

WP</description>
		<content:encoded><![CDATA[<p>Hi Ruslany,</p>
<p>We are mixing a lot of Asp.Net technologies in a large web environment. In approximately 6 months we will be moving over to IIS 7.5 (and Url Rewrite 2.0 off course), but for the moment we are still using IIS 6&#8230;and trying to incorporate a rewriting solution.</p>
<p>The issues is that we came accross the famous &#8220;~ operator in ASP.NET Web server control is resolved incorrectly &#8221; bug. You mentioned the Asp.Net kind-of-hotfix that takes place underneath the installation of Url Rewrite. A few questions:<br />
- Is this hotfix available for IIS 6 as well?<br />
- If not, is it possible to work around the issue? (keeping in mind that the usage of ResolveClientUrl and alike is widespread in the framework. And that we have a large codebase.)<br />
- Are there other strategies/alternatives (on IIS 6)</p>
<p>Also note that the we are familiar with the various articles on the net (like scott mitchells old one, adapter strategies and the bug listed on connect with id 235385). In particular we fear sudden changed postback actions and alike&#8230;</p>
<p>Regards and keep up the good work,</p>
<p>WP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-1708</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Tue, 02 Mar 2010 19:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-1708</guid>
		<description>@Hemant: I am not that familiar with URL Rewriting.NET. Have you tried using the IIS URL Rewrite Module instead? URL Rewrite 2.0 has a feature for changing the URL&#039;s in the response HTML. You could use it to change the form.Action element in the response.</description>
		<content:encoded><![CDATA[<p>@Hemant: I am not that familiar with URL Rewriting.NET. Have you tried using the IIS URL Rewrite Module instead? URL Rewrite 2.0 has a feature for changing the URL&#8217;s in the response HTML. You could use it to change the form.Action element in the response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hemant</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-1705</link>
		<dc:creator>Hemant</dc:creator>
		<pubDate>Mon, 01 Mar 2010 06:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-1705</guid>
		<description>Hi ruslany, 

I have Using URL Rewriting.Net Dll in my Project.
I have completed all Rewriting but I have One Issue, that is Postback Button click is not happaning in my Project after applying Rewriting rule.

I am Not able to set &quot;form.Action = request.rawURL&quot; because all the Pages is loading Dynamic and on the base of Querystring.
Example : - &quot;MY Current Url: www.mydomain.com/home.aspx?pid=46&quot;

I want to Rewriting as a www.mydomain.com/home.aspx/Calender or www.mydomain.com/home.aspx/Calender.aspx.

please provide me a proper solution for Button Click Event.

waiting for your reply
Regards
Hemant Tawri</description>
		<content:encoded><![CDATA[<p>Hi ruslany, </p>
<p>I have Using URL Rewriting.Net Dll in my Project.<br />
I have completed all Rewriting but I have One Issue, that is Postback Button click is not happaning in my Project after applying Rewriting rule.</p>
<p>I am Not able to set &#8220;form.Action = request.rawURL&#8221; because all the Pages is loading Dynamic and on the base of Querystring.<br />
Example : &#8211; &#8220;MY Current Url: <a href="http://www.mydomain.com/home.aspx?pid=46" rel="nofollow">http://www.mydomain.com/home.aspx?pid=46</a>&#8221;</p>
<p>I want to Rewriting as a <a href="http://www.mydomain.com/home.aspx/Calender" rel="nofollow">http://www.mydomain.com/home.aspx/Calender</a> or <a href="http://www.mydomain.com/home.aspx/Calender.aspx" rel="nofollow">http://www.mydomain.com/home.aspx/Calender.aspx</a>.</p>
<p>please provide me a proper solution for Button Click Event.</p>
<p>waiting for your reply<br />
Regards<br />
Hemant Tawri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-1687</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Wed, 17 Feb 2010 04:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-1687</guid>
		<description>@Jitendra: please send me the examples of input URL and what it should be rewritten to. You can use the contact form on this blog.</description>
		<content:encoded><![CDATA[<p>@Jitendra: please send me the examples of input URL and what it should be rewritten to. You can use the contact form on this blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jitendra verma</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-1685</link>
		<dc:creator>jitendra verma</dc:creator>
		<pubDate>Tue, 16 Feb 2010 06:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-1685</guid>
		<description>i have integrated url rewriting with 1.1 module with iis 7
Its working fine for static pages.
But i have some dynamic pages where page is depend on querystring.

i have to pass dynamic querysting from web.config in rule that i have defind 
how should i achieved this.
any idea ?</description>
		<content:encoded><![CDATA[<p>i have integrated url rewriting with 1.1 module with iis 7<br />
Its working fine for static pages.<br />
But i have some dynamic pages where page is depend on querystring.</p>
<p>i have to pass dynamic querysting from web.config in rule that i have defind<br />
how should i achieved this.<br />
any idea ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-1590</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Wed, 06 Jan 2010 19:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-1590</guid>
		<description>Bill, did you install .net 3.5 SP1 after URL rewrite? If yes, then you will need to re-install the URL Rewrite so that it applies the patch for the ASP.NET which fixes the Request.RawUrl behavior.</description>
		<content:encoded><![CDATA[<p>Bill, did you install .net 3.5 SP1 after URL rewrite? If yes, then you will need to re-install the URL Rewrite so that it applies the patch for the ASP.NET which fixes the Request.RawUrl behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Hebb</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-1589</link>
		<dc:creator>Bill Hebb</dc:creator>
		<pubDate>Wed, 06 Jan 2010 14:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-1589</guid>
		<description>We just moved our development boxes from IIS6 to IIS7 and were eager to replace our home grown url rewrite with IIS7 rewrite. .Net 3.5 SP1 is installed. The rewrite is working as expected, no issues, but we are unable to retrieve the original url and update the postback url. Both Request.RawUrl and Request.ServerVariables(&quot;HTTP_X_ORIGINAL_URL&quot;) contain the rewritten URL instead of the orginal URL. What did we miss?

TIA,
Bill</description>
		<content:encoded><![CDATA[<p>We just moved our development boxes from IIS6 to IIS7 and were eager to replace our home grown url rewrite with IIS7 rewrite. .Net 3.5 SP1 is installed. The rewrite is working as expected, no issues, but we are unable to retrieve the original url and update the postback url. Both Request.RawUrl and Request.ServerVariables(&#8220;HTTP_X_ORIGINAL_URL&#8221;) contain the rewritten URL instead of the orginal URL. What did we miss?</p>
<p>TIA,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sahin boydas</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-1487</link>
		<dc:creator>Sahin boydas</dc:creator>
		<pubDate>Sun, 22 Nov 2009 23:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-1487</guid>
		<description>In our web page we use the following to remove default.aspx.

 
          
          
        

We use as above we get post action=&quot;/default.aspx&quot; and the post back is not working for the home page. 

so we made the following change.

   form1.Action = Request.RawUrl.Replace(&quot;default.aspx&quot;, &quot;&quot;)



so we made the modification,</description>
		<content:encoded><![CDATA[<p>In our web page we use the following to remove default.aspx.</p>
<p>We use as above we get post action=&#8221;/default.aspx&#8221; and the post back is not working for the home page. </p>
<p>so we made the following change.</p>
<p>   form1.Action = Request.RawUrl.Replace(&#8220;default.aspx&#8221;, &#8220;&#8221;)</p>
<p>so we made the modification,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: praveen</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-1477</link>
		<dc:creator>praveen</dc:creator>
		<pubDate>Tue, 17 Nov 2009 22:58:47 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-1477</guid>
		<description>Thanks a lot! it was a great help...........</description>
		<content:encoded><![CDATA[<p>Thanks a lot! it was a great help&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
