Designing and Developing a User Interface
Questions derived from the 70-547VB – PRO: Designing and Developing Web-Based Applications by Using the Microsoft .NET Framework (VB.NET).
Objective: Designing and Developing a User Interface
SubObjective: Choose an appropriate layout for the visual interface
Item Number: 70-547VB.2.1.3
Multiple Answer, Multiple Choice
You develop Web-based client applications. You are required to ensure all controls maintain a consistent appearance according to company branding standards. You also must ensure Web pages have consistent layout and content.
What features of ASP.NET 2.0 should you use? (Choose two. Each answer is part of the complete solution.)
- Profile properties
- Site Navigation
- Master Pages
- Web Parts
C. Master Pages
You should use Themes to maintain a consistent appearance for controls, and Master Pages to maintain consistent layout and content for Web pages. ASP.NET 2.0 Themes provides appearance settings for controls across Web pages, an entire Web application, or all Web applications on a server. Themes contain skins, cascading style sheets, and other resources to define the appearance style. A skin is defined in a .skin file that contains control property settings. A skin can be applied to a control either by name in a SkinID property or by default when the associate theme is applied to the entire page. ASP.NET 2.0 Master Pages provides centralized management of a consistent layout across multiple Web pages or an entire site. A Master Page is the same as a dynamic Web page except it has the .master extension and contains the @Master directive. A content page is a page bound to a Master Page and may contain Content controls for the content placeholders specified in the Master Page. Any changes in layout or content of the Master Page will automatically propagate to each of its content pages.
You should not use the other features, because they do not directly facilitate consistency in appearance, layout, or content.
ASP.NET 2.0 Profile properties is provider-based framework to manage individual user information automatically. When using Profile properties, the framework tracks each user and retrieves or saves settings for that user in a persistent store. Each Profile property is defined within a configuration file and retrieved or saved as a named property of the HttpContext.Profile object.
ASP.NET 2.0 Site Navigation provides consistent and easily maintainable framework for end users to navigate a Web site. A Site Map Provider accesses the central site hierarchy and offers the data to new site navigation controls in ASP.NET 2.0. The SiteMapPath control displays a breadcrumb navigation path, while the TreeView and Menu controls display the navigation in an expandable tree structure.
ASP.NET 2.0 Web Parts is an extensible control framework that allows end users to customize content, appearance, and behavior of Web pages. Using a standard browser, end users can personalize content and layout, manage those personalization settings, import or export Web Parts controls, and create connections between controls and data sources.
ASP.NET 2.0 Caching is a memory management framework with significant enhancements to the caching model found in previous versions of ASP.NET. Cache dependencies now include SQL dependencies, allowing a cached item to be invalidated when changes occur to a table in a SQL Server 7.0, or later aggregate dependencies, allowing a cached item to be invalidated when a number of conditions are true, and custom cache dependencies. Also, caching options such as memory usage and scavenging behavior are configurable in the web.config.
MSDN2 Library > Development Tools and Languages > Visual Studio > Visual Web Developer > Customizing Web Sites > Creating Web Sites for Individual Users (Visual Studio) > ASP.NET Profile Properties Overview