Click here to Skip to main content
15,881,701 members
Articles / Desktop Programming / Windows Forms

A Remoting Event (Simple and Efficient for Enterprise Solutions)

Rate me:
Please Sign up or sign in to vote.
4.84/5 (25 votes)
21 Aug 2006CPOL2 min read 161.9K   2.1K   85  
This article contains the simplest solutions for: the security problem for DelegateSerializationHolder, the IO problem, and the messaging speed problem. Note: Messaging speed problem will appear when your application has worked for a long time.
<configuration>
  <system.runtime.remoting>
    <application>
      <client>
        <!--You can replace localhost with your server ip address or host name-->
        <wellknown
           type="Remotable.RemoteClass, Remotable"
           url="http://localhost:8080/Chat"
            />
      </client>
      <channels>
        <channel
           ref="http"
           port="0"
            >
          <clientProviders>
            <formatter ref="soap" />
          </clientProviders>
          <serverProviders>
            <formatter ref="soap" typeFilterLevel="Full" />
          </serverProviders>
        </channel>
      </channels>
    </application>
  </system.runtime.remoting>
</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
Program Manager System Group
Iran (Islamic Republic of) Iran (Islamic Republic of)
Hossein Ghahvei Araghi
Birth date: 1978
Birth place: Iran
Academic Credentials : BS(Tehran University)
Microsoft Credentials : MCP, MCAD, MCTS 2.0, MCTS 3.5, MCPD 2.0, MCPD 3.5

Comments and Discussions