Archive for October, 2008

WidgetBucks $25 sign up bonus is back

If you are looking to monetize your website and haven’t signed up with widgetbucks yet, It’s a good time now, as they are giving out a $25 sign up bonus . Widgetbucks is an ad network which pays in both CPC (per click) and CPM (per 1000 impression) basis. The payout is low at $50 [...]

Replace “\n” with “<BR\>”

There are lot of times we accept user input in a textarea or a multiline textbox and save it to a database. But while displaying the data from the database, you will find that the line breaks are not displayed properly, infact there will be no line breaks. We will need to convert all the [...]

Efficient Search Engine Friendly Gridview Paging control

The Gridview Control in ASP.NET has built in paging support. But here are a few disadvantages of using the built in paging It fetches all the records from the database even when we need only 10 records per page. This is quite inefficient when your tables have thousands of records The paging controls uses javascript [...]

Free ASP.NET Web Hosting Providers

There seems to be quite a few people asking whether there are any web hosts providing free asp.net hosting . I did a bit of research and came up with a few good free hosting providers. The good thing about all the free web hosts is that they no longer serve forced ads. A few [...]

Loading and previewing fonts from files in ASP.NET

Few weeks back I created a free fonts preview and download site www.freedownloadablefonts.net. There are around 6000 fonts in .ttf files and I needed to display a preview of the fonts. All the fonts were copied to a folder “~/Fonts”. Then I created a http handler “GetFontImage.ashx” to which the font path and text to [...]

Check Page Rank of all pages of a website quickly

The most recent Google Page Rank (PR) update happened some days ago and most of us might have checked our websites PR using the google toolbar or through the numerous websites which can display PR ( one of my favourites being http://www.digpagerank.com/ ) . Though the PR toolbar and most “check PR” websites can display [...]

Fixing postbacks while using URLRewriter.net

Last week I had done a post on how to rewrite URLs using the URLRewriter.Net component. You can read it here . Another issue that comes up while using URL rewriting in ASP.NET is the problem of postbacks. Whenever a postback occurs in the page, you find that after the postback the URL in the [...]