asp.net mvc - Multiple view for multiple devices in ASP .Net MVC -


what can best way architecting asp .net mvc project, have common web service part , multiple views multiple devices. have started jquery mobile project, , have view mobile devices. need add web api controllers should work web services. view part needed desktop browsers.

is assign different areas group different views?

web request flow:

  1. route mobile client request mvccontroller in mobile area, , desktop client request mvccontroller in desktop area routeconfig
  2. call web api controller(common) mvc controllers
  3. return corresponding view mvc controller

is there better approach available same? confused if webservices , multiple views in same project increase complexity.

i think better approach pursue responsive design. ideally you'd end 1 view multiple devices instead of multiple views showing same information.

take @ explanation.


Comments