Make Custom URLs in ASP.NET with the Global.asax File

If you're looking to do URL rewriting for a content management system or another .NET based website, there are a number of ways to accomplish the task. There's a very mature free product called URL Rewriter.NET which gets the job done, and Microsoft has made their own URL Routing solution which was originally developed for their MVC framework, … [Read more...]

Write Your Own Database Access Class in C#

If you use C# or VB.NET through the ASP.NET stack (or just as a desktop application) to connect to a  SQL database, you'll have a few options. There's the new entity data model from Microsoft, there's also last year's notion of LINQ. They both do a reasonably good job, but are sometimes on the over-kill side for smaller projects. Sometimes you just … [Read more...]

How to Safely Display Your Email Address Online Without Getting Spammed

If you have a website or blog, one of your motivating factors is that you'd like to promote yourself, your services or your ideas. Typically most bloggers don't want to be writing anonymously and would like to provider their readership an easy way to contact them. Unfortunately, it's a really bad idea to let your email address set publicly on … [Read more...]

Building a Simple Image Rotator with JQuery

I was recently working on a new website for an adult fellowship group at my church and one of the tasks I had was to create an image rotator that had various bible verses on it that would transition every few seconds. Since the site was Joomla-based, I initially searched for a free plugin that would do the trick. I did find one that would do the … [Read more...]