Jon Flanders' Blog

Code from TechEd US 2009

Sunday, May 17, 2009 5:11:55 PM (GMT Daylight Time, UTC+01:00)

Had a blast last week at TechEd – if you came to one of my sessions – here is the code as promised:

REST - SOA302_Demos.zip (342.61 KB)
Busy Developers Guide to WCF - SOA303_Demos.zip (424.64 KB)

Feel free to contact me through my blog if you have questions – or email me – jon.flanders – at the evil gmail.com ;-)

REST | WCF   #    Comments [0]   

If you are in LA for TechEd - also a Star Trek movie review

Monday, May 11, 2009 6:48:45 PM (GMT Daylight Time, UTC+01:00)

Movie was just awesome.  Maybe one of the best movies of all time.  Really ever.

If you are in LA for TechEd you have a moral obligation to go see Star Trek - at the Arclight Cinerama Dome Hollywood -http://tinyurl.com/ca3b3o.  The Arclight is really the best theater I've ever been too.  Leather *assigned* seats, no talkers (well almost never any talkers)  great projection and sound in every theater. 

If you are into music - go next door to Ameoba - its an old school record store (and there aren't many of those left).

  #    Comments [0]   

VSLive - Las Vegas!

Wednesday, April 08, 2009 11:43:53 PM (GMT Daylight Time, UTC+01:00)

I'm super excited to be doing two talks at VSLive Vegas on Oslo.  If you register with code  S9V10  you can get and all-access Passport Package for just $1,295, a savings of $400.00 off the standard price of $1,695.

Register now and I'll see you in Vegas!

  #    Comments [0]   

WCF "Champ"

Thursday, April 02, 2009 11:21:04 PM (GMT Daylight Time, UTC+01:00)

Funny video - http://www.microsoft.com/net/wcf/champ.  I wonder if they will have a WCF REST vs SOAP version (you know who I'd be betting on :))

REST | WCF   #    Comments [0]   

Got a very nice book review

Thursday, April 02, 2009 11:19:27 PM (GMT Daylight Time, UTC+01:00)

Thanks Nick - http://techfortesco.blogspot.com/2009/04/tescocom-api-to-become-more-restful.html

  #    Comments [0]   

MUrl – a DSL and runtime for exercising HTTP

Friday, March 20, 2009 5:39:34 PM (GMT Standard Time, UTC+00:00)

Get it at the Oslo Dev center http://msdn.microsoft.com/en-us/oslo/default.aspx  (link in the middle box).  I just saw Chris and Doug do a talk using this at Mix09.  I think its a very interesting example of how using a DSL can simplify developer tasks.

M | MGrammar | Oslo   #    Comments [0]   

Problem with the ETag code in my book

Wednesday, March 18, 2009 3:53:38 PM (GMT Standard Time, UTC+00:00)

I just discovered that in Chapter 11 - my code for generating ETags has a bug.  The code needs to wrap the ETag in a set of quotes:

string GenerateETag(User u)
{
    byte[] bytes = Encoding.UTF8.GetBytes(u.UserId + u.LastModified.ToString());
    byte[] hash = MD5.Create().ComputeHash(bytes);
    string etag = Convert.ToBase64String(hash);
    return string.Format("\"{0}\"", etag);
}
Sorry - as I always say "Hi - I'm Jon, I'm a developer, and I write code with bugs" ;)

  #    Comments [0]   

New version of the REST starter kit

Friday, March 13, 2009 2:18:12 PM (GMT Standard Time, UTC+00:00)

Its available now on Codeplex  - I showed off both the client and server pieces of the starter kit at my full-day REST seminar at SDWest this week.   There are some very useful features in the kit like:

  • WebProtocolException and an IErrorHandler implementation that returns correct error codes
  • The HttpClient class and the "Paste as Xml Serializable" feature to help minimize the work necessary when building RESTful clients

Those are just two of my favorites but there are a lot more.  I'll be using the HttpClient to help do Conditional GET when I do my Caching in REST talk next Friday at Mix!  If you are going to be in Vegas - some by and say hello.

  #    Comments [0]   

Slides from my REST talk at SDWest

Thursday, March 12, 2009 12:12:38 AM (GMT Standard Time, UTC+00:00)

That is all :)

RESTDESIGN.pdf (998.26 KB)

REST   #    Comments [0]   

Navigation

Book Code!!!

Books

Courses

Search

Subscribe

  • RSS 2.0
  • Add to Windows Live button
  • Add to Google button
  • Add to MyMSN button
  • Add to MyYahoo button
  • Add to Bloglines button
  • Add to Newsgator button