Category - Console Applications
23 Nov 2020 23 Nov 2020 0 Comments  13532 Views
Here Mudassar Ahmed Khan has explained with an example, how to create Connection String in C# and VB.Net.

This article will illustrate how to create connection string for Windows and SQL Server based authentication for Windows Forms and Console Applications in C# and VB.Net.
12 Nov 2020 12 Nov 2020 0 Comments  9724 Views
Here Mudassar Ahmed Khan has explained with an example, how to reverse a String using C# and VB.Net.

This article will illustrate how to create a simple STATIC function which can be used in ASP.Net Web Forms, ASP.Net MVC, ASP.Net Core, Windows Applications and also Console Applications built in C# or VB.Net.
09 May 2019 09 May 2019 1 Comments  33007 Views
Here Mudassar Ahmed Khan has explained with an example, how to create HTML File in Console (Command) Application using C# and VB.Net.

First, an HTML Table will be generated in the form of an HTML string and then the HTML string will be written to an HTML File and saved in Folder (Directory) using C# and VB.Net.
24 Jan 2019 24 Jan 2019 0 Comments  27771 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email using GMAIL SMTP Server using C# and VB.Net.
28 Aug 2018 28 Aug 2018 1 Comments  50340 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  57520 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  70184 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  14436 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 1 Comments  39605 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?)
18 Sep 2017 18 Sep 2017 1 Comments  57681 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email using Console Application in C# and VB.Net.

This article will illustrate how to send email in Console Application using GMAIL SMTP server, C# and VB.Net.
09 May 2015 09 May 2015 0 Comments  44267 Views
Here Mudassar Ahmed Khan has explained how to call (consume) Web Service (ASMX) in Console application using C# and VB.Net.
12 Feb 2009 14 Aug 2018 12 Comments  80907 Views
Here Mudassar Ahmed Khan has explained with an example, how to send emails using the System.Net class in C# .Net.
18 Jan 2009 15 Aug 2018 1 Comments  44295 Views
Here Mudassar Ahmed Khan has explained with an example, how to send emails using the System.Net class in VB.Net.