rickgaribay.net

Space shuttles aren't built for rocket scientists, they're built for astronauts. The goal isn't the ship, its the moon.
posts - 303, comments - 180, trackbacks - 35

My Links

News

Where's Rick?


AgileAlliance deliver:Agile 2019- 4/29
Desert Code Camp, PHX - 10/11
VS Live Austin, TX - 6/3
VS Live SF - 6/17


About Me
Hands on leader, developer, architect specializing in the design and delivery of distributed systems in lean, agile environments with an emphasis in continuous improvement across people, process and technology. Speaker and published author with 18 years' experience leading the delivery of large and/or complex, high-impact distributed solutions in Retail, Intelligent Transportation, and Gaming & Hospitality.

I'm currently a Principal Engineer at Amazon, within the North America Consumer organization leading our global listings strategy that enable bulk and non-bulk listing experiences for our WW Selling Partners via apps, devices and APIs.

Full bio

Note: All postings on this site are my own and don’t necessarily represent the views of my employer.



Check out my publications on Amazon Kindle!





Archives

Post Categories

Published Works

Content Download: WCF Hosting & Endpoints

We had a great time at the INETA Vista Launch event.
 
My code samples and full solution are now available for download (see below).
 
The solution demonstrates a fictitious Human Resources line of business application using both IIS 5 hosting and self hosting.
 
The IIS hosting model shows how simple it is to host WCF services using HTTP-based bindings, allowing for applications to be built today that are directly portable to IIS 7.0 & WAS. 
 
Next, we moved beyond HTTP and took the same WCF service and added support for both online and offline communication patterns using netTcpBinding and netMsmqBinding using a self hosted console application (host) and a Windows Forms Smart Client (client). When the network is up, the client uses the tcp channel, however, if the network interface is disabled (simulating an outage), the client automatically switches to the msmq channel in response to a signal from the OS that the network is no longer available. The client is able to continue work seamlessly, and when the network is back up, the host reads awaiting messages from the queue and processes them accordingly.
 
NOTE: The client requires a private MSMQ queue. If a queue is not available, the client's constructor will attempt to create it on your machine, so please ensure that you have MSMQ installed prior to running the smart client demo. Also, the service writes a file called "HRFile.txt" to the C:\ drive to simulate a backing store for the fictitious transaction.
 
Code samples, slides and the entire solution is now available for download here.
 
Thanks to all who attended. If you have any questions, feel free to email me using the Contact link.


Thanks to Lorin and the other presenters for a great time- I think I'll be installing WPF/E sooner rather than later!
 

Print | posted on Sunday, February 04, 2007 5:00 AM | Filed Under [ Speaking Events ]

Feedback

Gravatar

# re: Content Download: WCF Hosting & Endpoints

How can I generate the client proxy? since it is not hosted using URI
8/2/2007 10:35 PM | kelvin
Gravatar

# re: Content Download: WCF Hosting & Endpoints

WCF Hosting & Endpoints
11/16/2007 11:39 AM | binh
Comments have been closed on this topic.

Powered by: