Workshop

for RuBoard

This workshop will help reinforce the concepts covered in today's lesson.

Quiz

1:

What limits ADO 2.x from being used in Web-based distributed applications?

A1:

Although ADO 2.x supports disconnected Recordset objects that can be moved between tiers in a distributed application, those tiers must be based on the COM/DCOM infrastructure. This is the case because DCOM doesn't work well through firewalls, COM is not platform independent, and the record set is not represented in an industry standard way using XML. These factors together make it difficult, if not impossible , to pass ADO record sets between organizations.

2:

What is the key technology upon which Microsoft is building its next generation of software?

A2:

XML. XML is the industry standard controlled by the W3C. It is the basis for standards such as XSD for capturing the structure of an XML document, XPath for querying XML documents, SOAP for invoking services over the Web, and WSDL for describing the functionality of XML Web Services. There are other specifications in the works that will likely be rolled into future versions of VS .NET to support higher levels of functionality as well.

3:

What key design goal will make it easier for ADO programmers to grasp ADO.NET?

A3:

The goal of leveraging current ADO knowledge. This is accomplished by using some of the same object types that are found in ADO, including connection, command, and parameter.

4:

How does .NET achieve language choice and interoperability for developers?

A4:

The common language runtime and the CTS together allow developers to write code in any managed language that can fully interoperate with code from any other language. This includes cross-language inheritance and full fidelity of all types created in any .NET language.

5:

What are the two parts of ADO.NET?

A5:

ADO.NET is divided into the DataSet object for manipulating disconnected data and the .NET Data Providers for communicating with backend data stores and the DataSet .

Exercise

Because this book deals with Enterprise ADO.NET, you'll need a server database to work with while going through this book. The exercises in the remainder of the book will work with SQL Server 2000 and Visual Studio .NET Professional, so the only exercise today is to set up the database by running the script provided by downloading the code for this book from www.samspublishing.com. When you unzip the code, look for the ComputeBooksDb.bat script in the Day01 directory. Execute this on the machine with SQL Server and it will attach the ComputeBooks database. This database contains a schema that a fictional bookstore might use to inventory books, track customers, and take and fulfill orders. After the database has been created, you're all set for tomorrow.

for RuBoard


Sams Teach Yourself Ado. Net in 21 Days
Sams Teach Yourself ADO.NET in 21 Days
ISBN: 0672323869
EAN: 2147483647
Year: 2002
Pages: 158
Authors: Dan Fox

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net