This is really useful for campaigns or time specific content:

We also want to make sure you’ve heard about the new unavailable_after META
tag announced by Dan Crow on the Official Google Blog a few weeks ago. This allows for a more dynamic relationship between your site and Googlebot. Just think, with www.example.com, any time you have a temporarily available news story or limited offer sale or promotion page, you can specify the exact date and time you want specific
pages to stop being crawled and indexed.

Let’s assume you are running a promotion that expires at the end of 2007. In the headers of page www.example.com/2007promotion.html, you would use the following:

<META NAME=”GOOGLEBOT”
CONTENT=”unavailable_after: 31-Dec-2007 23:59:59 EST”>

The second exciting news: the new X-Robots-Tag directive, which adds Robots Exclusion Protocol (REP) META tag support for non-HTML pages! Finally, you can have the same control over your videos, spreadsheets, and other indexed file types. Using the example above, let’s say your promotion page is in PDF format. For www.example.com/2007promotion.pdf, you would use the following:

X-Robots-Tag: unavailable_after: 31 Dec
2007 23:59:59 EST

Remember, REP META tags can be useful for implementing noarchive, nosnippet, and now unavailable_after tags for page-level instruction, as opposed to robots.txt, which is controlled at the domain root. We get requests from bloggers and webmasters for these features, so enjoy. If you have other suggestions, keep them coming. Any questions? Please ask them in the Webmaster Help Group.

No Comments | Category: General Web

As jQuery is being shipped with the MVC framework I suppose I will have to move away from Prototype -oh well I am sure what I learnt won’t be wasted.

It would be so useful if Visual Studio provided some intelisense for JavaScript (more than it does actually give) so after a small amout of Googling I found this post:

http://brennan.offwhite.net/blog/2008/02/01/intellisense-for-jquery-in-visual-studio-2008/

Bit of an update:

http://weblogs.asp.net/bleroy/archive/2008/11/07/visual-studio-patched-for-better-jquery-intellisense.aspx

No Comments | Category: .NET, jQuery

Castle Windsor IOC:

http://gojko.net/2008/11/04/dependency-injection-with-castle-windsor-video/

MVC ScottGu:

http://www.hanselman.com/silverlight/ScottGuAtAltNetConf/

No Comments | Category: .NET, Castle Windsor, videos

http://msdn.microsoft.com/en-us/library/ms164311.aspx

/p:Configuration=Debug

No Comments | Category: MSBuild

Something that I have been looking forward to having a go with - and soon all being well.

Things to watch and read:

http://www.hanselman.com/blog/ScottGuMVCPresentationAndScottHaScreencastFromALTNETConference.aspx

http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx

No Comments | Category: .NET

http://en.wikipedia.org/wiki/Lambda_calculus

http://en.wikipedia.org/wiki/Church%E2%80%93Turing_thesis

http://c2.com/ppr/checks.html

No Comments | Category: computing

Useful for random stuff:

int[] array = new int[6] {1,2,3,4,5,6};
Console.WriteLine(”BEFORE”);
foreach (int i in array)
{
Console.WriteLine(i.ToString());
}

Random rng = new Random();
int n = array.Length;
while (n > 1)
{
int k = rng.Next(n);
n–;
int temp = array[n];
array[n] = array[k];
array[k] = temp;
}

Console.WriteLine(”AFTER”);
foreach (int i in array)
{
Console.WriteLine(i.ToString());
}

Console.ReadLine();

No Comments | Category: .NET

I like reading Scott Gu’s blog there is usually some really good stuff on there including a large list of tips and tricks:

http://weblogs.asp.net/scottgu/pages/ASP.NET-2.0-Tips_2C00_-Tricks_2C00_-Recipes-and-Gotchas.aspx

No Comments | Category: .NET

If you are just testing something you might pop a class in the App_Code directory (I was messing with extending web controls) you may need to the reference the assembly for that class. You can by using “__code”.

Here is what I did:

<%@ Register TagPrefix=”ExtendedAnchor” Assembly=”__code” Namespace=”WhatEver.Namespace”%>

Jobs a good’en!

No Comments | Category: .NET

http://www.robertnyman.com/2008/05/13/how-to-hide-and-show-initial-content-depending-on-whether-javascript-support-is-available/

No Comments | Category: Uncategorized