How can I create a route constraint of type System.Guid?

Posted by devlife on Stack Overflow See other posts from Stack Overflow or by devlife
Published on 2010-03-11T01:44:02Z Indexed on 2010/03/12 2:37 UTC
Read the original article Hit count: 253

Can anyone point me in the right direction on how to map a route which requires two guids?

ie. http://blah.com/somecontroller/someaction/{firstGuid}/{secondGuid}

where both firstGuid and secondGuid are not optional and must be of type system.Guid?

Thanks

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about asp.net-mvc-routing