me.ToString()

My name is Duncan Goodall, I'm a full-time professional .NET developer based in West Sussex, UK.

I specialise in front/back-end web sites, web services and windows applications.

Follow my musings about Microsoft.NET, MOSS & SharePoint, AJAX, Silverlight, WCF, me, my family and other things that I find important or interesting.

first update after 6 months

It has been a busy year, firstly I moved hosts and data center and promptly got locked out of my control panel.  Six months later, I manage to sit down for half and hour and work out what the issue is, corrupt web.config!

So what's happend recently?  Well I'm the daddy again!  Please welcome Constance May Goodall, born 3rd April 2009... now 13 weeks.

I have decided that I am going to make an avid effort to post more this year.. been so busy with Constance, Beatrice (now 3 years old) and work, but things now settling down... for now... :o)

Posted: Jul 06 2009, 23:21 by Duncan Goodall | Comments (563) RSS comment feed |
Filed under: me
Tags:
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us

ASP.net MVC RC1 now ready to Download

ScottGu just announced ASP MVC is now ready to ship (RC1). 

All you need is right here: http://weblogs.asp.net/scottgu/archive/2009/01/27/asp-net-mvc-1-0-release-candidate-now-available.aspx

Also check out Phil @haacked's blog and announcement too: http://haacked.com/archive/2009/01/27/aspnetmvc-release-candidate.aspx

Well done asp.net team

what ya waiting for?  go get it

Posted: Jan 27 2009, 22:22 by Duncan Goodall | Comments (641) RSS comment feed |
Filed under: ASP MVC
Tags:
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us

IE8 RC1 is now ready to download

Redmond are getting Release candidate fever as they have just released IE8 RC1 and is now ready to download from http://www.microsoft.com/windows/internet-explorer/beta/worldwide-sites.aspx

The RC1 behaves just like the final version according to @MikeO, more features and news ont his release on his blog http://blogs.msdn.com/mikeormond/

go get it.. installed on my vista laptop fine, should upgrade from beta2 for vista users without having to un-install previous installations.

 

Posted: Jan 27 2009, 22:13 by Duncan Goodall | Comments (447) RSS comment feed |
Filed under:
Tags: , ,
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us

Download ASP.NET MVC RC1 Futures

Just went live... download it from codeplex and check out @haacked's blog too while you wait :)

Download MVC RC1: http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=22359

Haacked MVC Blog: http://haacked.com/Tags/aspnetmvc/default.aspx

Posted: Jan 27 2009, 22:03 by Duncan Goodall | Comments (921) RSS comment feed |
Filed under: ASP MVC
Tags:
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us

XML real-time quotes code just went live

Just Retirement (the company that I work for) just went live with Assureweb, a quote comparison site for IFA's (independant financial advisors).

My code went live on Tuesday and we now get over thousands of quick quotes a day. 

Phase II is planned for next year where I will write code to allow full medical assessment's to be made and calculated for the quote premium, this should increase the daily quote count dramatically, I've got loads of work to do between now an then :)

Posted: Nov 30 2008, 14:50 by Duncan Goodall | Comments (213) RSS comment feed |
Filed under: ASP.NET | Projects
Tags:
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us

Gears of War 2

I'm not a big first person shooter fan... believe it or not, I' rather play racing games or even strategy (yes worms counts!) but... I have to say I am strangely drawn into playing GOW2.

I actually think it may be the first game hat I could complete...so the far the action and story line is very good.  I play online with a few friends on Thursday evenings, so if you fancy a game come find me in a party and join in. 

email me for my gamertag if you don't have it already.

Posted: Nov 30 2008, 14:46 by Duncan Goodall | Comments (580) RSS comment feed |
Filed under: xbox
Tags:
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us

blog gets a facelift

 found more time to add more content...

oh added a twitter feed too, seems to be sporadically misbehaving so don't be surprised if it's blank...

think it's a cache issue with my ISP, set to 15 minutes but seems to return an empty object sometimes? will have to debug when I do my next update...see last comment ;)

 

