Friday, March 5, 2010

User and Program Interface

The .Net Framework provides the following tools for managing user and application interfaces:
  • Windows forms
  • Web forms
  • Console Applications
  • Web Services
These tools enables user to develop user-friendly desktop-based as well as web-based applications using a wide variety of languages on the .NET platform.

Windows Forms

Windows forms (also called Win forms) are used to create GUI for Windows desktop applications.The idea of Win forms has been borrowed from Windows Foundation Classes(WFC) which were used for Visual J++. Win form provide an integrated and unified way of developing GUI.It has a rich variety of Windows controls and user interface support.
With Win Form we can make single user interface, and use it in VC++,VB,C#. Using Visual Studio .NET simply design the GUI, by dragging the controls on a form. Now you can use the same from in VB,VC++ or in C#. All this is made possible because Visual Studio .NET used the System.Winforms namespace to draw the GUI. And any language that has the appropriate CLS compliance can use this form directly.

Web Forms

Just as the Win Forms provide a unified way of developing GUI for desktop applications, the Web Forms provide similar tool for web applications. Web forms has been introduced in .NET as a part of ASP.NET. Web Forms are a form engine, that provides a browser based user interface.
In all ,Web Forms are used to create web applications.
With ASP.NET Microsoft has provided such presentation-business layer separation-by introducing the concept of Web Forms:
  1. ASP.NET Web Forms provide an easy and powerful way to build dynamic Web User Interface Ul.
  2. ASP.NET Web Forms pages can targat any browser client.
  3. ASP.NET Web Forms provide syntex compatibility with existing ASP pages.
  4. ASP.NET server controls an easy way to encapsulate common functionality.
  5. ASP.NET ships with 45 built-in server controls. Developers can use the control built by third parties.
Console Applications

Console Applications are command line oriented applications that allow user to read characters from the console, and write characters to the console.
Console applications are typically designed without graphical user interface and are compiled in a stand-alone executable file.

Web Services

Web services is an extension of ActiceX. Those programmers who have used ASP and JSP both, know the apparent shortcomings of ASP. JSP has been enriched with the concepts of Beans and Tags. ASP equavalent for Beans and Tags was ActiceX Controls and ActiveX automation servers.
Web Services provides tools for developing Web applications.


For next tutorial Click the following link:

http://dotnettutions1.blogspot.com



No comments:

Post a Comment