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:
- route mobile client request mvccontroller in mobile area, , desktop client request mvccontroller in desktop area routeconfig
- call web api controller(common) mvc controllers
- 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
Post a Comment