List of all remotable framework classes

dotnet framework

    Sponsored Links

    Next

  • 1. DataSet serialization is losing data
    My projetc has a simple DataDataSet (ds) that has a parentDataTable and a childDataTable table bound to 2 DataGridViews and its lossing data in serialization. The problem happens when: 1)A parent row and consequently its child row (cascade) are deleted from ds. 2)A new parent row and child row with the same values as deleted rows are created again. Notice that the problem only occurs if the new data are the same as deleted rows. Afterwards clicking on a button it is executed: 3) dsChanges=ds.GetChanges Stopping with debug you can see that there are 2 child rows in dsChanges.childDataTable, one with Deleted and other with Added RowState. 4) dsChanges.WriteXml("File.Xml", XmlWriteMode.DiffGram) dsChanges.Clear() dsChanges.ReadXml("Teste", XmlReadMode.DiffGram) Stopping with debug you will see that now there is only one child row with Deleted RowState. Where is the row with Added RowSate? Could someone explain me if I am doing a wrong understanding, or there is a actual problem with serialization? This is a problem to my system because in fact my program is not executing WriteXmL and ReadXml, actually it is sending the dsChanges to a another program though Remoting where it is executed serialization and the loss of data.
  • 2. Still don't understand remoting.
    I've posted a couple of messages asking how remoting works in that I have a client that I want to send a message to a server saying 'Go ahead and access the file.' Would a named pipe work just as well? All I need to do is send a message saying - Go for it! I haven't been able to get a clear message on how I would make this work with remoting so any help would be greatly appreciated. TIA - Jeff.
  • 3. It is so slowly when first time I connect the Remoting service,why?
    This is a multi-part message in MIME format. Hi Remoting Service Hosted in IIS 6.0,I found it is so slowly when i connect the service first time,but quickly subsequently, Why? Any help would be greatly appreciated Thanks Robbin <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <META content="MSHTML 6.00.3790.2577" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY> <DIV><FONT size=2>Hi</FONT></DIV> <DIV><FONT size=2>    Remoting Service Hosted in IIS 6.0,I found it is so slowly when i connect the service first time,but quickly subsequently,<FONT color=#0000ff> <STRONG>Why?</STRONG></FONT></FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>    Any help would be greatly appreciated</FONT></DIV> <DIV><FONT size=2>    Thanks</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>Robbin</FONT></DIV></BODY></HTML>

List of all remotable framework classes

Postby Michiel » Fri, 11 Jun 2004 16:45:21 GMT

Hello,

Is there a site somewhere which lists _all_ remotable framework classes ?

TIA,

Michiel.



Re: List of all remotable framework classes

Postby Sunny » Sat, 12 Jun 2004 01:57:37 GMT

Hi Michiel,
yes, the site is msdn.microsoft.com

Or your MSDN docs.

If you go to MarshalByReference overview in MSDN docs, there is a link 
"Derived classes"

Sunny

In article < XXXX@XXXXX.COM >, 
 XXXX@XXXXX.COM  says...

Re: List of all remotable framework classes

Postby Michiel » Sat, 12 Jun 2004 16:22:53 GMT

You mean this
 http://www.**--****.com/ 
list right ? Yes, I found that already but it seems incomplete cuz e.g. I
can perfectly remote System::Byte ([]) and ArrayList as well.

Any other suggestions ?






?



Re: List of all remotable framework classes

Postby Sunny » Sat, 12 Jun 2004 23:54:54 GMT

Hi,

by remotable, I mean exactly classes, which inherit from MBR. Only 
objects from those classes can be instaniated on the server and expose 
their methods to be called from the clients without passing the whole 
object to the client.

In the case of arrays and ArrayList, their are Serializable - I.e. they 
can be serialized and they are passed by value to the client, thus 
meaning that all the data in the object is passed, and at the client 
side there is a local copy of the object. And any changes on that object 
does not affect the server instance.

So, you can look in the docs under ISerializable interface, there is a 
list of classes which implement it.
I haven't found so far a list of classes which are marked with 
[Serializable] attribute, but when you open the class overview, you can 
see if it has it.
If I find something more, I'll post it here.

Sunny


In article < XXXX@XXXXX.COM >, 
 XXXX@XXXXX.COM  says...




Similar Threads:

1.List of all remotable framework classes

Hello,

Is there a site somewhere which lists _all_ remotable framework classes ?

TIA,

Michiel.


2.Getting list of available classes in framework

It occurred to me recently that I would like to programmatically get a list 
of all the classes available to me for a given framework (i.e.: 1.0, 1.1, 
2.0). Any ideas on how to approach that problem?


Thanx,

Ralf 


3.Capture list item events in list class

I feel I'm maybe barking up the wrong tree here, but can I write a collection 
class (inheriting from collections.generic.list or similar) that can capture 
events thrown by the list items? E.g:

Class Foo
    Public Event MyEvent(sender as object, e as eventargs)
End Class

Class FooList
  Inherits List(Of Foo)

    Public Sub Handler(sender as object, e as event args) Handles 
ListItems.MyEvent
    End Sub

End Class

Any ideas?

4.ArrayList Class Vs. List Generic Class

Hello,

I need an array of objects.  I am considering using either ArrayList Class 
or List Generic Class.

Any guidelins regarding when to use one or the other?

Thanks
Eitan

5.how to use List Class in Base class?

Hi, I have a class, which inherits a class that inherits a List class.
How do I pass this base List Class to another function by reference? At
the moment I just create a new List for doing this but I don't want to
do this unless I have to.

cheers


here's some code:
classA : List<string>
{

}

classB: classA
{
  function B()
  {
     //how do I pass the List collection to somefunction here???
                                        VVVVV
      somefunction(????, string svar)
  }

}

Class SomeClass
{
  function somefunction(ref List<string> mylist, string svar)
  {
     mylist.add(svar);
  }
}

6. ArrayList Class Vs. List Generic Class

7. VC++ .Net class inherited from .Net Framework class

8. Are remotable objects multithreaded?



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 76 guest