Microsoft
70-515 · Question #94
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…
The correct answer is C. <pages>. See the full explanation below for the reasoning.
Question
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 site’s 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?
Options
- A<appSettings>
- B<compilation targetFramework="4.0" explicit="false">
- C<pages>
- D<pages>
How the community answered
(32 responses)- A3% (1)
- B6% (2)
- C72% (23)
- D19% (6)
Community Discussion
No community discussion yet for this question.