Results 1 - 5 of 31
29 Aug 2018 29 Aug 2018 0 Comments  925 Views
Here Mudassar Ahmed Khan has explained with an example, how call (consume) Web API from MVC Controller with parameters in ASP.Net MVC Razor.

The Web API 2 Controller method will fetch records from database using Entity Framework in ASP.Net MVC Razor.

The Web API 2 Controller method will be called using WebClient class inside MVC Controller.
28 Aug 2018 28 Aug 2018 0 Comments  863 Views
Here Mudassar Ahmed Khan has explained with an example, how to read response from Web API using HttpClient in C#.

The Web API 2 Controller method will fetch records from database using Entity Framework in ASP.Net MVC.

The Web API 2 Controller method will be called using HttpClient class along with parameters in Console Application using C#.
28 Aug 2018 28 Aug 2018 0 Comments  816 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (parse) JSON string returned from Web API using C#.

The WebClient class will be used to call the Web API 2 Controller method which will fetch records from database using Entity Framework and return the records in JSON format.

The JSON string will be read, parsed and de-serialized into a Generic List collection of Class objects.
27 Aug 2018 27 Aug 2018 0 Comments  742 Views
ASP.Net  HTML  Table  AngularJS  MVC  Web API  Grid
Here Mudassar Ahmed Khan has explained with an example, how to display data from Database using AngularJS and Web API in ASP.Net MVC Razor.

The Web API will be called using AngularJS and the data returned from the Web API will be displayed in Grid format using AngularJS in ASP.Net MVC Razor.
07 Aug 2018 07 Aug 2018 0 Comments  892 Views
ASP.Net  MVC  Web API  Button  Form
Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data to Web API using Html.BeginForm Helper method in ASP.Net MVC Razor.
Results 1 - 5 of 31