Friends who have used asp.net ajax know how to access WebService via ASP.net ajax in the client, but there is no big difference in asp.net mvc using asp.net ajax asynchronous access WebService.
Using ASP.net ajax access WebService in a asp.net application is often a way to introduce WebService to generate client proxies via Scriptmananger, and you can also use Microsoft Ajax Library to complete. This article describes the use of ASP.net ajax asynchronous access WebService in asp.net mvc (ScriptManager and Microsoft Ajax Library two ways).
1. Preparatory work
New asp.net MVC application, if it is Microsoft asp.net mvc CodePlex Preview 5 new MVC application will automatically introduce Microsoft Ajax Library, the following screenshot:
Create an AJAX catalog in the views file directory in the newly created ASP.net MVC Application project, and add a new asp.net mvc page ajaxpage.aspx inside. The following figure: