Click here to Skip to main content
15,903,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friend,

I am working with a .Net 3.5 remoting application. For example, it has following functions-

1. Add, Edit, Delete branch
2. Add, Edit, Delete zone
3. Add, Edit, Delete employee

As a remote object, i have the following class:

My first question is how i should create RemotableType.dll.
individual .dll for individual function as below?
imports System
Public Class clsAddBranch
   Inherits MarshalByRefObject
   Public Function AddBranch() As boolean
      .....
      ......
   End Function
End Class

or, all function in a single .dll as below?
imports System
Public Class clsAllFunctions
   Inherits MarshalByRefObject
   Public Function AddBranch() As boolean
      .....
      ......
   End Function

  Public Function AddZone() As boolean
      .....
      ......
   End Function

End Class

if i opt for the first method (individual .dll for individual function), then how would be my host application? individual host app for individual .dll?

i am just learning remoting. Any help would be appreciated.
Posted
Updated 20-Jul-11 2:59am
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900