Types of Applications You Can Build

王朝asp·作者佚名  2006-01-10
窄屏简体版  字體: |||超大  

Types of Applications You Can Build

With the .NET Framework, you can build many different types of applications,

including the following:

Windows applications

Windows Services

ASP.NET Web applications

ASP.NET Web Services (XML Web Services)

Class libraries

Windows Forms custom controls

Web Forms custom controls

In this book, you will learn how to build ASP.NET Web applications and

ASP.NET Web Services. You will be shown how to create Class Library (DLLs)

projects to help you "componetize" your applications. This section

describes each of these project types in a little more detail.

Windows Applications

A Windows application involves a rich user interface (UI) client that runs

on a Windows OS. It uses the Windows Forms engine to create the UI. Windows

applications are best suited for client/server database applications,

numerical control, graphical programs, or any application that needs to

have a rich UI.

Windows Forms

Windows Forms are the new form engine for Windows development. You can use

Windows Forms with any CLR language. Windows Forms can be ported from one

language to another easily. Windows Forms come with a rich set of standard

controls built in, and you can build your own controls as well.

Windows Services

A Windows Service is an application that runs under Windows NT, Windows

2000 Server, or Advanced Server. These types of applications do not

typically have a UI. Instead, they are used to perform some ongoing service

without any interaction from a user. The OS starts a Windows Service

application when the OS itself starts up. You may need to supply a security

context for this service. You can create these types of applications very

easily with .NET.

Web Applications

A Web application is an interactive set of HTML pages that run programs on

a Web server. Web applications can either have a UI or not. You will be

using this type of application most often as you read through this book.

ASP.NET is at the heart of Web applications and is the replacement for the

older Active Server Pages (ASP) technology.

ASP.NET

ASP.NET is an enhanced version of ASP. If you have programmed in ASP

before, you will find the move to ASP.NET very easy. Porting your old ASP

applications to ASP.NET may prove to be somewhat of a challenge, so you

might choose to rewrite as you go. ASP and ASP.NET can run side by side

within the same IIS computer.

ASP.NET provides the following enhancements:

Better session statement management

Better handling of Web farms

Two to three times faster performance than ASP

Uses compiled code, as opposed to an interpreted scripting language like

ASP does

Better caching techniques

Includes both Web Forms and XML Web Services for developing either a UI or

non-UI application

ASP.NET Web Forms

ASP.NET Web Forms are the Internet equivalent of Windows Forms. Server-side

controls have a lot of flexibility, including the capability to bind to a

data source and generate a lot of HTML that otherwise would be very tedious

to code. These server-side controls can generate standard HTML 3.2 or

include Internet Explorer (IE) extensions for a richer UI. These

server-side controls have a rich programming interface too.

XML Web Services

An XML Web Service is an application that exposes its features through XML,

specifically SOAP. You use both XML and SOAP to call these services. With

the .NET tools, you only need to use built-in classes to interact with and

build XML Web Services梱ou never have to see or use the XML or SOAP

specifications.

You can return many types of information to users with XML Web Services,

including the following:

Authorization on credit cards

Shipment status

Order confirmations

Stock quotes

Catalog/product information

Class Libraries

A class library is a collection of classes that you build into one project,

and you compile that project as a DLL. These libraries can then be reused

in any application that you build. In Visual Basic 6.0, these Class Library

projects are called COM DLLs. Although they are still DLLs in .NET, they no

longer rely on COM.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航