Posted: Nov 30 2008, 14:39 by Duncan Goodall | Comments (548) RSS comment feed |
Filed under: General
Tags:
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us

AOL UK block snipurl.com and snipr.com :-(

I was following MikeO's tweet annoucement and went to follow his link (http://snipurl.com/5a5h6) .. it was then I realised that my ISP would not resolve the snipurl domain, how annoying!

I checked it with a proxy website (babelfish) and yeah sure enough the site was up, but not accessible through my connection.  I think it may just be a mistake with the DNS settings, but I will have to wait until tomorrow to find out as apparently it takes AOL technical team 24 hours to reply to my ticket!

In the meantime, I told Mike Ormond about this and he changed his powershell script to use tinyurl.com instead, he did not realise that the API was available and apparently is a more simplified model!   anyhoo, great news for me as I'm now working :-)  thanks Mike! 

 

Posted: Nov 10 2008, 08:44 by Duncan Goodall | Comments (1040) RSS comment feed |
Filed under: twitter
Tags:
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us

ObjectDataSource UK Date bug - a workaround

OK, so the first time I get to play with the ObjectDataSource  for binding my gridview on my asp.net application...I find a bug!  - typical

It appears that the culture information seems to be ignored when firing the object update command.  This may mean nothing to you if you are a user in the states using the en-US culture, but for us guys over here in the UK who use the en-GB culture this is a seriosu problem as we will edit our dates in the UK format but when we go to update the row, we will ge the following error...

Cannot convert value of parameter 'dtyourdatefield' from 'System.String' to 'System.DateTime'

So I did a google..as you do and found Microsoft's visual studio team have acknowledged this as a bug but won't fix it as thy say the workaround is much easier to implement than the fix...hmm....

 

 

So I have to work around this problem by writing my own code so here is my implementation of a workaround:

 

   1:  Private Function ParseNewGridValues(ByVal pe As System.Web.UI.WebControls.GridViewUpdateEventArgs) As System.Web.UI.WebControls.GridViewUpdateEventArgs
   2:      Dim oValue As System.Collections.DictionaryEntry
   3:      For Each oValue In pe.NewValues
   4:          If IsDate(oValue.Value) Then
   5:              Dim oGB As New Globalization.CultureInfo("en-GB")
   6:              Dim oUS As New Globalization.CultureInfo("en-US")
   7:              Dim dtParsed As DateTime = DateTime.Parse(oValue.Value, oGB)
   8:              Dim tFormatted As String = dtParsed.ToString("yyyy-MM-dd HH:mm:ss", oUS)
   9:              pe.NewValues(oValue.Key) = tFormatted
  10:          End If
  11:      Next
  12:      Return pe
  13:  End Function
  14:   
  15:  Protected Sub GridView1_RowUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewUpdateEventArgs) Handles GridView1.RowUpdating
  16:      e = ParseNewGridValues(e)
  17:  End Sub 

As you can see form the code, I handle the row updating event and go run a function which converts the date values in my datagrid form UK (how my data gets selected as!) back to an Isodate format using the en-US culture.  We then save the new converted date values back to the original event arguments (NewValuesauesnewvalues collection).  easy!  right???!

If you are interested…here is the bug documentation from MSFT

 http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=105016

 

 

Please let me know if anyone finds a better more elegant way to handle this!

Posted: Oct 17 2008, 01:18 by Duncan Goodall | Comments (1122) RSS comment feed |
Filed under: ASP.NET
Tags:
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us

MSFT release Silverlight2

Scott Guthrie has just blogged that Silverlight 2 has just been released.  This incorporates a 4.6mb download which is reported to take between 4-10 seconds to install on a local machine and will allow developers to use a subset of the .net framework for use with client side programming for richer user content presentation without having to install the .net framework on the client computer....one word sweet! 

 Check out Scott's blog or download directly here

Posted: Oct 14 2008, 08:17 by Duncan Goodall | Comments (369) RSS comment feed |
Filed under: Silverlight2
Tags:
Social Bookmarks: E-mail | Kick it! | DZone it! | del.icio.us