'NET Remoting - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

'NET Remoting

Description:

TcpChannel channel = new TcpChannel (portNumber); What are the advantages and disadvantages? ... Object Lifetime. Marshal by Reference or Value. How would you ... – PowerPoint PPT presentation

Number of Views:96
Avg rating:3.0/5.0
Slides: 7
Provided by: Magy8
Category:

less

Transcript and Presenter's Notes

Title: 'NET Remoting


1
.NET Remoting
  • Chapters 3 and 4 (Barnaby)

2
.NET Remoting
3
.NET Remoting
4
Channels
  • HTTP Channel
  • By default uses SOAP formatter
  • Using System.Runtime.Remoting.Channels
  • HttpChannel channel new HttpChannel
    (portNumber)
  • ChannelServices.RegisterChannel (channel)
  • TCP Channel
  • By default uses binary formatter
  • Using System.Runtime.Remoting.Channels
  • TcpChannel channel new TcpChannel (portNumber)
  • What are the advantages and disadvantages?

5
An Example
  • Lets see a working example
  • Directing Character to walk, but make sure that
    all clients see the character walking
  • How would you use Remote Objects?

6
Using this in your project
  • Issues using Remote Objects in your projects
  • Object Activation
  • Object Lifetime
  • Marshal by Reference or Value
  • How would you change your design?
Write a Comment
User Comments (0)
About PowerShow.com