ASP.NET BLOB & Thumbnail Controls

By: SpiceLogic Inc.  09-12-2011
Keywords: SQL Server

Raise your hands if you enjoy the power of "Zero Code" ? That's everyone. You are an ASP.NET Developer and you are very much fond of binary data, you realized that, keeping your images and other files in the SQL Server (or any database) BLOB type field is very much organizing. Yes, that's right. But when you needed to render your binary data directly from the SQL Server (or any database) BLOB type field to your ASP.NET page, you got headache. You needed to write many lines of codes to create an ASHX handler file and then, call that handler from your image control's source property. Its fine when you got only one instance of the image to display. What about if you need to show many images something like using DataGridView. Also when you need to provide your user a hyperlink so that when the hyperlink is clicked, the file download prompt should appear and the file content should be the content from your database's BLOB field, you got headache. You thought, why there is no Control same like Image Control with a property of type byte[] so that you could directly bind that BLOB field of your database to the byte[] property of that control !!!

It is a set of ASP.NET server controls for developing SQL BLOB & Thumbnail related web applications in the most efficient, organized and object oriented manner without requiring you writing any codes or ashx http handler files.

Displaying BLOB Images + Displaying Thumbnails

No more need to write ASHX handlers

Powerful Zero Code Data Binding Feature:

Development is significantly simplified by using its enhanced design time User Interface, which lets you do all major tasks in a completely code less manner. You can simply bind the byte[] BlobData property of this control to your VarBinary or any byte[] datatype of your DataSource and place this control in your DataBound Container Control like GridView or DetailsView. Your DataSource varbinary field Image will be displayed in your browser as you wish.

Secured and programmable hidden download link:

If you are selling e-book or software products that you want your user to download in a secured page after payment, you can set the File Name programmatically any value you want and render the link at that secure page. So, when your user download the file, you can disable the link for the future and thus your user wont be able to download from the same link again and he or she wont have any idea from where the file was downloaded and thus he or she cant even share the link. Say for example, if you have a page where user enters after providing his login information, you may use the following snippet to program a download link:

This control never creates any temporary file in your server so you wont need to worry about setting any WRITE permission to your web folders. There are some solutions available in the market which allows you to encrypt downloadlink or generate dynamic download link for software sales or eBook sales which really requires you to make a temporary folder in your server with Write permission etc.. But our control won’t bother you to do any of these.

Enhanced Upload functionality:No code for Image Upload & Re-size & Convert with Firing FileUploaded Event.Simply setting the property UploadMode=true will show a Upload form element and upload button element, and that gives you the power to upload files directly to the BlobData property, you do not need to write any code. Guess What!! You want to upload an image and your image may need to be re-sized to a manageable size after upload.. you can do all of these by setting some properties. Not only that, you may add an event handler method for FileUploading event and FileUploaded Event. FileUploading event allows you to validate uploading files.

No Temporary file is created in your server:This control never and never creates any temporary files in your server so that you don’t need to worry about setting Write permission to any of your server folder.
Finally, this is the control that you were looking for a long time for developing your web application where you had SQL BLOB related operations.
FULL TRUST Configuration required

ASP NET BLOB Thumbnail Controls will work in your shared hosting if your hosting is configured to FULL TRUST. If you want to use this control in MEDIUM TRUST settings, please do let us know. We will give you a customized dll with a dependency file so that it will work in your shared hosting with MEDIUM TRUST configuration.

Keywords: SQL Server

Other products and services from SpiceLogic Inc.


NET Win HTML Editor Control

Even if you do not want to use the default factory items and instead use your own, this control provides you a user friendly interface to build your own toolbar items. SpiceLogic offers you a highly efficient .NET WYSIWYG editor control for Windows which GETs and SETs Html string. Also body style can be edited using a rich GUI CSS editor, which is available both in Design time and run time.


ASP.NET PayPal Control for Website Payments Standard

Even after the PayPal Integration is complete, it becomes a maintenance nightmare for developers specially who love to practice Object Oriented Design Patterns and Principles. Account, then, within few steps, you can start earning money using our ASP.NET PayPal Control / ASP.NET PayPal MVC Component. ASP.NET Web Forms renders HTML forms and so an ASP.NET Web Form cannot contain another nested HTML form.


SQL Synchronizer for Remote Connection Restricted Hosting.

When you are uploading your database from local to remote, you can select any SQL Server, SQL Express, Detached *.mdf file as a local database and provide the connection string to your remote SQL Server database and thats all. Then, perform some steps to restore the *.bak file to a database and then, detach the database and then look for the detached database by name in your PC's SQL Server folder's Data Sub Folder.