13th june

627 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
627
On SlideShare
0
From Embeds
0
Number of Embeds
183
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

13th june

  1. 1. WORKSHOP on DESKTOP SOFTWARE DEVELOPMENT<br />10th June 2010<br />
  2. 2. 2Softwares<br />1st –<br />DECIDE YOURSELF<br />2nd –<br />CHAT APPLICATION<br />
  3. 3. CHAT APPLICATION<br />SERVER - Backend<br />MIDDLEWARE - Connectivity<br />CHAT CLIENT – User Interface<br />
  4. 4. .NET Remoting<br />Microsoft® .NET remoting provides a framework that allows objects to interact with one another across application domains.<br />The framework provides a number of services, including activation and lifetime support, as well as communication channels responsible for transporting messages to and from remote applications. <br />
  5. 5. MarshalByRef Object<br />Any object can be changed into a remote object by deriving it from MarshalByRefObject. <br />When a client activates a remote object, it receives a proxy to the remote object.<br />
  6. 6. Channels<br />Channels are used to transport messages to and from remote objects. <br />When a client calls a method on a remote object, the parameters, as well as other details related to the call, are transported through the channel to the remote object. Any results from the call are returned back to the client in the same way. <br />A client can select any of the channels registered on the "server" to communicate with the remote object, thereby allowing developers the freedom to select the channels that best suit their needs.<br />
  7. 7. HTTP Channel<br />The HTTP channel transports messages to and from remote objects using the SOAP protocol. All messages are passed through the SOAP formatter, where the message is changed into XML and serialized, and the required SOAP headers are added to the stream. It is also possible to configure the HTTP Channel to use the binary formatter. The resulting data stream is then transported to the target URI using the HTTP protocol.<br />TCP Channel<br />The TCP channel uses a binary formatter to serialize all messages to a binary stream and transport the stream to the target URI using the TCP protocol. It is also possible to configure the TCP channel to the SOAP formatter.<br />
  8. 8. SERVER CODE<br />
  9. 9. MiddleWare<br />
  10. 10. CLIENT CODE<br />
  11. 11. Interface<br />

×