<?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 for blog.jorrit salverda.nl</title>
	<atom:link href="http://blog.jorritsalverda.nl/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jorritsalverda.nl</link>
	<description></description>
	<lastBuildDate>Wed, 30 Nov 2011 22:01:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Maintainable MVC: Post-Redirect-Get pattern by Steve Fenton</title>
		<link>http://blog.jorritsalverda.nl/2010/03/10/maintainable-mvc-post-redirect-get-pattern/comment-page-1/#comment-3314</link>
		<dc:creator>Steve Fenton</dc:creator>
		<pubDate>Wed, 30 Nov 2011 22:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorritsalverda.nl/?p=311#comment-3314</guid>
		<description>Hello Jorrit - it&#039;s great to see people discussing the Post-Redirect-Get pattern.

The PRG pattern is a valuable way of handling your user experience after a form post, even when you aren&#039;t using the ASP.NET MVC framework.

There are quite a few articles online that blindly redirect whether or not the model state is valid, but this is not necessary. The cleanest and simplest way to handle an invalid post is to re-display the view. This then negates the need to pass around data as it already available directly.

Although one reason to use the post-redirect-get pattern is to avoid the &quot;Are you sure you wish to re-submit this form&quot; warning, another reason is that if the user mistakenly confirms a second submission you have to consider the impact of the second submission on your data. If the original post was invalid, a re-submission will not pose a risk to your data integrity.

