Category - Console Applications
Results 1 - 5 of 9
28 Aug 2018 28 Aug 2018 0 Comments  544 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  503 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.
23 Feb 2018 23 Feb 2018 0 Comments  5787 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) MVC Web API in Console Application using 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 WebClient class in Console Application using C#.
23 Jan 2018 23 Jan 2018 0 Comments  1747 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) REST WCF Service (SVC) in Console Application using C# and VB.Net.

This Rest WCF Service (SVC) will be called in Console Application using WebClient class in C# and VB.Net.
23 Jan 2018 23 Jan 2018 0 Comments  2821 Views
Here Mudassar Ahmed Khan has explained how to use JavaScriptSerializer in Windows Forms, Console, Class Library and Windows Service Applications in C# and VB.Net when the following error occurs.

The type or namespace name 'JavaScriptSerializer' could not be found (are you missing a using directive or an assembly reference?)
Results 1 - 5 of 9