I love the Coalesce operator in C#

11. August 2009

Recently I was given a requirement where clients can enter alternate text for particular content and even alternate text to the alternate text. They wanted it so that the default text would only show if the first and second alternate text was null.

More...

.NET 3.5, LINQ, General , ,

Explaining C# Features in LINQ

21. July 2009

 

I will go into some of the newer features of C# 3.0 specifically those that are involved with LINQ.

On July 25th and 26th the BSDA will be hosting an event called LINQ Bootcamp where presenters will go through the book “Programming Microsoft LINQ” chapter by chapter (1 – 12).  It will be a fun weekend and a great chance to get your feet wet with LINQ.

If you don’t think you will be able to make it to the event I would still check out the book.

book-300x300

More...

LINQ , ,

ASP.NET 301 Redirect In Master Pages

18. June 2009

Today I was asked if we could set up a 301 Redirect for all non “www” request. For example if someone requested http://robbihun.com/page/about-me.aspx it would automatically do a 301 (permanent) redirect to http://www.robbihun.com/page/about-me.aspx thus making all existing links (and SEO links) work without issue.

More...

ASP.NET, General ,

Manipulating POST Data with Fiddler

8. June 2009

I like it when a new programming challenge crosses my mind. This is something i've never done before and it was a fun, quick challenge.

It all started with a simple twitter post that said 

So who's writing the scipt to automatically put 
#squarespace into every tweet for the next 30 days?

More...

General , , , ,

JQuery Validation with ASP.NET MasterPages

19. May 2009

I love using the jquery validation plugin in my .NET projects; however, there are some things to keep in mind when using it – especially when used in conjunction with master pages.

More...

ASP.NET, jQuery, General , ,