Chapter 11. Applying WCF: YahooQuotes
In this chapter you'll learn how to leverage ASP.NET to get a web service up and running fast. We'll also introduce the benefits of Microsoft's new web server, Internet Information Services 7.0 (IIS7). Just as Microsoft claims, IIS7 provides a secure, easy to manage platform for developing and reliably hosting web applications and services. Its automatic sandboxing of new sites lets you enjoy greater reliability and security, and its powerful new admin tools enable you to administer the server easily and efficiently.
Microsoft has done a really good job of reducing management complexity with this new feature-focused administration tool. IIS7 provides vastly simplified dialogs for common administrative tasks. In addition, the new command-line administration interface, Windows Management Instrumentation (WMI) provider, and .NET API make administration of web sites and applications more efficient, whether they are running on one server or many servers. IIS7 also makes hosting a web service using ASP.NET exceptionally easy.
Before going any further in this chapter, take the time to confirm that your IIS7 configuration is working. You should be able to open up the IIS Manager, as seen in Figure 11-1. With IIS7 fired up, you're ready to go.
Creating and Launching a Web Service
In this chapter you're going to build a simple web service that will provide stock quotes using Yahoo! Finance's publicly available stock-quote engine. When you're done, you should ...
Get Programming .NET 3.5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.