![]() ![]() The most common handler is an ASP.NET page handler that processes. MSDN defines an HTTP handler as: "a process (frequently referred to as the 'endpoint') that runs in response to a request made to an ASP.NET Web application. This section is for those developers that what to interface with the Thumbnailer HTTP handler for the functionality that it provides.īefore we jump into coding, a little background… Background Black Box Interface – how to interface with (use) the Thumbnailer HTTP handler.This section is for those developers that are interested in the development of the Thumbnailer HTTP handler. White Box Interface – the internal logic and workings of the Thumbnailer HTTP handler.This article is organized into two primary modules: While the image optimizer is a subject for another day this article focuses on the development of a thumbnail creation HTTP handler – Thumbnailer HTTP handler (THH). The implementation I choose was to create an image optimizer control that would scale and optimize the quality of the original uploaded image and store the results to a data store (in this case a hard disk), and create an HTTP handler that would create thumbnail images of the optimized images on the fly, at runtime, and in memory (no physical disk space to store the temporary thumbnail file). Yet another requirement – uncommon – was the need to minimize (as much as possible) the number of physical files on the data store to conserve hard disk space – the aforementioned hard disk constraint and problem scope. Another common requirement was to display the uploaded images in an image gallery-like interface that would render thumbnail images of the respective uploaded images. The system that I was building needed to provide an interface for its users to upload files including images – a pretty common requirement. To help set the scene for the article, let me start with the earlier phases of the Software Development Life Cycle (SDLC) and define the problem and a few of the respective requirements. While there is no clear 'winner' in the battle of constraints, this article focuses on the environmental constraints: specifically - hard disk restrictions. As developers, we are often constrained by our environment (e.g., physical and virtual memory, and hard disk space), project requirements (e.g., timelines/deadlines, resources, and software quality), and customer expectations.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |