You need to ensure that the consumer Web Parts can receive data from the provider Web Part
You plan to create one provider Web Part and two consumer Web Parts. You need to ensure that
the consumer Web Parts can receive data from the provider Web Part. You create an interface
that contains the following code segment: public interface Interfacel { string Pararoeterl { get; set; }
} What should you do next?
Which class should you add to the project?
You create custom code to import content to SharePoint sites. You create a custom site definition
by using Microsoft Visual Studio 2010. You need to ensure that when a new site that uses the
custom site definition is created, the custom code executes after the site is created. Which class
should you add to the project?
What should you add to the master page?
You develop a custom master page. You need to ensure that all pages that use the master page
contain a specific image. Page developers must be able to change the image on individual pages.
The master page must be compatible with the default content page. What should you add to the
master page?
You need to ensure that you can activate or deactivate the script at the site level
You have several SharePoint sites. You plan to load a custom script in all pages of the sites. You
need to ensure that you can activate or deactivate the script at the site level. What should you do?
Which interface should you implement?
You are creating a Web Part in SharePoint Server 2010. You need to ensure that the Web Part
can send data to another Web Part. Which interface should you implement?
which process should you attach the debugger?
You create a sandboxed solution that contains a Web Part. You need to debug the Web Part by
using Microsoft Visual Studio 2010. To which process should you attach the debugger?
Which code segment should you use?
You create a Web Part that calls a function named longCall. You discover that longCall takes a
long time to execute. You need to display in the Developer Dashboard how long it takes to
execute longCall. Which code segment should you use?
You need to ensure that the delegate control meets the following requirements…?
You add a delegate control to the <head> section of a custom master page. You reference a
default script file by using the delegate control. You need to ensure that the delegate control
meets the following requirements: Prevents other developers from deleting the default script
reference Provides developers with the ability to add additional script references Provides
developers with the ability to change the order of the script references Which property should you
use?
You need to ensure that the name of the Web Part displays as Corporate in SharePoint
You create a Web Part named WP1. You need to ensure that the name of the Web Part displays
as Corporate in SharePoint. What should you do?
Which code segment should you use?
You have a SharePoint site that has the URL http://contoso.com/hr. You are creating a new Web
Part. You need to create a reference to the current subsite without having to dispose of any
returned objects. Which code segment should you use?