A Few Quick Tips to Get More Visitors

November 28, 2007 19:46 by Dominick

Its fairly easy to get people to visit your website. All you need is a few dollars for advertising and you can get people on your site. The problem is getting people to actually stay and interact. I would guess that around 1% of the people that arrive from Google advertisements actually stay around and/or come back. That's not a very good rate if you ask me. Is it worth the money? Not at all. Its just my opinion, but I think using Google Adwords should only be used when you first start up your site and have no other way of becoming visible.

The best way I've found to get people to hang around is posting stories on social bookmarking sites like DotNetKicks, DZone and Digg. This is nothing groundbreaking, but you should know that these are wonderful sources of "free" traffic if you don't already. The visitors tend to stay longer, read related posts and even sign up for your rss feeds. You just never know what's going to be a "hit" and cause lots of traffic to come your way.  I had a story about SubSonic make the main page on DotNetKicks and DZone at the same time. That was fun and very satisfying. 

I tried StumbleUpon's advertising service for another site, ConservativeKicks.com, but the results were even less impressive than the Google ads. I recommend these actions when you start a new web site:

  • Start posting comments on related websites (make sure you have links back to your website in your sig)
  • Buy some Google ad space. You've got to get people on your site, but don't go overboard. Set a daily budget you can afford
  • Post links to your posts on social bookmarking sites. They are the best way to drive traffic to your site
  • Submit your site to StumbleUpon and consider using their paid service because it does drive a lot of traffic to your site and you never know what will make them stay on your site.
  • Make friends with other website owners. Cross-site linking can help everyone involved.
kick it on DotNetKicks.com

Tags:
Categories: ASP.NET | SubSonic | General
Actions: E-mail | Permalink | Comments (1) | Comment RSSRSS comment feed


3 Open Source Apps I'm Thankful For

November 21, 2007 22:17 by Dominick

Its the time of year again (for us in the US) to stuff ourselves even more than usual. I love turkey and all the other traditional Thanksgiving foods. Its a day where I tend to lose all self control.

I'm thankful for the following things (.NET related):

  1. SubSonic

    The program I use the most by far. I use it in nearly every new project I start. It has saved me an incredible amount of time over the last year. Its all about finding ways of being more productive and eliminating CRUD. I spent too many years coding SQL right into my pages. Bad times. I can't say too many good things about SubSonic. Its worth using now just to be ready for when its included in some later version of dotnet.

  2. DotNetKicks

    The site and the open source software. I've been visiting DotNetKicks.com for most of this last year and I consider it to the leading resource for everything dotnet. I love the site and I love the open source software powering it. I liked it so much that I started my own site, ConservativeKicks.com, with it. It was a pain to get going, but it was well worth it. It also uses SubSonic so its easy as pie to deal with on the backend.

  3. BlogEngine.NET

    I use this software for this blog. It was very simple to setup and get going. It has all the features I need and it just works. I suggest giving it a try if you're looking for a good blogging engine. It doesn't use SubSonic, but I'm not looking for an application that I'll need to customize too much. I just want to hit start and write. BlogEngine.NET does that very well.

Happy Thanksgiving, everybody. Be safe and have fun. See you all after the holiday. 

Tags:
Categories: ASP.NET | Open Source | SubSonic | General
Actions: E-mail | Permalink | Comments (7) | Comment RSSRSS comment feed


SubSonic Quickie - How to Delete using the Query Tool

October 29, 2007 12:37 by Dominick
Here's a quick little bit of code that shows how to delete records in your database using SubSonic's Query Tool. I know you can write this is fewer lines of code, but I think this shows a little more clearly what's going on.
Query qryDelete = new Query(DeliverableCategoriesSelected.Schema);
qryDelete.QueryType = QueryType.Delete;
// You can also do the following line in this way: qryDelete.WHERE("ProductId", productId);
qryDelete.WHERE(Products.Columns.ProductId, productId); //where productId equals the product ID number you want to delete
qryDelete.Execute();
SubSonic also supports logical deletes so if you have your tables setup with the extra fields (isDeleted being the most important) than you record will not disappear. You can still do that with the "Destroy" method if you really feel the need to kill something.



Speaking of SubSonic

October 26, 2007 15:36 by Dominick

Rob is now of the collective.

Rob called me a star once for helping with some VB translations in SubSonic. Does that make me famous now?

Congrats and good luck, Rob! 



Tags:
Categories: SubSonic | General
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed


5 Reasons why SubSonic is Better than Sliced Bread

October 26, 2007 10:01 by Dominick

Toast your bread before you put gravy on it. Use SubSonic in your applications.

1. It gets better with age

There are still things that I discover almost on a daily basis that I didn't know it could do. One of the coolest features I've discovered lately is the built-in table relations it implements in its generated classes. You can very easily reference a related record in another table with a tiny bit of code. Check this out.

//grab a product object
Products product = Products.FetchByID(productId);

//if you have a relation setup to a Vendors table you can do this
//the Vendors table has an Address field for the vendor
String vendorAddress = product.Vendors.Address; 

How rediculously simple is that?

2. It doesn't make you fat if you use it too much

The more you use it the more time it will save you. Your developement will get faster not slower. Its the ultimate DAL generator that just makes things faster and easier to do.  It doesn't create tons of useless code either. You can even tell it to only generate the class files on the tables you want it to. I can honestly say that I write about 1/4 less code than I used to because of SubSonic. 

For example this is just one way to generate a collection that you can bind to a data countrol.

//this one line of code will populate a collection of products with a specified vendorId
ProductsCollection coll = new ProductsCollection().Where("VendorId", vendorId).Load();

3. It won't get soggy if you pour gravy on it

That has nothing to do with SubSonic, but I just hate when my bread gets soggy. A restaurant should know that they need to TOAST the bread before they pour gravy all over it. Why can't they understand this simple concept?

As far as SubSonic goes... if you consider the ASP.NET AJAX framework as gravy and the generating of the class files during compile as toasting than no, it won't get soggy. They work perfectly well together. 

4. If you want to change something about it you don't have to buy a whole new loaf

I see two meaning with that statement. First, its open source. Rob and Eric do a wonderful job, but if you don't like something about it or want to add something new than go right ahead and do so. The wonderful thing about open source is you don't have to depend on anybody else to fix a bug if you don't want to. We'll not talk about having bugs in your bread. The other is that if you need to change something in your database you don't need to manually change your DAL code. Make a change in the database, recompile, you now have access to the changes in your application. 

5. Transparency is a good thing

As a developer using SubSonic you really need not worry about what's going on under the hood. You can be as oblivious as you like. It works best when you let it be transparent. Make it a part of developing the majority of your applications and your life will be better for it.

Bread would have to be really really soggy to become transparent. That is something that most certainly would not make your life better.

kick it on DotNetKicks.com