Q&A
| Q1: | Web services are cool. Are they efficient? It seems like a lot of XML coming down the pipe. |
A1: | Web services are a little chunky in file size. The main benefit of Web services is they are cross-platform and cross-language. If saving every bit of network bandwidth is an issue and you''re running a complete Microsoft server and client solution, you should look at .NET remoting using binary TCP formatters. .NET remoting is highly efficient. |
| Q2: | How does early binding occur? How does .NET know all the methods in the Web service? |
A2: | When you reference the ASMX file and add the WSDL to your solution, Visual Studio .NET creates a proxy class that''s built in the language of your project and contains all the properties and methods that are read from the WSDL file. If you click the Show All Files button on the Solution Explorer toolbar, you''ll see a Reference.Map file with the attached Reference.vb or Reference.cs file that contains the information that Visual Studio .NET needs to accomplish early binding. |
| Q3: | I''m hungry for more! Where can I get hard-core Web services information? |
A3: | There are tons of great resources on the Web. Check the following links for examples and Web service information:http://www.msdn.microsoft.com/webservices/The At Your Service column on MSDN is also great:http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service09032002.aspDan Wahlin also has great resources, including information about using the Google Search Web service and the Amazon.com Web services, athttp://www.xmlforasp.net/content.aspx?content=codebank&codeType=webservices |
• Table of Contents
• Index
Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days
By
Jason Beres
Publisher
: Sams Publishing
Pub Date
: January 14, 2003
ISBN
: 0-672-32421-0
Pages
: 696
Sams Teach Yourself Visual Studio .NET in 21 Days will help developers that are new to application development and experienced developers understand how to use the .NET Framework and Visual Studio .NET to rapidly develop any type of computer application. The Visual Studio .NET development environment is the most comprehensive developer tool ever created, putting that together with the .NET Frameworks' Class Libraries, the developer has everything he or she needs to get up-to-speed on Microsoft's latest revolution in application development. This book will guide the developer through using the VS .NET IDE, the Visual Basic .NET and C# language, and the supporting tools available from Microsoft to create Windows and Web-based applications. The market is full of books that pretty much say the same thing, which is already available in the help files, the author of this book has written and deployed over a dozen successful applications using Visual Studio .NET and the .NET Framework. All of his expertise and experience is used to give you the most comprehensive title on using Visual Studio .NET.