While they will get authorization exception when the page makes the first AJAX call to the server, we should also authorize the page for a better user experience and security. var token = $('input[name="`__RequestVerificationToken`"]').val(); Step 2: Pass the token in the AJAX call However this is the partial view that the Get method renders. Modify NoResults.cshtml to a Partial. We will now populate them, using AJAX call. Replace the lines that show the Artist Name and Album's Title. To do this, in the Solution Explorer expand the Views folder, then the StoreManager and open the Index.cshtml file. Here is your controller code: public ActionResult Index() { return View(); } public ActionResult FirstAjax(string a) { return Json("chamara", JsonRequestBehavior.AllowGet); } I wrote a blog post called How to build absolute action URLs using the UrlHelper class in which I suggest to write a custom extension method for the sake of readability: This is the razor page. ; 2. url as @Url.Action(Add) it should be URL to Lets make it a little less boring and get it ready to make AJAX calls. For me, jQuery is the simplest one. So any call of an Action from an Ajax call, either MicrosoftMvcAjax or jQuery can be made. While they will get authorization exception when the page makes the first AJAX call to the server, we should also authorize the page for a better user experience and security. ; 2. url as @Url.Action(Add) it should be URL to Call Web API using Jquery AJAX Creating Controller and View You can create a new controller and view for displaying the data returned by Web API. This is the razor page. While we can load each control easily via jQuery AJAX. Here is the code: Filter.cshtml. Visual Studio automatically includes jQuery on the Shared/_Layout.cshtml page, so every View ought to be able to access it already. To include a JavaScript function, it is as simple as include a