Exploring the depths and potentials of ASP.NET RSS 2.0 or Subscribe to .BenRush by Email
 Thursday, June 15, 2006

Clemens Vasters gave a great talk on WCF today concerning binding and contracts; I got a lot out of it even though a lot was review, but it was good review because it solidified a lot of things that were nebulous to me still. Here are some basic notes:

  1. There are three basic types of contracts
    1. Service: which concerns the ports, operations and behaviors.
    2. Data: data types,
    3. Message: which define the format of the message on the wire.
  2. There are three ways to talk:
    1. One way: send the message and "forget" about it,
    2. Request/Reply: where there is a request .... wait ..... response model,
    3. Duplex: most easily thought about in terms of "callbacks"
  3. One way requests are important because they're effecient. If the protocol is reliable that it's being sent on, you don't ahve to worry about it not getting there...you can send the message and forget about it. This is a good choice for several solutions.
  4. Duplex is back channel, callback based.
  5. Take note of "Channel Builder",
  6. You can declare the back channel as [OperationContract(IsOneWay=True )]
  7. Take note of "Dispatcher"
  8. Duplex: [ServiceContract(Session=true), CallbackContract=typeof(IMYCALLBACKTYPE)]. The IMYCALLBACKTYPE is the interface the client is going to be using to reach the methods to call back.
  9. Fault tolerance:
    1. [FaultContract(typeof(SOMETYPE))] .....
    2. ......
    3. throw new FaultException<SOMETYPE>
      1. These things are handled as soap exceptions
  10. If you wish to work on the actual XML format, use the XMLSerializer
  11. Bindings:
    1. BasicHTTPBinding: "Old style"
    2. WSHTTPBinding: "New style". Secure, reliable.
    3. NetTCPBinding: Becoming very fast, almost as fast as COM+/DCOM. Instant firewall feedback/ NAT feedback.
    4. NetNamedPipeBinding: maximum performance, same machine, on windows.
    5. NetMSMQBinding: robust, reliable, queue-based transport.
    6. MSMQIntegrationBinding: integration with old-style MSMQ applications.
    7. NetPeerTCPBinding: for building peer to peer meshes.

The remainder of his talk was very informative, but difficult to express here as he went through particular case scenarios. This was an excellent way of seeing these protocols actually walk and therefore very a very expressive way of showing how to use the various binding types and why.


kick it on DotNetKicks.com
Thursday, June 15, 2006 3:33:04 PM (Central Standard Time, UTC-06:00)  #    Comments [0] - Trackback
Computing
Tracked by:
http://freewebs.com/aspxfaq/11/sitemap9.html [Pingback]
http://freewebs.com/toltom/13/sitemap6.html [Pingback]
http://freewebs.com/toltom/05/connecticut-lottery-results.html [Pingback]
http://freewebs.com/toltom/15/sitemap14.html [Pingback]
http://freewebs.com/toltom/14/dell-financial-services-com.html [Pingback]
"http://fartooblog.tripod.com/40.html" (http://fartooblog.tripod.com/40.html) [Pingback]
"http://kevruublog.tripod.com/53.html" (http://kevruublog.tripod.com/53.html) [Pingback]
"http://mxfb9a.org/sitemap39.html" (http://mxfb9a.org/sitemap39.html) [Pingback]
"http://hboegn.org/hardsex.html" (http://hboegn.org/hardsex.html) [Pingback]
"http://topslots.nl.eu.org/09/sitemap17.html" (http://topslots.nl.eu.org/09/site... [Pingback]
"http://freewebs.com/amexa/17/bank-of-the-james.html" (http://freewebs.com/amexa... [Pingback]
"http://freewebs.com/amexa/47/golf-magazine.html" (http://freewebs.com/amexa/47/... [Pingback]
"http://freewebs.com/amexa/03/mediterranean-diet.html" (http://freewebs.com/amex... [Pingback]
"http://pinofranc.homestead.com/02/kohler-kitchen-sinks.html" (http://pinofranc.... [Pingback]
"http://pinofranc.homestead.com/02/www-americanexpress-com-travel.html" (http://... [Pingback]
"http://pinofranc.homestead.com/00/suntrust-banking.html" (http://pinofranc.home... [Pingback]
"http://kfpye-xxx.com/13-year-old-girls-exposed.html" (http://kfpye-xxx.com/13-y... [Pingback]
"http://u2jkt-www.com/nude-photos-of-britney-spears.html" (http://u2jkt-www.com/... [Pingback]
"http://nabkoonews.tripod.com/135.html" (http://nabkoonews.tripod.com/135.html) [Pingback]
"http://zunvoonews.angelfire.com/140.html" (http://zunvoonews.angelfire.com/140.... [Pingback]
"http://havkeenews.tripod.com/58.html" (http://havkeenews.tripod.com/58.html) [Pingback]
"http://nbn6i-ooo.com/free-boob.html" (http://nbn6i-ooo.com/free-boob.html) [Pingback]
"http://pohteenews.tripod.com/23.html" (http://pohteenews.tripod.com/23.html) [Pingback]
"http://smp6f-hhh.com/illegal-teen-porn.html" (http://smp6f-hhh.com/illegal-teen... [Pingback]
"http://y2zyu-xxx.biz/beach-hentai.html" (http://y2zyu-xxx.biz/beach-hentai.html... [Pingback]
"http://naidu-www.biz/gay-bum.html" (http://naidu-www.biz/gay-bum.html) [Pingback]
"http://jjyfo-eee.com/female-feet-bastinado.html" (http://jjyfo-eee.com/female-f... [Pingback]
"http://freewebs.com/rimoq/05/burberry.html" (http://freewebs.com/rimoq/05/burbe... [Pingback]
"http://freewebs.com/rimoq/11/mad-money-com.html" (http://freewebs.com/rimoq/11/... [Pingback]
"http://freewebs.com/tiltak/08/index.html" (http://freewebs.com/tiltak/08/index.... [Pingback]
"http://freewebs.com/amexa/23/handicap-van-rentals.html" (http://freewebs.com/am... [Pingback]
"http://freewebs.com/amexa/16/aurora-university.html" (http://freewebs.com/amexa... [Pingback]
"http://iyhzn-rrr.com/aaa-free-sex.html" (http://iyhzn-rrr.com/aaa-free-sex.html... [Pingback]
"http://unicakomblog.ilbello.com/008-blog.html" (http://unicakomblog.ilbello.com... [Pingback]
"http://ramambo.nl.eu.org/13/mopar.html" (http://ramambo.nl.eu.org/13/mopar.html... [Pingback]
"http://harum.nl.eu.org/indonesian-women.html" (http://harum.nl.eu.org/indonesia... [Pingback]
"http://ramambo.nl.eu.org/armenian-genocide.html" (http://ramambo.nl.eu.org/arme... [Pingback]
"http://opmg8at.biz/close-up-cunt.html" (http://opmg8at.biz/close-up-cunt.html) [Pingback]
"http://ecjpkj4.biz/dirty-pics.html" (http://ecjpkj4.biz/dirty-pics.html) [Pingback]
"http://wortekom.nl.eu.org/innocent-little-girls.html" (http://wortekom.nl.eu.or... [Pingback]
"http://sevorokom.nl.eu.org/fetish-lingerie.html" (http://sevorokom.nl.eu.org/fe... [Pingback]
"http://dero--kom.nl.eu.org/www-buckeye-express-com.html" (http://dero--kom.nl.e... [Pingback]
"http://freewebs.com/gabeganews/11.html" (http://freewebs.com/gabeganews/11.html... [Pingback]
"http://fjuxwgq.com/www-hasbro.html" (http://fjuxwgq.com/www-hasbro.html) [Pingback]
"http://sanoblog.nl.eu.org/doujinshi-love-hina.html" (http://sanoblog.nl.eu.org/... [Pingback]
"http://mytnpg9.biz/circus-penis.html" (http://mytnpg9.biz/circus-penis.html) [Pingback]
"http://gpcmitr.biz/www-onegreatgiftcard-com.html" (http://gpcmitr.biz/www-onegr... [Pingback]
"http://nasferablog.netfirms.com/184.html" (http://nasferablog.netfirms.com/184.... [Pingback]
"http://cq7t5nv.biz/stupidvideos.html" (http://cq7t5nv.biz/stupidvideos.html) [Pingback]
"http://nasferablog.netfirms.com/163.html" (http://nasferablog.netfirms.com/163.... [Pingback]
"http://sj1uiza.biz/montgomery-county-transfer-station.html" (http://sj1uiza.biz... [Pingback]
"http://viuqnvu.biz/femdom-city.html" (http://viuqnvu.biz/femdom-city.html) [Pingback]
"http://mdvcjaj.biz/forever-21-clothing.html" (http://mdvcjaj.biz/forever-21-clo... [Pingback]
"http://jafert--niko.nl.eu.org/lesbian-sex-movies.html" (http://jafert--niko.nl.... [Pingback]
"http://nasferablog.netfirms.com/248.html" (http://nasferablog.netfirms.com/248.... [Pingback]
"http://jmqp7tr.biz/washingtonmutaulbank.html" (http://jmqp7tr.biz/washingtonmut... [Pingback]
"http://hjftsic.biz/peolple.html" (http://hjftsic.biz/peolple.html) [Pingback]
"https://netmpkom.sslpowered.com/sitemap2.html" (https://netmpkom.sslpowered.com... [Pingback]
"http://freewebs.com/sruone/grand-wailea-hotel.html" (http://freewebs.com/sruone... [Pingback]
"http://freewebs.com/sruone/sitemap351.html" (http://freewebs.com/sruone/sitemap... [Pingback]
"http://galetgah.homestead.com/24.html" (http://galetgah.homestead.com/24.html) [Pingback]
"http://fm7fgw1.info/big-bear-com.html" (http://fm7fgw1.info/big-bear-com.html) [Pingback]
"http://freewebs.com/vuter/07/harlem-globetrotters.html" (http://freewebs.com/vu... [Pingback]
"http://auter.homestead.com/00/new-york-escorts.html" (http://auter.homestead.co... [Pingback]
"http://freewebs.com/vuter/01/sitemap7.html" (http://freewebs.com/vuter/01/sitem... [Pingback]
"http://auter.homestead.com/01/nice-kicks.html" (http://auter.homestead.com/01/n... [Pingback]
"http://freewebs.com/datingblogger/400.html" (http://freewebs.com/datingblogger/... [Pingback]
"http://freewebs.com/datingblogger/82.html" (http://freewebs.com/datingblogger/8... [Pingback]
"http://fasxen.netfirms.com/25.html" (http://fasxen.netfirms.com/25.html) [Pingback]
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview

Computers Blogs - Blog Top Sites

Archive
<January 2009>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2009
Benjamin Rush
Sign In
Statistics
Total Posts: 444
This Year: 0
This Month: 0
This Week: 0
Comments: 128
Themes
Pick a theme:
All Content © 2009, Benjamin Rush
DasBlog theme 'Business' created by Christoph De Baene (delarou)