Keep up the great work on your blog.</description>
		<content:encoded><![CDATA[<p>Hello Jorrit &#8211; it&#8217;s great to see people discussing the Post-Redirect-Get pattern.</p>
<p>The PRG pattern is a valuable way of handling your user experience after a form post, even when you aren&#8217;t using the ASP.NET MVC framework.</p>
<p>There are quite a few articles online that blindly redirect whether or not the model state is valid, but this is not necessary. The cleanest and simplest way to handle an invalid post is to re-display the view. This then negates the need to pass around data as it already available directly.</p>
<p>Although one reason to use the post-redirect-get pattern is to avoid the &#8220;Are you sure you wish to re-submit this form&#8221; warning, another reason is that if the user mistakenly confirms a second submission you have to consider the impact of the second submission on your data. If the original post was invalid, a re-submission will not pose a risk to your data integrity.</p>
<p>Keep up the great work on your blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maintainable MVC: Post-Redirect-Get pattern by Jorrit Salverda</title>
		<link>http://blog.jorritsalverda.nl/2010/03/10/maintainable-mvc-post-redirect-get-pattern/comment-page-1/#comment-3277</link>
		<dc:creator>Jorrit Salverda</dc:creator>
		<pubDate>Wed, 19 Oct 2011 04:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorritsalverda.nl/?p=311#comment-3277</guid>
		<description>Nice article. I probably fall into the category of people that like the fact that you never see the &#039;are you sure you want to re-submit?&#039; warning.

However not doing a redirect on invalid state, as the article mentions, is very useful for avoiding use of tempdata and sessionstate, and thus being able to scale out more easily.

To make returning a view from your POST action as easy as possible make sure you create your view model in a separate mapper for maximum reuse. I so often see a lot of logic repeated in both controller actions, while this is totally unnecessary. Always keep DRY (don&#039;t repeat yourself) in mind.</description>
		<content:encoded><![CDATA[<p>Nice article. I probably fall into the category of people that like the fact that you never see the &#8216;are you sure you want to re-submit?&#8217; warning.</p>
<p>However not doing a redirect on invalid state, as the article mentions, is very useful for avoiding use of tempdata and sessionstate, and thus being able to scale out more easily.</p>
<p>To make returning a view from your POST action as easy as possible make sure you create your view model in a separate mapper for maximum reuse. I so often see a lot of logic repeated in both controller actions, while this is totally unnecessary. Always keep DRY (don&#8217;t repeat yourself) in mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maintainable MVC: Post-Redirect-Get pattern by Andrew Beaven</title>
		<link>http://blog.jorritsalverda.nl/2010/03/10/maintainable-mvc-post-redirect-get-pattern/comment-page-1/#comment-3276</link>
		<dc:creator>Andrew Beaven</dc:creator>
		<pubDate>Wed, 19 Oct 2011 00:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorritsalverda.nl/?p=311#comment-3276</guid>
		<description>http://www.stevefenton.co.uk/Content/Blog/Date/201104/Blog/ASP-NET-MVC-Post-Redirect-Get-Pattern/

Here it says that on an error, the PRG pattern does not require you to return a GET action. You&#039;re only required to return a GET when any data has changed.</description>
		<content:encoded><![CDATA[<p><a href="http://www.stevefenton.co.uk/Content/Blog/Date/201104/Blog/ASP-NET-MVC-Post-Redirect-Get-Pattern/" rel="nofollow">http://www.stevefenton.co.uk/Content/Blog/Date/201104/Blog/ASP-NET-MVC-Post-Redirect-Get-Pattern/</a></p>
<p>Here it says that on an error, the PRG pattern does not require you to return a GET action. You&#8217;re only required to return a GET when any data has changed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Jorrit Salverda</title>
		<link>http://blog.jorritsalverda.nl/about/comment-page-1/#comment-1817</link>
		<dc:creator>Jorrit Salverda</dc:creator>
		<pubDate>Mon, 08 Nov 2010 06:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://jorritsalverda.nl/blog/?page_id=2#comment-1817</guid>
		<description>Hi Tomas, I&#039;m still planning to continue the series soon. Time has been sparse since I wrote the last part, but their are still some important topics left to write about.</description>
		<content:encoded><![CDATA[<p>Hi Tomas, I&#8217;m still planning to continue the series soon. Time has been sparse since I wrote the last part, but their are still some important topics left to write about.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Tomas</title>
		<link>http://blog.jorritsalverda.nl/about/comment-page-1/#comment-1816</link>
		<dc:creator>Tomas</dc:creator>
		<pubDate>Sun, 07 Nov 2010 21:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://jorritsalverda.nl/blog/?page_id=2#comment-1816</guid>
		<description>Hi! Will you continue your series of asp.net MVG soon? I have been waiting since mars.

Best regards Tomas</description>
		<content:encoded><![CDATA[<p>Hi! Will you continue your series of asp.net MVG soon? I have been waiting since mars.</p>
<p>Best regards Tomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maintainable MVC: Post-Redirect-Get pattern by Sam</title>
		<link>http://blog.jorritsalverda.nl/2010/03/10/maintainable-mvc-post-redirect-get-pattern/comment-page-1/#comment-1770</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Fri, 08 Oct 2010 07:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorritsalverda.nl/?p=311#comment-1770</guid>
		<description>Great post - thanks</description>
		<content:encoded><![CDATA[<p>Great post &#8211; thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maintainable MVC: Post-Redirect-Get pattern by Jorrit Salverda</title>
		<link>http://blog.jorritsalverda.nl/2010/03/10/maintainable-mvc-post-redirect-get-pattern/comment-page-1/#comment-1711</link>
		<dc:creator>Jorrit Salverda</dc:creator>
		<pubDate>Tue, 31 Aug 2010 09:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorritsalverda.nl/?p=311#comment-1711</guid>
		<description>While most modern browsers have a double-click protection for submitting forms, indeed some older browser don&#039;t. In handling your form post you should check if you didn&#039;t already perform the action. However this problem is independent of Post/Redirect/Get.

The pattern does prevent repeating the form post, once you are redirected and use the back button.</description>
		<content:encoded><![CDATA[<p>While most modern browsers have a double-click protection for submitting forms, indeed some older browser don&#8217;t. In handling your form post you should check if you didn&#8217;t already perform the action. However this problem is independent of Post/Redirect/Get.</p>
<p>The pattern does prevent repeating the form post, once you are redirected and use the back button.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maintainable MVC Series: Poor man’s RenderAction by Jorrit Salverda</title>
		<link>http://blog.jorritsalverda.nl/2010/03/08/maintainable-mvc-series-poor-man%e2%80%99s-renderaction/comment-page-1/#comment-1710</link>
		<dc:creator>Jorrit Salverda</dc:creator>
		<pubDate>Tue, 31 Aug 2010 09:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorritsalverda.nl/?p=222#comment-1710</guid>
		<description>I don&#039;t think that&#039;s the case. It is available in the Futures assembly, but not in the regular mvc 1 assembly.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think that&#8217;s the case. It is available in the Futures assembly, but not in the regular mvc 1 assembly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maintainable MVC: Post-Redirect-Get pattern by dario-g</title>
		<link>http://blog.jorritsalverda.nl/2010/03/10/maintainable-mvc-post-redirect-get-pattern/comment-page-1/#comment-1707</link>
		<dc:creator>dario-g</dc:creator>
		<pubDate>Mon, 30 Aug 2010 13:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorritsalverda.nl/?p=311#comment-1707</guid>
		<description>I someone have slow connection then it is possible to send the same form multiple times (just before browser renders other view).</description>
		<content:encoded><![CDATA[<p>I someone have slow connection then it is possible to send the same form multiple times (just before browser renders other view).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maintainable MVC Series: Poor man’s RenderAction by dario-g</title>
		<link>http://blog.jorritsalverda.nl/2010/03/08/maintainable-mvc-series-poor-man%e2%80%99s-renderaction/comment-page-1/#comment-1706</link>
		<dc:creator>dario-g</dc:creator>
		<pubDate>Mon, 30 Aug 2010 12:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorritsalverda.nl/?p=222#comment-1706</guid>
		<description>In MVC1 we have RenderAction which come from Microsoft.Web.Mvc.dll :)</description>
		<content:encoded><![CDATA[<p>In MVC1 we have RenderAction which come from Microsoft.Web.Mvc.dll :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

