Answers for Day 22

IOTA^_^    

Sams Teach Yourself ASP.NET in 21 Days, Second Edition
By Chris Payne
Table of Contents
Appendix A.  Answers to Quiz Questions


Quiz

1:

Presented with the knowledge that you must build an e-commerce site, what generic database tables do you know will be required?

A1:

At a minimum, you'll typically need a user or customer table, one or more tables to hold products and their information, and a table to hold orders.

2:

True or false: ASP.NET pages should be built before the other tiers.

A1:

Generally, this is false, but it depends on your personal preferences. From a design standpoint, building the ASP.NET pages after the database is set up will make development much easier.

3:

What do the MAX and SUM SQL commands do?

A1:

MAX examines a set of database rows and returns the highest value in the field specified. SUM sums all the values in a set of data rows and returns the result.

4:

What does the Format method do? What is the syntax?

A1:

It formats data in a specified format. The syntax is

 Format( {N[,M ][: formatString ]}, Data) 
5:

What are three things needed to secure a database service using SOAP headers?

A1:

You need a class that inherits from the SoapHeader class, the <SoapHeader> attribute placed in the Web method declaration, and a custom authentication function. Additionally, you might need to check whether a SOAP header is supplied to the Web method, and whether your authentication method certifies valid credentials.


    IOTA^_^    
    Top


    Sams Teach Yourself ASP. NET in 21 Days
    Sams Teach Yourself ASP.NET in 21 Days (2nd Edition)
    ISBN: 0672324458
    EAN: 2147483647
    Year: 2003
    Pages: 307
    Authors: Chris Payne

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