ASP.NET MVC 2 Dynamic QueryString Management
- by vikas anand
Hello All,
I am very new to ASP.NET MVC and currently, I am involved in developing a new application in ASP.NET MVC 2. I am having problem in managing a long querystring parameters that comes from dBase.
For example, in any non-mvc app the following URL works well:
http ://example.com/test.aspx?first_name=fname&last_name=lname&email_id=email&address1=add1&address2=add2&city=city&state=state&zip_code=zip and so on.
The QueryString parameter can be determined on the fly (i.e. at run-time). Now for dynamic QueryString how routing will be done?
Also for a simple URL, the URL will be as follows (in ASP.NET MVC):
http ://example.com/test/id/category
But for above mentioned dynamic & long QueryString how the URL will look like? Will all the QueryString parameters be separated through slash (/)?
Thanks in advance for your help.
Best Regards,
Vikas Anand