asp.net - MVC conditional routing -
i have asp.net mvc website , subdirectory "/dir/" under configured asp.net application.
i want http://website/dir/
url route parent controller if condition met, or ignore , "pass over" subdir-application if not. how do this?
ps. cannot use routeexistingfiles = true
because both apps have aspx/ashx/html files need work.
you may use route constraints purpose.
Comments
Post a Comment