I’m a newbie in asp.net mvc.
I need to create a ‘auto-complete tag search’ functionality like stackoverflow. My intent is to create a controller with JsonResult to get a filtered tag to auto-complete the input-text element. This is a good practice? If yes, any recommendations for something I need to avoid?
Thanks in advance.
PS.: Sorry for poor English.
The solution suggested by kekekela can be used even if there are multiple filter parameters, no need to create multiple actions unless the result set is of different type. For example: