Q1. DRAG DROP - (Topic 4) You are developing a self-hosted WCF service that returns stock market information. The service must be discoverable by any client application. You need to build the service host. How should you build the host? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more…
Q1. DRAG DROP - (Topic 3) An XML file must be produced by the SaveFeaturedBooks() method of the Book class. The schema of the resulting XML file must be identical to the FeaturedBooks.xml file. You need to write the code to produce the file. You have the following code: Which code segments should you include in Target 1, Target 2 and Target 3 to complete…
Q1. DRAG DROP - (Topic 2) The GetVendorPolicy() private method in the ProcessedOrderController controller is returning a CacheItemPolicy object with default values. The returned policy must expire if the external file located at C:\Triggers\VendorTrigger.txt has been modified or the timeout outlined in the technical requirements is reached. You need to return the policy. How should you build the method? (To answer, drag the appropriate…
Q1. DRAG DROP - (Topic 1) Historical flight information data will be stored in Windows Azure Table Storage using the FlightInfo class as the table entity. There are millions of entries in the table. Queries for historical flight information specify a set of airlines to search and whether the query should return only late flights. Results should be ordered by flight name. You…
Q1. DRAG DROP - (Topic 4) You are developing a .NET application that uses the HttpClient type to access an ASP.NET Web API application. You need to add a header to specify that data is returned as JSON. You have the following code: Which code segments should you include in Target 1 and Target 2 to complete the code? (To answer, drag the…
Q1. DRAG DROP - (Topic 2) You add a class named ShippingInfo. You need to modify the IShippingService interface and the ShippingInfo class to meet the technical requirements. What should you do? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all.…
Q1. DRAG DROP - (Topic 1) The service has been deployed to Windows Azure. Trey Research has provided version 1.3.0.0 of the assembly to support a change in the serialization format. The service must remain available during the transition to the new serialization format. You need to ensure that the service is using the new assembly. Which configuration setting should you add to the…
Q1. - (Topic 3) You need to choose the appropriate data access strategy for the college textbook area of the web application. Which data access technology should you implement? A. ADO.NET B. Entity Data Model (EDM) C. WCF Data Services D. LINQ to SQL View AnswerAnswer: A Explanation: * Scenario: The college textbook area of the web application must get data from a daily updated CSV file. * ADO.NET…