Select Category:  

How to Authenticate a User in Active Directory using ASP.NET

If you’re working in an academic or large corporate or government setting, changes are you’re going to have a network in place using Active Directory or an open-source equivalent. Every user in the organization will have some sort of an account to use. If you’re building an internal web-application or desktop-application, it doesn’t make a …

How to Resize Photos in ASP.NET

If you’re developing a website that allows users to upload any sort of photos or images, you have to expect that they aren’t going to bother doing any sort of basic image manipulation, such as resizing an 8 megapixel image down to something that’s appropriate for the web. Fortunately, there are a number of good …

JQuery Date Picker: One Step Torwards Making Forms That Work

While attending Microsoft Mix earlier this spring, I stumbled upon a book called “Making Forms That Work“, which was written by Caroline Jarrett and Gerry Gaffney. The book focused on building web-forms that aren’t intimidating and that people will actually fill out. One of the focuses was making sure to use the right controls for …

How to Export Data to Excel in C# and ASP.NET

If you develop a web-application for a client that involves creating and viewing reports, it’s very likely that they’re going to want to be able to export that data to excel very readily. Fortunately, you won’t need any special libraries or hundreds of lines of code to make that happen in ASP.NET. All you need …

Search Engine Optimization (SEO) Your WordPress Blog or Website

WordPress is without a doubt the most popular blogging platform on the web. It’s easy to use, relatively secure, very extensible and best of all free. Unfortunately, it’s not optimized for search engines terribly well out of the box. The URLs that it generates don’t have any keywords in them. There’s no way to customize …

How to Generate Random Passwords in C#

If you’re developing a site that requires users to logon, chances are you’re going to need to be able to generate passwords at some point, whether it be when users initially create their accounts or after they lose their passwords and need to reset their account credentials. Here’s a very customizable function that will generate …

How to Build a Joomla Testing Environment on Windows

In the next couple of weeks, I’m planning on developing a Joomla 1.5 module so that I can flex my PHP muscles and get some more experience developing for Joomla. As part of this, It will be very helpful to have a local environment where I can test out the component that I’m plan on …

A Simple Way to Hash Passwords in ASP.NET

If you’re developing a website that requires your users to create an account, it’s a very good idea to not store their passwords in plain-text in the database. A good chunk of users use the same password for just about everything, so if your database is compromised, there’s the possibility of having some real reprocussions …

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 …