12

i'm using asp.net mvc with vs2008 and IIS7. What i want to accomplish is that all requests that START WITH 'summer' are routed to the same controller. 'till now i've built tons of routes, but they were all for one path (with parameters offcourse) but this one must route: www.mysite.com/summercity www.mysite.com/summermadness www.mysite.com/summer www.mysite.com/summerweather

to the same controller.

the only solution i've come up with is 'summer*', but that didn't work :)

Michel

0

1 Answer 1

13

You can use:

/Summer{*Data}
Sign up to request clarification or add additional context in comments.

1 Comment

wicked! didn't know the {} notation.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.