Difference between Console, Windows, Web applications and Web services


This article explains bout Difference between Console, Windows, Web applications and Web services

Console applications are light weight programs run inside the command prompt (DOS) window. They are commonly used for test applications.

Windows Applications are form based standard Windows desktop applications for common day to day tasks. Microsoft word is an example of a Windows application.

Web applications are programs that used to run inside some web server (e.g., IIS) to fulfill the user requests over the http. A typical example of web application is Hotmail and Google.

Web services are web applications that provide services to other applications over the internet. Google search engine's web service, e.g., allows other applications to delegate the task of searching over the internet to Google web service and use the result produced by it in their own applications.


Comments

Author: Ultimaterengan30 Jul 2008 Member Level: Gold   Points : 1

hi,

its very useful one
continue for sharing your knowledge

thanks

by Nathan

Guest Author: somya23 Apr 2012

hey
perfect explanation.thank.

Guest Author: zakir hussain10 Nov 2012

which is the best among console,windows and web application. because i have no ideas to choose which of them is the best for career point of view.

Author: Phagu Mahato22 Nov 2013 Member Level: Gold   Points : 10

There are following code behind Difference between Console, Windows, Web applications and Web services
Example of Console programming


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyApps

class Program
{
static void Main(string[] args)
{
myservicereference.MyService obj = new myservicereference.MyService();
Console.WriteLine(" Web Methods");
Console.WriteLine("---------------------");
Console.WriteLine("\n show Method");
Console.WriteLine(" "+obj.show());
Console.WriteLine("\n\n"+" showdate Method ");
Console.WriteLine(" "+obj.showdate());
Console.WriteLine("\n Calling add Method ");
Console.Write(" Enter First Number:");
int a = Convert.ToInt32(Console.ReadLine());
Console.Write(" Enter Second Number:");
int b = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("\n Add is:" + obj.add(a, b).ToString());
Console.ReadLine();
}
}
}
Windows Application: A program that is written to run under Microsoft's Windows operating system. Such applications typically run under all 32-bit versions of Windows, but earlier applications might also run under the 16-bit versions.Example of Windows application programming

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

namespace myExample
{

[WebService(Namespace = "example.abc/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]

public class MyService : System.Web.Services.WebService
{
[WebMethod(Description="show simple message")]
public string show()
{
return "My Web Service Application";
}
[WebMethod(Description = "show datetime")]
public string showdate()
{
return DateTime.Now.ToLongDateString();
}
[WebMethod(Description = "addition of two int")]
public int add(int a,int b)
{
return a + b;
}
}
}

Web Application: In software engineering, a Web application or webapp is an application that is accessed via Web browser over a network such as the Internet or an intranet. It is also a computer software application that is coded in a browser-supported language (such as HTML, ASP, PHP, Perl, Python etc.) and reliant on a common web browser to render the application executable.

Guest Author: Karishma08 Sep 2014

its perfect for all student who has query in to understand what is console application and what is web aoolication.



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: