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 - 258, comments - 163, trackbacks - 28

My Links

News

Where's Rick?



Visual Studio Connections, 3/26

That Conference, 8/13



About Me
I am a developer, architect, writer and speaker, passionate about distributed .NET technologies and Application Lifecycle Management. I am currently the General Manager of the Connected Systems Practice at Neudesic.


    follow me on Twitter



    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: