« Thank you | Main | I got an offer that I couldn't refuse »

2007.05.08

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451806669e200d83505a1a353ef

Listed below are links to weblogs that reference WCF Web Smackdown - Round 2:

Comments

Steve Maine
Thanks Jeff -- keep it coming. One minor point of clarification -- your comment "In WCF, endpoints don't map to Services but rather to methods" isn't quite correct. Our dispatch model is deeply based on the idea of prefix matching -- an endpoint actually listens on the set of all URI's that start with a common prefix (just like a channel does). Within the URI space of the endpoint, we use URI templates to carve up that space and hand parts of it out to different implementation methods on the service. That's how we look at the world on the server, where it's important to keep in mind as it relates to instancing and concurrency behavior. From the outside looking in (i.e. from the client's perspective), it doesn't really matter much if you want to think of 1 service listening on a bunch of URI's or a bunch of logical "services" each listening on a single URI. The distinction doesn't matter so much on the client because it's insulated from those server-side implementation details. Couple more things -- if you want to eschew the serialization stack entirely and just write out strings, you can take a look at the "push style streaming" sample which shows you how to implement asp-net style response.Write(). That sample has a bit of plumbing in it at the moment, but we plan to make that scenario first-class by the time we ship. Finally, in this build operations using UriTemplate="*" or UriTemplate="" will require an trailing slash (service.svc/ vs service.svc)

The comments to this entry are closed.

November 2008

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
Blog powered by Typepad

We Like