jb's Blog


"behold the turtle, he only makes progress when he sticks his neck out"

Introduction to WCF

tag icon Tagged as Uncategorized

Thanks to everyone who came along last night – it was a very enjoyable DNUG session :)

As mentioned, here is the code we developed during the session, so all of those little nuggets we talked about squirreling away can be found within.

If you have any queries feel free to ping me an email.

Jeremy

6 Responses to “Introduction to WCF”

  1. hey…

    Just looking at the code…

    in your MembershipService class you have decorated it with [UnitOfWorkPerCallBehavior]

    then in each method you start a unit of work? Is that right?

  2. Indeed, except if you have a look the Authenticate method has been refactored to take advantage of this. In the session the sample was built up progressively, so the original implementation was around using the explicit UOW construction, we refactored it around the time the pizza arrived to take advantage of the custom behavior – such time pressures dictates we only refactor one method to prove the point ;) To complete the work, just strip the explicit UOW construction in the other methods and use the UnitOfWork as supplied from the ServiceBase :)

    Jeremy

  3. sweet :)

  4. my world of pain started when I wanted to do “username/password” authenticated WCF webservices.

  5. Slightly off topic. Why do you use an Apple Mac, and how are you running windows?

  6. Hi Darryl,

    We bought a number of them at Mindscape a few years ago because we were doing some iPhone/Mac development and they could also dual boot Windows since we primarily do .NET development. (And they are shiny). We all also have desktop machines at work.

    I run Windows by dual booting it :)

Leave a Reply

jb's Blog