and In XML, you create your own element names to identify hierarchical nodes of data XML syntax is much stricter than HTML: elements must always have end-tags, element names are case sensitive, attribute values must always be enclosed in quotation marks, and nested elements must be terminated within their parent elements XML identifies data conceptually based on the data' s content, rather than based on the type of formatting to apply Chapter 14: Providing Help Which HTML attribute does the server control' s Tooltip property map to in the HTML rendered by ASP.NET? The Tooltip property is rendered as the title attribute at run time How does displaying HTML Help using the window object' s showHelp method differ from displaying HTML Help using a browser window? The showHelp method cannot open compiled HTML Help from a network address; the compiled file must first be downloaded to the user' s machine You can display HTML Help from a network address within a browser window, provided you use the ms-its: protocol However, the HTML Help Contents, Index, and Search features are not automatically available from a browser window How do you add index keywords to a Help topic? Insert an object element in the Help topic using the HTML Help ActiveX control For example, the following object element adds the "numbers" index keyword: Chapter 15: Globalizing Web Applications What is the difference between the CurrentCulture property and the CurrentUICulture property? The CurrentCulture property affects how the NET Framework handles dates, currencies, sorting, and formatting issues The CurrentUICulture property determines which satellite assembly is used when loading resources How do you detect the user' s culture? Use the Request object' s UserLanguages array The value at element 0 corresponds to one of the culture codes used by the CultureInfo class For example: SLang = Request.UserLanguages(0) What is a neutral culture? Neutral cultures represent general languages without region-specific differences, such as currency For example, the “es” culture code represents Spanish How does character encoding affect file formats? When using non-ASCII characters in a Web form, you must save the file with a specific character encoding, such as UTF-8 ASP.NET can automatically detect UTF-8 file encoding if the file is saved with a signature; otherwise, you need to specify the file encoding used in the fileEncoding attribute of the globalization element in Web.config Glossary A abstract class A class that cannot be instantiated but is used as a base from which other classes can be derived In Microsoft Visual Basic NET, abstract classes are declared using the MustInherit keyword In Microsoft Visual C#, abstract classes are declared using the abstract keyword abstract member A member of base class that cannot be invoked, but instead provides a template for members of a derived class In Visual Basic NET, abstract members are declared using the MustOverride keyword In Visual C#, abstract members are declared using the abstract keyword ad hoc testing Testing that relies on the uncoordinated efforts of developers or testers to ensure that code works This type of testing contrasts with automated testing, which uses test scripts or programs to systematically check that all parts of an application work correctly additive The process of combining two or more things alias The name you use to identify resources on the Web Aliases represent physical resources on the Web server, such as a Web form, an HTML page, or a graphic ASP.NET The portion of the Microsoft NET Framework used to create Web applications and XML Web services ASP.NET is an evolution of Microsoft Active Server Pages (ASP) assembly The executable component of an application created using the NET Framework Web applications, as well as other types of NET applications, compile their executable code into an assembly file with a dll filename extension The compiled code consists of IL assembly language (ILAsm), which is then compiled into its final state at run time by the common language runtime authentication The process of determining the identity of a user In effect, authentication validates that the user is who he says he is authorization The process of granting access privileges to resources or tasks within an application Applications typically authenticate users and then authorize them based on their identities or roles within an organization automated testing A type of testing that uses tests written in a scripting or programming language to systematically check that all parts of an application work as expected Automated testing checks that an application' s components work separately (called unit testing), that all components work together (called integration testing), and that changes haven' t broken existing features (called regression testing) B base class A class that provides properties and methods as a foundation for a derived class In object-oriented programming, one class can be based on another through inheritance Using this technique, the base class provides characteristics (such as properties and methods) to a derived class The derived class can reuse, modify, or add to the base class' s members behaviors Components that encapsulate specific functionality or actions on a Web form or HTML page When applied to a standard HTML element on a page, a behavior modifies that element' s default behavior Behaviors are implemented as styles C caching The process of storing frequently requested documents in the server' s memory to speed up access to those items Web applications provide automatic caching features through the Microsoft FrontPage Server Extensions and manual caching features through the Cache object cascading See cascading style sheets (CSS) cascading style sheets (CSS) Web application project files (.css) that collect and organize all of the formatting information applied to elements on a Web form or HTML page Because they keep this information in a single location, cascading style sheets make it easy to adjust the appearance of Web applications Web applications can have multiple style sheets and can switch style sheets at run time to dynamically change the appearance of a Web application certificate authority An independent third-party that provides server certificates to enable secure communications across the Web through the secure sockets layer (SSL) These server certificates must be purchased and installed on your Web server to use secure sockets layer (SSL) and the HTTPS protocol class A data structure that groups properties and methods used to perform tasks in programs Classes are the fundamental building blocks of object-oriented programs Objects are instances of classes cookie A small file that a Web application can write to the client' s computer Cookies are used to identify a user in a future session or to store and retrieve information about the user' s current session CSS See cascading style sheets (CSS) D data binding A way to link data (such as a data set) in your application to the properties of a control default page A page that IIS displays if the user navigates to the Web application directory without specifying a specific page to view IIS uses the name Default.htm and Default.aspx as the default page unless you change it using the IIS property settings for the application delegation A programming technique by which a member of one class uses a member from another class to perform some task Delegation differs from inheritance in that the first class implements a property or method and then calls (or delegates to) the other class' s property or method The two classes do not have to be related to each other In other words, the first class does not have to be derived from the second class deploying Installing an application on the computer where it will run derived class A class that is based on another class (called a base class) through inheritance A derived class inherits the members of its base class and can override or shadow those members DHTML behaviors See behaviors dirty read The process of reading database records without locking the records being read This means that an uncommitted change can be read and then rolled back by another client, resulting in a local copy of a record that is not consistent with what is stored in the database drivers In the context of testing, drivers are test components that make sure two or more components work together Drivers are necessary to test components during development when an application is being developed from the bottom up E error See exceptions exception handling The process of dealing with unusual occurrences within code so that they do not cause the program to crash or lose data exception log A record of exceptions that occurred while an application was running exceptions Unusual occurrences that happen within the logic of an application F frames Regions of a Web page that you can use to display other Web pages You use frames to display multiple regions that scroll and behave independently G GAC See global assembly cache (GAC) global assembly cache (GAC) A special subfolder within the Microsoft Windows folder that stores the shared NET assemblies Assemblies stored in the GAC are shared with all other applications installed on the computer Globally Unique Identifier (GUID) A 128-bit integer that serves as a unique identifier across networks GUIDs are used throughout Windows and the NET Framework to identify components GUID See Globally Unique Identifier (GUID) I image map A graphic containing multiple regions that the user can click to cause different actions to occur impersonation The process of assigning one user identity to another user ASP.NET uses impersonation to authorize anonymous users to access resources on the Web server By default, anonymous users impersonate the ASPNET user account inheritance The process of basing one class on another In this process, a base class provides class members to a derived class The advantage of inheritance is that you can write and maintain code once in the base class and reuse it multiple times in the derived classes interfaces In the context of object-oriented programming, an interface is a contract that defines the members that a group of classes provides Once you implement a particular interface in a class, instances of that class can be used for any argument or variable declared as that interface L localization The process of accommodating cultural differences within an application Localized applications can support multiple languages, currencies, writing direction, and calendars based on the cultures that they support M managed code Code that runs under the common language runtime The common language runtime takes care of many tasks that would have formerly been handled in the application' s executable Managed code solves the Windows programming problems of component registration and versioning (sometimes called DLL Hell) since managed code contains all the versioning and type information that the common language runtime needs to run the application The common language runtime handles registration dynamically at run time, rather than statically through the system registry, as is done with applications based on the Component Object Model (COM) multiple inheritance The programming technique of deriving a class from two or more base classes Visual Basic NET and Visual C# do not support multiple inheritance N namespace collisions The problem that occurs when two items use the same name at a single level of the namespace hierarchy nodes See XML nodes neutral cultures Cultures that map to a specific language but not a specific region O One-Click Hosting A feature ASP.NET Web service providers offer that allows developers to upload completed Web applications directly from the Microsoft Visual Studio NET Start page' s Web Hosting pane optimization Writing code in a way that executes more quickly or consumes fewer resources overloading In the context of object-oriented programming, the programming technique of providing versions of a method that takes different types of arguments The ToString method is a good example of an overloaded method overriding In the context of object-oriented programming, the programming technique of replacing a member inherited from a base class with a different member in the derived class P project The collection of Visual Studio NET source files that make up an application R regression A problem in which a new or modified component breaks some previously working component Regression is uncovered during testing reproducibility The ability to produce the same result again and again S save point A point within a database transaction from which you can restore the database state scalability The ability to add capacity to an application as user demand increases Secure Sockets Layer (SSL) The standard means of ensuring that data sent over the Internet cannot be read by others When a user requests a secure Web page, the server generates an encryption key for the user' s session and then encrypts the page' s data before sending a response On the client' s side, the browser uses that same encryption key to decrypt the requested Web page and to encrypt new requests sent from that page SEH See structured exception handling server certificate A file installed through IIS that provides an encryption key for use with the secure sockets layer (SSL) Server certificates are obtained from a certificate authority, which licenses server certificates for a fee and acts as a clearinghouse to verify your server' s identity over the Internet server controls Visual components used on a Web form to create the user interface of a Web application session The sum of interaction between an instance of a client browser and a Web application A session begins when the browser first requests a resource from within the application A session ends either when the browser closes on the client' s machine or when the session times out after a period of inactivity (The default is 20 minutes.) shadowing The programming technique of replacing a member of a base class with a new member in a derived class Shadowing differs from overriding in that the base class' s shadowed member is no longer available from the derived class shared members Methods that can be called directly without first creating an instance of a class These members are called static members in Visual C# signature The name, parameter list, parameter types, and return type of a member solution A group of Visual Studio NET projects that make up a single functional unit SSL See Secure Sockets Layer (SSL) Start page The first Web form displayed when you run a Web application project from within Visual Studio NET The Start page is also the first page the Visual Studio NET development environment displays in the Document pane This Visual Studio NET Start page contains various panes to help simplify some common tasks, such as opening a recent file and making information easier to find start-up project The first project Visual Studio NET starts when you run a multi-project solution The start-up project is shown in bold within the Solution Explorer window static members Methods that you can call directly without first creating an instance of a class These members are called shared members in Visual Basic NET step in Moving from a calling procedure to a called procedure during debugging Also used in reference to setting breakpoints to stop execution in a specific procedure during debugging step over Executing a procedure call as a single statement during debugging structured exception handling (SEH) The programming technique of using exception-handling blocks or exception events to handle unusual occurrences in an application stubs Nonfunctional components that provide the class, property, or method definition used by another component during testing Stubs are necessary to test components during development when an application is being developed from the top down subweb A virtual folder that contains a Web site superclassing The programming technique of deriving a new class from an existing class using inheritance Superclassing generally refers to a situation in which most of the derived class' s behavior and members come directly from the base class T template See XSL template testing interface A set of public properties and methods that you can use to control a component from an external testing program thread The basic unit to which the server allocates processor time A single process can have multiple threads ToolTip A short, descriptive message that is displayed when a user places the mouse pointer over a control and leaves it there for a couple of seconds These messages are used throughout Windows applications to provide helpful information about toolbar buttons and other graphic controls whose meaning might not otherwise be obvious tracing A programming technique for recording events, such as exceptions, in an application Tracing is used during debugging and in the testing phase of application deployment transaction A group of commands (treated as a single unit) that change the data stored in a database The transaction assures that the commands are handled in an all-or-nothing fashion—if one of the commands fail, all of the commands fail, and any data that was written to the database by the commands is backed out In this way, transactions maintain the integrity of data in a database tuning The process of making adjustments to a deployed application that don' t affect code U unhandled exceptions Exceptions that have not been dealt with in code Unhandled exceptions cause applications to stop executing and appear to the user as errors in the application user control page A Web application project file with the ascx filename extension that combines one or more server controls into a single, visual component that can be used on Web forms V view state The current property settings of server controls on a Web form By default, ASP.NET automatically maintains view state between post-back events virtual folder A shared resource identified by an alias that represents a physical location on a server W Web farm A Web application running on multiple servers Web form The central user-interface component within a Web application Web garden A Web application running on a single server using multiple processors X XML nodes Uniquely named elements within an XML file XML nodes are organized hierarchically with parent-child relationships XML schema A description of the data elements contained in the XML file The XML schema provides the names of the elements, their types, whether or not they are key fields, and other information XSL template An element within an XSL file that provides the information used to format an XML node during an XSL transformation System Requirements To get the most out of the MCAD/MCSD Training Kit: Developing Web Applications with Microsoft Visual Basic NET and Microsoft Visual C# NET, you will need a computer equipped with the following minimum configuration: Microsoft Windows 2000 operating system or Microsoft Windows XP Professional Edition The default installation configuration for these operating systems includes the Internet Information Services (IIS) software that is required for developing Web applications Microsoft Visual Studio NET Professional Edition or Visual Studio NET Enterprise Developer Edition A 60-day evaluation copy of Visual Studio NET Professional is included on the DVD 3.5 GB on the installation drive, including 500 MB on the system drive 160 MB physical memory; 256 MB is recommended 450 MHz or higher Intel Pentium II–compatible processor Super VGA monitor (800 x 600 resolution or higher with 256 colors) CD-ROM drive or DVD drive, 12x or faster recommended A DVD drive is required to install the Evaluation Edition software, and a CD-ROM drive is required to install the practice files and the eBook Microsoft Mouse or compatible pointing device Internet connection and networking card (56K modem is the minimum; a higher connection speed is recommended) ... The following tables provide a list of the skills measured on certification Exam 70- 305, Developing and Implementing Web Applications with Microsoft Visual Basic NET and Microsoft Visual Studio NET, or Exam 70- 315, Developing and Implementing Web Applications with Microsoft Visual C#... NET and Microsoft Visual Studio NET (Exam 70- 305) Developing and Implementing Web Applications with Microsoft Visual C# NET and Microsoft Visual Studio NET (Exam 70- 315) Prerequisites This course requires that students meet the prerequisites that follow... implement and support Web applications or who plan to take the related Microsoft Certified Professional exams: Developing and Implementing Web Applications with Microsoft Visual Basic NET and Microsoft Visual Studio