Wednesday, February 21, 2007

This is really just a test post from Word 2007 to see how well it supports blogging to dasBlog. Although I'm seriously considering switching to Wordpress when I move to my bigger server.

Kiss Your CSS Goodbye With Outlook 2007

2/21/2007 8:46:32 AM (GMT Standard Time, UTC+00:00)  #    Comments [1]  |  Trackback


Wednesday, September 14, 2005

I've just fixed several bugs in dasBlog that were preventing me from sending email via my phone (across Vodafone Live) direct to my blog. Vodafone were using non-standard casing in most of the email & attachment headers. Now I'm ready for my hols. Expect some pictures soon.

9/14/2005 11:24:58 PM (GMT Daylight Time, UTC+01:00)  #    Comments [1]  |  Trackback


I've been getting quite a few errors from dasBlog recently with invalid viewstate. After chatting with Scott Hanselman about possible causes, we've narrowed it down to two possiblities:

  1. someone is tampering with my site
  2. IIS is recycling whilst a postback occurs

The IIS recylcing sounds more likely, although I'm actually hosting this site on Windows 2000 with IIS5 which I didnt think recycled ever 20 minutes like IIS6.

Anyhow to rule that out I've set a manual machineKey for my dasBlog application: here's an example:

<machineKey  
validationKey="21F090935F6E49C2C797F69BBAAD8402ABD2EE0B667A8B44EA7DD4374267A75D7
               AD972A119482D15A4127461DB1DC347C1A63AE5F1CCFAACFF1B72A7F0A281B"           
decryptionKey="ABAA84D7EC4BB56D75D217CECFFB9628809BDB8BF91CFCD64568A145BE59719F"
validation="SHA1"
decryption="AES"
/>

That way if IIS does cycle during a request we should also use the same keys instead of getting new AutoGenerated ones. The same principle applys if you are using a web farm. Different servers might serve the inital request from the postbacks.

BTW: if you need to generate those keys above, here's some code:

using System;
using System.Text;
using System.Security;
using System.Security.Cryptography;

class App {
  static void Main(string[] argv) {
    int len = 128;
    if (argv.Length > 0)
      len = int.Parse(argv[0]);
    byte[] buff = new byte[len/2];
    RNGCryptoServiceProvider rng = new 
                            RNGCryptoServiceProvider();
    rng.GetBytes(buff);
    StringBuilder sb = new StringBuilder(len);
    for (int i=0; i<buff.Length; i++)
      sb.Append(string.Format("{0:X2}", buff[i]));
    Console.WriteLine(sb);
  }
}
9/14/2005 11:22:12 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Saturday, September 03, 2005

My blog is one year old today. Many thanks to all my readers for their comments over the past year.

SummaryPeriod: 365 Days
  Daily Unique:     Totals:  
    Today       17  /  05 Sep, Mon, 2005     Unique Visitors      6567 - 70.95% 
    Yesterday       42  /  04 Sep, Sun, 2005     Visits incl. Reloads      9255 
    Average       19     Reloads      2688 - 29.04% 
    Highest Day       125  /  18 Aug, Thu, 2005     Visitors via Referrers      1313 - 19.99% 
  Weekly Unique:        Website Referrers      333 
    Current Week         17  /  Wk 36, 2005     Javascript Enabled      6366 - 96.93%
    Last Week          416  /  Wk 35, 2005    
    Average       121   Most accessed:  
    Highest Week       680  /  Wk 33, 2005     Browser      MSIE 6 
  Monthly Unique:          Operating System      Windows XP 
    Current Month    253  /  Sep, 2005     Screen Resolution      1024x768 
    Last Month          2131  /  Aug, 2005     Screen Color      32 Bit (16.7M) 
    Average       505     Searchengine      Google 
    Highest Month       2131  /  Aug, 2005     Keyword      halo  
  Highest Hour of the Day       20:00 - 20:59     Domain/Country      .com / United States 
  Highest Day of the Week      Thursday     Continent      North America 

9/3/2005 11:03:42 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Monday, August 01, 2005

MailToWeblog in DasBlog takes new posts via email with the email subject in this format:

  • SECRETWORD Blog Post Title [category1;category2;category3]

SECRETWORD is the prepended keyword that will cause dasBlog to post your post. This is configurable. The list of categories is separated by semicolons ";" and appears within brackets [].

8/1/2005 9:11:07 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Just completed an upgrade to DasBlog 1.8. Went pretty smooth. Found a few bugs with Firefox

.NET | dasBlog | Hosting
8/1/2005 3:24:00 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Wednesday, July 20, 2005

Be sure to visit all the options undfer "Configuration" in the Admin Menu Bar above. There are 16 themes to choose from, and you can also create your own.

 

7/20/2005 8:00:00 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback