Jon Flanders' Blog

It feels like this webcast has been pimped enough but..

Thursday, July 03, 2008 11:10:55 AM (GMT Daylight Time, UTC+01:00)

If you haven't seen it advertised - I am doing a WebCast on WCF/WF integration next Wednesday at 10 am Pacific time.

Signup link : http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032381608&EventCategory=4&culture=en-US&CountryCode=US

Hope to see many of you virtually there :)

 |    #    Comments [0]   

Ok - semi-technical post

Friday, June 27, 2008 11:46:47 AM (GMT Daylight Time, UTC+01:00)

Mostly this post is here to motivate me to actually get this book done ASAP -

http://www.amazon.com/RESTful-NET-Jon-Flanders/dp/0596519206/ref=sr_1_2?ie=UTF8&s=books&qid=1214538175&sr=1-2 

Yes - I am writing a book on WCF and REST.  Not a big suprise ;-)

 |    #    Comments [0]   

Silverlight calling Workflow Services

Wednesday, June 25, 2008 10:39:15 AM (GMT Daylight Time, UTC+01:00)

One question I was asked during my web cast yesterday about calling WCF services from Silverlight is if the service could be a workflow service.  I said - "Of course" - not knowing that it was a little more complex than that :)

That said - here is a sample.

SilverLightUsingWorkflow.zip (535.08 KB)

Unfortunately I don't have time to go into the details right now - working on another project at the moment. The key to making it work is setting the instanceid context to null on the server when the "last" operation is called - in this case the operation implemented inside of the eventhandler which causes this state-machine workflow to move to the completed state (so that the client can then start a new workflow).

I hope to find an more elegant and automatic solution - but this works for now (Hope you are listening Jason from the webcast - this ones for you ;-))

 |  |    #    Comments [2]   

Code from my webcast earlier today

Tuesday, June 24, 2008 6:04:23 AM (GMT Daylight Time, UTC+01:00)

I did a webcast on using WCF from Silverlight 2.0 this morning - I think you can see the replay here in about 24-hours - http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032380766&EventCategory=5&culture=en-US&CountryCode=US

If you watched (or watch the replay) here is the code:

webcastcode.zip (3.46 MB)

  #    Comments [2]   

Multi-named web sites and WCF

Friday, June 06, 2008 9:51:29 PM (GMT Daylight Time, UTC+01:00)

Glav posts about a problem I've also had recently - that Matt helped me figure out how to solve.

The exception is (repeated here for seach purposes):

This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.
Parameter name: item

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: This collection already contains an address with scheme http.  There can be at most one address per scheme in this collection.
Parameter name: item

The way to solve this problem is to setup multiple web sites in IIS (rather than having one site that has multiple Host entries) - and point all the websites to the same directory.

Hope this helps someone.

  #    Comments [1]   

Code sample from the WCF-REST talk at TechEd US 2008

Friday, June 06, 2008 9:41:09 PM (GMT Daylight Time, UTC+01:00)

Here you go:

 

RESTDemos.zip (863.54 KB)

For those who attended the session - thanks!  It was a load of fun - as you who didn't see the session can see in this picture:

If you did attend the session and haven't done an evaluation - please do one!  Thanks

 |    #    Comments [0]   

Article about WF/WCF integration

Friday, May 30, 2008 1:00:56 PM (GMT Daylight Time, UTC+01:00)

I guess this is the week for my articles to go online :)  Now my WF/WCF integration article is on MSDN.  Hope you find it helpful.

 |    #    Comments [0]   

Navigation

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