| Exam Code/Number: | 070-528Join the discussion |
| Exam Name: | TS: Microsoft .NET Framework 2.0 - Web-based Client Development |
| Certification: | Microsoft |
| Question Number: | 149 |
| Publish Date: | Oct 24, 2025 |
|
Rating
100%
|
|
You are developing a Web application that has two distinct UIs. One UI is targeted to desktop browsers.
The other UI is targeted to mobile devices. The mobile devices might or might not support cookies and relative URLs.
Users request the Default.aspx page.
You need to redirect users to the appropriate UI, depending on whether they are using a mobile device or a desktop browser.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
You are creating a Web application.
The Web application manages an XML document that contains a catalog of books.
You need to ensure that nodes named Magazine are not added to the catalog.
What should you do?
You create a large, n-tier Web application that has a custom event tracking system.
You need to create a custom event type that enables your event tracking system to record all relevant
event details for all types of events.
The events must be stored in Microsoft SQL Server.
From which base type should your custom event type inherit?
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 Web application to process XML data. A section of the XML data is shown below.
<?xml version="1.0" encoding="utf-8" ?>
<Books>
<Book Price="9.99" NumPages="200" QtyAvailable="15" >
<Author>Fred</Author>
<Title>Fred's Book</Title>
</Book>
<Book Price="19.99" QtyAvailable="5" NumPages="400" >
<Author>Bob</Author>
<Title>Bob's Book</Title>
</Book>
</Books>
You are using an XmlReader object named reader to parse each element in the XML data.
You need to retrieve the QtyAvailable attribute for each book.
Which code segment should you use?