DCSIMG
exceptions - Avi Pinto

Avi Pinto

על הבלוג

Follow uberPinto on Twitter

View Avi Pinto's profile on LinkedIn

Subscribe in a reader Subscribe by Email

 


Two new sculptures

View my Air Brush Work at Avipinto.com

Helping a friend, great tool for fixing file names

JavaScript Tutorial


Disclaimer All postings/content on this blog are licensed under a Creative Commons Attribution By license and provided "AS IS" with no warranties, and confer no rights.
All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer or sponsors.

Browse by Tags

All Tags » exceptions (RSS)
MVC2 ActionFilterAttribute - During OnActionExecuting Don't use Redirect Use RedirectResult
Still haven't upgraded to the visual studio 2010 RTM, so I'm talking about version RC1 of MVC2(the one that shipped with VS2010 RC), But i guess this is also the case with the RTM version. We followed the excellent post by Rob Conery and implemented our own ActionFilterAttribute to validate that only authenticated users gain access to some of the actions. At OnActionExecuting we checked for anonymous users and redirected them to the login page. All went well till Accidentally i stumbled upon...