MVC2 Routing + Ajax == ???
Posted
by
Gnostus
on Stack Overflow
See other posts from Stack Overflow
or by Gnostus
Published on 2010-12-28T17:47:00Z
Indexed on
2010/12/28
17:54 UTC
Read the original article
Hit count: 347
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?
© Stack Overflow or respective owner