1.
You create Web-based client applications. You are creating a Web component that calls an existing function. The function might throw an application-specific exception of type InvalidChecksumException. The type InvalidChecksumException inherits from the System.ApplicationException class. The component is coded to recover from an InvalidChecksumException exception, but not to recover from other types of exceptions. The component does not have any additional information that could be usefully added to other types of errors or exceptions. You need to design the component to correctly handle exceptions. You also need to ensure that the exception handling strategy does not affect the performance of the component. What should you do?
2.
You create Web-based client applications. You are creating a component that sends the data that is generated by regional offices to a remote server that is located at the central office. Each regional office generates thousands of orders every week. This data is stored on several tables in an instance of Microsoft SQL Server that is located at the regional office. The manager at the regional office reviews all orders and modifies them, if necessary, before inserting them into the database at the central office. You need to ensure that the component meets the following requirements: The manager has the option of reviewing and modifying the orders offline. The data from a regional office is copied to the server that is located at the central office in as short a time as possible. Which option should you use?
3.
You create Web-based client applications. You are creating a class library that will be used by an e-commerce Web-based application. The library has an abstract class that is named Product. The Product class serves as a base class for the other classes and provides a default ProductID property. Each class other than the base class represents a type of product that is sold by your company. There is a ProductID property and a GetProductDetails procedure for each product type. You need to ensure that the application meets the following requirements: The shopping cart in your Web-based application processes all product types in the same manner. Each class retrieves its data from a different source. The GetProductDetails procedure retrieves the data from the appropriate source for the product type. What should you include in the Product class?