In Brief

This chapter looked at C# Web applications. Here's an overview of this chapter's discussion:

  • Creating Web applications is analogous to creating Windows applications using the C# IDE. However, you do need an IIS installation on an accessible Web server that also has .NET installed.

  • Web forms are similar to Windows forms, except that they're based on the System.Web.UI.Page class. Although you can perform many of the same operations with Web forms as you can with Windows forms, such as moving controls and adding new controls at runtime, these operations are not performed in the same ways as in Windows forms.

  • Web applications are disconnected from the server, which means executing C# code requires a round-trip back to the server. That also means that your local data is not preserved across server round-trips by default. You can, however, preserve that data using the ViewState or Session properties.

  • There are three types of controls for use in Web applications Web server controls and HTML server controls, whose code is run back at the server, and HTML client controls, whose code is run in the browser.



Microsoft Visual C#. NET 2003 Kick Start
Microsoft Visual C#.NET 2003 Kick Start
ISBN: 0672325470
EAN: 2147483647
Year: 2002
Pages: 181

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net