1. A Web application runs in a browser whereas most Windows applications
run stand-alone.
2. A Web application has a client, which is the system running the Web page
in a browser, and a server, which is the location of the Web page files.
3. Different browsers may display Web pages differently. Web developers
must test their applications on multiple browsers unless they know that all
users will use the same browser, such as in a company intranet.
4. Web pages are static and stateless. They require processing to change the
appearance of the page and cannot store variables on their own.
5. ASP.NET is the Web technology included in Visual Studio. Web Forms in
C# use ASP.NET.
6. A Web Form consists of two files: the .aspx file that holds the code to ren-
der the user interface and the .aspx.cs file that holds the C# code.
7. The controls for Web pages are different from those used on Windows
Forms.
8. In Design view, the Source tab displays the HTML that is automatically
generated.
9. You can display a page preview as it will appear in a browser.
10. Controls on Web pages may be HTML (client-side) controls or Web server
controls, which are the controls provided by ASP.NET. Web server controls
are rendered specifically for the browser being used.
11. Although the events of Web controls are somewhat different from those for
Windows controls, coding for the events is the same.
12. A different set of files is generated for Web projects than for Windows
projects.
13. In a Web page, controls are placed one after another, from top to bottom,
similar to a word processing document.
14. You can use an HTML table to lay out controls and text in rows and
columns.
15. Add graphics to a page using an Image control. The control’s ImageUrl
property holds the location of the file.
16. A HyperLink control is used for navigation. Set the NavigateUrl property
to the page to which to navigate, which can be in the current project or an-
other Web site.
17. You can add multiple pages to a Web application and set up navigation be-
tween the pages.
18. Validator controls allow testing for a required field, proper type of data, or
a range of values.
19. The EnableViewState property of a Web control determines whether the
control maintains its value during postback. To maintain the value of a pro-
gram class-level variable, assign the variable’s value to a hidden or invisi-
ble control.
20. A postback occurs for every round trip to the server. The form is reloaded
for every postback, so you often much check in the Form_Load event han-
dler to determine whether it is the first time the page is loaded (for initial-
ization steps) or a postback (to handle a second request).
21. Use a Session variable to pass a data value to a second page. Session vari-
ables are key/value pairs that exist for each user of the application.
22. To move a Web project from one computer to another, make sure the proj-
ect is not open in the IDE and copy the project’s folder. You also can use
the Copy Web Site tool in Visual Studio to copy a Web project.
23. XML is used to store and transfer data on the Internet. XML is tag-based
and text-only and can be transmitted through network firewalls. SOAP and
WSDL are based on XML.
To learn more about the book this website supports, please visit its Information Center.