Getting video information from YouTube and Vimeo

YouTube and Vimeo provide a data API that you can use to get information for their videos. YouTube requires the use of an API key and you can get one for free. Click here to see the steps required to obtain a YouTube API key.

Clearing HTML tags and MS Word tags from text

It’s a pretty common need for web developers to get the plain text from HTML text. Also, there are cases where users paste text from MS Word. In this article I will post a few simple functions that help me manipulate text that contains HTML and MS Word tags.

Using generics to override static methods

I am currently working on a library that will be used in my company’s new and biggest project. This project has as a goal to unify all of our services in a cloud (sic!) application. I came to a point where I was writing an abstract class with some static properties and functions. My design [...]

Creating thumbnails from JPG images with .NET

The .NET framework has the System.Drawing namespace which allows the developer to create and/or manipulate image files programmatically. A common and popular action that a developer might need is to create a thumbnail of an image. The framework has a built-in method for creating thumbnails, the Image.GetThumbnailImage method. As you can read the method checks [...]

Backup the data from your Sql Server

An often requirement in a CMS is the user to be able to backup the database of its CMS installation. If you are using MS Sql Server there is a simple command that creates a .bak file of your database. BACKUP DATABASE [mydb] TO DISK = N’<bak_file_path>’</bak_file_path> Restoring the database is also simple with the [...]

Managing dates in .net

Handling dates has always been a hassle for a developer. Here we see how we can properly handle dates in .NET.

AntLR And Visual Studio

In this tutorial we explain step by step how we can use the AntLR parser with our .NET application.