How to Crop Images in ASP.NET with “Web Crop Image Control”

When researching various web-based imaging cropping tools, I've found that there are a lot of good looking JQuery, MooTools, and other JavaScript based solutions out there, but there's not a ton of good server-side support. The one ASP.NET control I found that I really did like was "Asp.net 2.0 Web Crop Image Control". It's actually an ASP.NET … [Read more...]

ASP.NET Caching Techniques and Tools

One of the most frequent criticisms of the ASP.NET stack is that it's less efficient than some of its open-source counterparts. However, Microsoft has actually built in a lot of neat technology into the framework related to caching that allows for much more scalability than you might think. Not only is there caching support built directly into … [Read more...]

How to Set File Permisisons to Upload Files in ASP.NET

If you plan on doing any sort of file manipulation on a web-server using ASP.NET, you're going to have to become intimiately familiar with the System.IO library and learn how to properly configure the permissions for┬áthe directories you would like to write to on your Windows Server '03 or '08 web-server. Fortunately, the process isn't terribly … [Read more...]

Make an AJAX-like Multiple File Uploader with Uploadify

I'm currently working on an file manager that will be integrated with the content management system software that we developed. In doing this, I've been looking for a solution that would allow users to upload multiple files at once, does so in a very easy to use way and shows a progress bar. For this project, I don't really need to interact with … [Read more...]

Making Use of Escape Sequences in C# and Visual Basic

When working with strings of text, there are certain characters that you can't represent in a normal string variable because the key required on the keyboard simply doesn't exist or because of how strings are represented in text. Fortunately, modern programming languages provide "escape sequences," or ways to represent certain characters that … [Read more...]

My “Finding a Windows VPS” Adventure

For the last week or so, I've been looking for a Virtual Private Server (VPS) for use on some of my websites and personal web-development projects. My adventure began by doing a Google Search for "Windows VPS" and found dozens of different providers that had different features at different pricepoints. At first, I found it was very difficult to … [Read more...]

How to Create a JQuery File Browser with JQuery File Tree

While looking at various tools that might aid in the development of an ASP.NET based file manager, I came across a JQuery based tool called jQuery File Tree. Typically we would think of a file browser for a web-server that would be something that's almost uniquely server-side, but jQuery File Tree does a nice job at putting a front-end on what … [Read more...]

Using System.IO to Create, Read, Rename and Delete Files and Folders in C# and Visual Basic

If you're making use of C# or Visual Basic for Windows Forms, ASP.NET Web Forms or ASP.NET MVC, you have access to a very powerful file-system access library that's included with Visual Studio. The library, System.IO, will allow you to create, rename, edit and delete files and folders on your system. If you are using System.IO in ASP.NET, you will … [Read more...]

LINQ 101: Getting Started with LINQ

LINQ has been out for around a year now, but I never have been able to get away from using traditional SQL queries and data-access classes. Today, I thought I would try to do the "Hello World" equivalent of a LINQ program and share that with you today. So What's LINQ? LINQ stands for Language Integrated Query. It's a technology developed for … [Read more...]

Using JQuery? Let Google Host It

In the last decade, Google has given us a lot of amazing free services, and web developers haven't been left out of the party. For a while now, Google has been hosting popular JavaScript libraries on their CDN (content delivery network) and letting any website make use of them for free. On face, you might not think that having Google host one … [Read more...]