MVC2 Routing + Ajax == ???
- by Gnostus
Im touching up an mvc2 application thats nearly complete, I have some ajax requests that end up looking alot like
www.host.com/site/controller/action?UserName=asdf&UserPassword=asdfasdf&Email=asd%40df.com&PhoneNumber=541-345-5433&CompanyName="sdf"
So my question is how (if possible) can I mask the ajax url on the redirect to simply be.. /controller/action, Im getting the feeling I broke pattern with my ajax and am stuck with nasty URLS.
any mvc2 gurus out there willing to clarify?