POS 409 Week 5 Exercice: Windows Communication Foundation


Ask a Question

POS 409 Week 5 Exercice: Windows Communication Foundation

Regular price $70.00

POS 409 Week 5 Exercice: Windows Communication Foundation

Find the exercises at the end of the chapter reading 5.3.

Click the Download next to Week 5: Databases, Windows Communication Foundation (WCF) and Universal Apps. 

Complete the exercises.

Week 5: XML, JSON and LINQ

 

  • Question 1. Change the Insert example in the “Creating Nodes” Try It Out section to insert an attribute called Pages with the value 1000+ on the book node.
  • Determine the outcome of the following XPath queries and then verify your results by typing the queries into the XPathQuery application from the “Selecting Nodes” Try It Out. Remember that all of your queries are being executed on the Document Element, which is the elements node. 1. //elements 2. element 3. element[@Type='Noble Gas'] 4. //mass 5. //mass/.. 6. element/specification[mass='20.1797'] 7. element/name[text()='Neon']
  • On many Windows systems the default viewer of XML is a web browser. If you are using Internet Explorer you will see a nicely formatted view of the XML when you load the Elements.xml file into it. Why would it not be ideal to display the XML from our queries in a browser control instead of a text box?
  • Use the Newton soft library to convert JSON to XML button as well (the reverse of the example shown in the lesson).
  • Modify the third example program (BeginningCSharp7_22_3_QuerySyntax) to order the results in descending order.
  • Modify the number passed to the GenerateLotsOfNumbers() method in the large number program example (BeginningCSharp7_22_6_LargeNumberQuery) to create result sets of different sizes and see how query results are affected.
  • Add an order by clause to the query in the large number program example (BeginningCSharp7_22_6_LargeNumberQuery) to see how this affects performance.
  • Modify the query conditions in the large number program example (BeginningCSharp7_22_6_LargeNumberQuery) to select larger and smaller subsets of the number list. How does this affect performance?
  • Modify the method syntax example (BeginningCSharp7_22_4_MethodSyntax) to eliminate the where clause entirely. How much output does it generate?
  • Add aggregate operators to the third example program (BeginningCSharp7_22_3_QuerySyntax). Which simple aggregate operators are available for this non‐numeric result set?

Questions & Answers

Have a Question?

Be the first to ask a question about this.

Ask a Question
 

Liquid error: Could not find asset snippets/sh_sbve-theme-snippet.liquid