Click here to Skip to main content
15,881,803 members
Articles / Web Development / IIS

Duplex Web Services

Rate me:
Please Sign up or sign in to vote.
4.93/5 (25 votes)
26 Jun 2008CPOL13 min read 94K   1.6K   140  
Using multi-threading techniques to create a duplex (two-way) web service that can push events/messages to the client.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="ChatClient.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <applicationSettings>
        <ChatClient.Properties.Settings>
            <setting name="ChatClient_TwoWayWS_Service1" serializeAs="String">
                <value>http://localhost:4875/Service1.asmx</value>
            </setting>
        </ChatClient.Properties.Settings>
    </applicationSettings>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead Sela College
Israel Israel
With over 20 years of IT experience, Boaz currently works as a Consultant/Instructor at Sela College

Comments and Discussions