What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application will be used to share photos across the Internet. Each photo must be available in various sizes and formats.

The users can access the application from different browsers and operating systems.

You need to develop a download feature that can be easily maintained. You also need to ensure that only a single version of each photo is stored on the server.

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application will be used to share photos across the Internet. Each photo must be available in various sizes and formats.

The users can access the application from different browsers and operating systems.

You need to develop a download feature that can be easily maintained. You also need to ensure that only a single version of each photo is stored on the server.

What should you do?

A.
Create an HttpHandler class to ascertain the request for the photo download. Process the original photo for format and size requirements, and then return the processed photo in the response.

B.
Create an HttpModule class to ascertain the request for the photo download. Process the original photo for format and size requirements, and then return the processed photo in the response.

C.
Create a User control that converts the original photo to the required format and size.

D.
Create an ActiveX control that converts the original photo to the required format and size.

Explanation:
If you want a Web application to serve images in a variety of sizes, you can write a

custom handler to resize images and then send them to the user as the handler’s response See also:http://msdn.microsoft.com/en-us/library/ie/bb398986.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *