.net - Searching/filtering design -
i have asp.net mvc4 application (for purposes of question) manage work requests. main area of application list of work requests in system, simple enough.
the requirements dictate need build flexible searching/filtering system central list.
for example, user needs able search on fields like:
- company
- date created/completed
- user assigned
- various numeric fields (think product ids)
- priority
- status
does have experience designing search mvc4? i'm not quite sure how should architect it. thought of having 1 controller method accepts filter string (i'd use rather post filtered list linkable), i'm not sure how should parse send model, unless send actual filter string , somehow convert expression (i'm using ef5 well).
i'd thought of creating viewmodel searching once again i'm not sure how set up.
i apologize if question vague - i'm looking sort of guide or generic overview how build this. (i did searching had no luck). thanks!
you create model hold params searchparams, , create viewmodel display results. best exemple search mvc4, in opinion, made own asp.net mvc team microsoft in project music store. take advantage ajax that. take here mvc music store
hope you!
Comments
Post a Comment