| Exam Code/Number: | 70-528Join the discussion |
| Exam Name: | TS: Microsoft .NET Framework 2.0 - Web-based Client Development |
| Certification: | Microsoft |
| Question Number: | 149 |
| Publish Date: | Jul 05, 2026 |
|
Rating
100%
|
|
You load an XmlDocument named doc with the following XML.
<bookstore>
<books>
<book genre="reference" >
<title>Dictionary</title>
</book>
<book genre="reference" >
<title>World Atlas</title>
</book>
</books>
</bookstore>
You need to change the value for the genre attribute to NA for all book attributes. First, you add the following code segment to your class.
Dim root As XmlElement = doc.DocumentElement
Dim nodes As XmlNodeList = root.SelectNodes("books/book")
Which additional two code segments can you use to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
You have a Web application that is configured for personalization.
You need to access personalization data from one of the pages of the Web application by using the
minimum amount of administrative effort.
What should you do?
You create a Web Setup project to deploy a Web application. You add a custom action to set IIS properties.
You need to provide the custom action with the virtual directory and port where the Web application will be installed.
Which property should you use?
You are creating a Microsoft ASP.NET Web site.
The Web site allows users to select a theme that is applied to all pages they visit. The selected theme is stored in a profile property named Theme.
You create a Web Form that contains the following code segment. (Line numbers are included for reference only.)
01 public partial class _Default : System.Web.UI.Page {
02 ...
03 }
You need to ensure that the selected theme is applied to the page.
Which code segment should you use?
You are creating a Microsoft ASP.NET Web site.
You need to ensure that the Web site uses cookieless authentication.
Which code fragment should you add to the Web.config file of the Web site?