Tag: Development

Community

Caching in ASP.NET 2.0

(Raj Beniwal) Caching is a technique of storing a copy of data in memory. For example, you may cache the a page or the results of a query. The advantage of caching is to build better performance into your application. Accessing cached data in memory is much faster than re-building a page or re-query

Community

An Experiment in Optimization

(Jim Mischel) When I needed a method to reverse a string, the first thing I did was check the .NET String class to see if it has such a thing. I was surprised to learn that there is no Reverse method for strings. At least, up until .NET 3.5, there wasn’t. In .NET 3.5, Reverse is an extension method-

Community

Large file uploads in ASP.NET

(Jon Galloway) Uploading files via the FileUpload control gets tricky with big files. The default maximum filesize is 4MB – this is done to prevent denial of service attacks in which an attacker submitted one or more huge files which overwhelmed server resources. If a user uploads a file larger than

Community

The SQLCMD workbench

(Robyn Page and Phil Factor) There are two ways of using SSMS to automate repetitive tasks that involve TSQL. One is by the use of templates. This gives you a ready-made library of standard routines that you can turn into executable TSQL simply by hitting Ctrl Shift M on the keyboard. Great for ad-h

Community

VBScript Date Functions

(James Payne) In our previous article we talked about loops and touched briefly upon creating your own functions. As you know, VBScript comes packed with its own pre-defined functions (like our buddy document.write), and in this article we are going to cover most, if not all, of the Date Functions.

Community

ASP.NET Multiple File Uploader

(Govardhana Reddy) There are many situations when a developer wants to allow a user to upload more than one file. Currently you may be stuck with either adding as many file input elements as the number of files you want to upload, or possibly having new ones appear ‘magically’ through Javascript.