PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which configuration should you add to the web.config file?

You are implementing an ASP.NET Web site that uses a custom server control named Task. Task is
defined as shown in the following list.
• Class name: Task
• Namespace: DevControls
• Assembly: TestServerControl.dll

• Base class: System.Web.UI.WebControls.WebControl
You copy TestServerControl.dll to the Web sites Bin folder.
You need to allow the Task control to be declaratively used on site pages that do not contain an
explicit @ Register directive.
Which configuration should you add to the web.config file?

Which two lines of code should you insert between lines 02 and 03?

A Windows Communication Foundation (WCF) client application is consuming an RSS
syndication feed from a blog. You have a SyndicationFeed variable named feed. The
application iterates through the items as follows. (Line numbers are included for reference
only.) 01 foreach (SyndicationItem item in feed.Items) 02 { 03 } You need to display the
content type and body of every syndication item to the console. Which two lines of code
should you insert between lines 02 and 03?