POST, REDIRECT, GET

I recently started implementing the Post, Redirect, Get pattern in my .Net MVC Controllers per a suggestion from my good friend and life coach Ryan Fuller. If, like me you aren’t currently familiar with this pattern and its benefits check out the Wikipedia link in the previous sentence.

My initial implementation required quite a bit of value checking, type casting and magic string management which I was not a fan of. So, I created this simple little helper class that I would like to share with you, whoever you may be.