Sams Teach Yourself ASP.NET in 21 Days, Second Edition By Chris Payne
Table of Contents
Day 15. Using Business Objects
This workshop will help reinforce the concepts you've learned in today's lesson. Answers can be found in Appendix A.
Quiz
1:
What are the three levels of the three-tier application model?
2:
True or false: You compile objects manually because they're specific to one page.
3:
Write the command-line command to compile the object file MyObject.vb, referencing the System and System.Web namespaces in a subdirectory named bin.
4:
Which of the following should be placed in a business object: a class implementing a DataGrid, a method that retrieves a connection string from a configuration file, a method that writes to the browser, or a property that describes the number of instances of this object?
5:
True or false: You use Server.CreateObject to create business objects created in the .NET Framework.
Exercises
[click here]
Modify the User object you created today to use the Database object you created earlier.