Thursday, August 1, 2013

MVC Post -Redirect-Get PRG Pattern

Something worth to share.If you've closely watched and noticed the page refresh /page load of MVC web then you have to understand this pattern of Post Redirect and get-ie. PRG pattern. Now once page is loaded it is method Post in which data get processed and routed back to browser. After this if  user hit f5 or page refresh then page is not post back but indeed GET which is again a safe way to load page without being refresh. This is what MVC smartly do and identify the requests.

https://www.simple-talk.com/dotnet/asp.net/modal-input-forms-in-asp.net-mvc/
Post a Comment