578 CHAPTER 12 ?– B U ILDING A COMPLEX CONTROL
??? Display a text box and button to gather search input from the end user.
??? Display both the status information and the list of search results from the search query.
??? Provide the Live Search look and feel out of the box while supporting complete UI
customization.
??? Provide the ability localize the look and feel.
??? Handle paging through the search results.
??? Provide the ability to reconfigure the control without recompiling the control.
??? Provide the ability to license access to the control.
The Live Search Web Service
Our first step when working with the Live Search web service is to understand what parameters
we need to provide it and the data stream it returns. Live Search helps in this effort by providing
a downloadable API from http://dev.live.com that provides documentation and sample code
for invoking the Live Search service. Figure 12-1 shows the getting started page for the Live Search
web service.
Figure 12-1. The Live Search web service??™s getting started page
CHAPTER 12 ?– BUILDING A COMPLEX CONTROL 579
In Figure 12-1, you can see that three steps are involved in using the Live Search service:
1. Add a web reference to the MSN Search Web Service WSDL.
Pages:
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756