how to start asp.net mvc 4 ajax call -


plaese guide me start asp.net mvc 4 ajax enabled multi platform web application. have rest service hostrd in domain, want consume it. please guide me whether need access service javascript ajax call or create models @ server , request server ajax call. guides links appreaciated.. regards ani

the exact way consume web service depend on content of service, , how want user interact, but, point of view, server should interacting webservice, , user server. is, guessed, "models" should reflect web service data structure.

if want use ajax, use call methods in controller(s) load/update data webservice.

it's bit difficult me go further without knowing talking about, give better idea of talking about, wrote own "api" deal amazon products advertising api, using rest service instead of soap. same api being used 3 differents web applications.

inside each web application there ajax calls controller methods, in turn calls api methods.

this mechanism works in case, may not in yours, why believe need tell little more hte kind of service , application going build.

sorry stay little vague, still hope helps.

bernard


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -