Which object should you choose?
You are an enterprise application developer. You create a distributed application that transfers data across tiers. The application transfers multiple rows of data per transaction to business components through a Microsoft .NET Framework remoting channel. The application binds this data to user interface components. The .NET Framework remoting channel is configured to use binary serialization.
After the data is retrieved from the data source, the data is not changed. The distributed application must meet the following criteria:
Consume minimum memory for any data location.
Make minimum use of the processor for any data location.
You need to identify the type of object to serialize. Which object should you choose?
What should you do?
You create a mobile Web Form. The mobile Web Form contains a mobile Calendar control named calDate. You need to capture the date that users choose from the Calendar control.
What should you do?
Which XML element should you add to line 3?
You need to create a Business Data Catalog Application Definition File that contains an association between the department entity and an employee entity. You add the following code to the Application Definition File:
01: <Associations>
02: <Association AssociationMethodEntityName=”Department” AssociationMethdName = “GetEmployeesInDepartment” AssociationMethodReturnParameterName = “Employees” Name = “DepartmentToEmployee” IsCached = “True”>
03: …
04: </Association>
05: </Associations>
Which XML element should you add to line 3?
Which code segment should you use?
You are developing an application that stores data about your company’s sales and technical support teams. You need to ensure that the name and contact information for each person is available as a single collection when a user queries details about a specific team. You also need to ensure that the data collection guarantees type safety.
Which code segment should you use?
Which feature should you choose?
You are an enterprise application developer. You create a Microsoft Windows-based service application.
The application must perform the following tasks:
Monitor running processes for critical events.
Log critical events to an e-mail and send the e-mail to the system administrators. Record and include stack information as part of the critical event.
You must be able to configure application event logging at run time. Application event logging must have minimal impact on runtime performance. You need to choose an appropriate monitoring feature to fulfill these requirements. Which feature should you choose?
Which three actions should you perform?
You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site.
<siteMapNode url=”~\default.aspx” title=”Home” description=”Site Home Page”>
<siteMapNode url=”Sales.aspx” title=”Sales” description=”Sales Home”>
<siteMapNode url=”SalesWest.aspx” title=”West Region” description=”Sales for the West Region” />
<siteMapNode url=”SalesEast.aspx” title=”East Region” description=”Sales for the East Region” />
</siteMapNode>
<siteMapNode url=”Marketing.aspx” title=”Marketing” description=”Marketing Home”>
<siteMapNode url=”MarketNational.aspx” title=”National Campaign” description=”National marketing campaign” />
<siteMapNode url=”MarketMidwest.aspx” title=”Midwest Campaign” description=”Midwest region marketing campaign” />
<siteMapNode url=”MarketSouth.aspx” title=”South Campaign” description=”South region marketing campaign” />
</siteMapNode>
</siteMapNode>
You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section.
Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)
What should you do?
You are creating a custom feature for a BDC entity. The data from the entity is retrieved from a web service. You need to configure the MethodInstance element in the BDC application definition file to minimize the amount of time it takes to return results from the web service.
What should you do?
Which code segment should you use?
You need to write a code segment that will add a string named strConn to the connection string section of the application configuration file.
Which code segment should you use?
What should you do?
You are an enterprise application developer. You create 10 applications. Your companys application server will host the applications. You are responsible for designing a monitoring solution for the applications.
Your monitoring solution must meet the following criteria:
The solution must be reusable.
The solution must aggregate all data into one display.
You need to design a solution to meet the requirements. What should you do?
What should you do?
You are developing a Web application. The Web application uses a GridView control to display data. You build your Web Forms for the Web application by dragging and dropping tables from the Data Connections tree in Server Explorer. You need to add a connection to your data by using the Add Connection dialog box as shown in the exhibit.
During the process, you need to configure the .NET Data Provider that you use to create the data source objects.
What should you do?