What is the PRG Pattern?
While the PRG pattern isn’t new, there isn’t much out there on it for the .NET community. PRG stands for “Post/Redirect/Get”, I’ll let Wikipedia explain the rest:
instead of returning an HTML page directly, the POST operation returns a redirection command (using the HTTP 303 response code (sometimes 302) together with the HTTP “Location” response header), instructing the browser to load a different page using an HTTP GET request. The result page can then safely be bookmarked or reloaded without unexpected side effects.
While this could be accomplished in webforms, it would be much more difficult since the postback model hangs on pages posting to themselves to implement button clicks and the like. The MVC Framework on the other hand makes the implementation of the PRG pattern extremely easy.
See rest of article written by devlicio.us ….