ASP.NET MVC Tip #30 – Create Custom Route Constraints (weblogs.asp.net)
submitted by
MikeBorozdin(1131) 3 years, 6 months ago
In this tip, I show how you can create custom route constraints that prevent you from accessing a URL unless you are local and authenticated. I show you how you can create a LocalConstraint and an AuthenticatedConstraint. I also demonstrate how you can test your custom constraints.
|category: ASP.NET
|Views: 67
tags:
ASP.NET another
Everyones tags:
Your Tags: