What should you do?
You create Web-based client applications. You are designing a procedure to retrieve product data from a database. The product data will be displayed on several pages of your Web site. The data will be filtered and sorted by different parameters and will be displayed in grids with paging. Users will not be able to modify the data that is displayed on the Web site. The product data is stored in a database on an instance of Microsoft SQL Server that is located on a different server. The database is configured to support SQL cache invalidation. You need to ensure that the data is retrieved such that the pages of the Web site load as quickly as possible. What should you do?
Which code segment should you use?
You need to display a navigation control that permits the rotation of a three-dimensional Virtual Earth 6.0 map. Which code segment should you use?
Which code segment should you add to line 5?
You have a Line of Business application defined in a business data catalog. You create a web part to browse the data of the LOB application. You have the following query to interact with the LOB application and the web part:
01: Dim lobSystem As LOBSystem = ApplicationInRegistry.GetLOBSystem()(“lob1”)
02: Dim lobSystemInstance As LOBSystemInstance =
lobSystem.GetLOBSystemInstance()(“lob1Instance”)
03: Dim ent1Entity As Entity = lobSystem.GetEntities()(“DBOEntities”)
04: Dim fc As FilterCollection = ent1Entity.GetFinderFilters()
05:
You need to render the results of the query and the web part.
Which code segment should you add to line 5?
Which method should you use?
You are creating a Microsoft Windows SharePoint Services application.
You create a Windows SharePoint Services feature named MyFeature. You implement the feature within a Microsoft .NET namespace named MyFeature. You create a class named SiteMonitor that inherits from the SPWebEventReceiver class. The SiteMonitor class overrides two methods, named SiteDeleting and WebDeleting. Both methods cancel the deletion process.
You need to prevent all users, including site administrators, from deleting the MySite Web site.
Which method should you use?
which tier of the application architecture this component will belong to. Where should you place the component
You create Microsoft Windows-based applications. You are upgrading an application that contains custom data-centric user controls. Each of these controls implements its own custom data-binding logic. Much of the data-binding code is similar from control to control. You create a new component that combines the common data-binding logic. You change the existing controls so they use this new component. You need to decide which tier of the application architecture this component will belong to. Where should you place the component?
Which formula should you use in the CabinetWidth cell?
You have an Office Visio 2007 drawing that contains a master shape named CabinetShape. CabinetShape is sheet number 5 of the drawing. You add a new shape to the drawing. The new shape has a user-defined cell named CabinetWidth. You need the new shapes CabinetWidth cell to reference the width of CabinetShape. Which formula should you use in the CabinetWidth cell?
What should you do?
You develop Web-based client applications. You are developing a custom Web control named ShoppingCart. The ShoppingCart control tracks the products in a users shopping cart. The ShoppingCart control contains a read-only property named SubTotal. The pages that use the ShoppingCart control compare the SubTotal property with the users credit limit before attempting to add any new items to the users shopping cart. The ShoppingCart control also contains display properties, such as Font, Color, and DisplayDirections. These properties are not critical to the functionality of the control. You need to establish how to implement the SubTotal property and the display properties in the ShoppingCart control. What should you do?
Which code segment should you use?
Your company wants to display customer locations as pushpins on a Virtual Earth 6.0 map. You need to ensure that the pushpins are loaded after the Virtual Earth map is loaded.
Which code segment should you use?
Which code segment should you use?
You create a Microsoft Office InfoPath Task form for users. The form contains all the details of each task. You need to store the value of the comments field in a variable named userInput when the user submits the form.
Which code segment should you use?
Which code segment should you use?
You have a site that utilizes the built-in team site definition.
You define a function named EnableSitesandLists. The function will take an SPWeb object of the site that you want to navigate to.
You need to ensure that your site navigation displays a listing of child sites and lists.
Which code segment should you use?