[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

RE: Assembly not found - Serilization - Remoting

Dan Kelley

6/11/2004 3:07:00 PM

To deserialise your object, the remoting component (or any other) needs to know how this object should be deserialised. If I told you I had an object called Thing, how would deserialise it?

For what it is worth, you would be better moving your object into its own class library, rather than having it in the same dll as your page, to decouple the two.

Ingo Rammer has a good explanation on his site about how you can further enhance things using interfaces, to further reduce the dependence between your components.

Cheers
Danny

"Henrik de Jong" wrote:

> Hi All,
>
> I've got an remote-object as a singleton. This singleton has some procs wich
> accepts TObjects (Delphi) or System.Object 's This singleton is compiled in
> lets say a dll with the name my_remote_singleton.dll
>
> My ASP.NET application has a class TMyObject:
>
> [Serializable]
> TMyObject = class(TObject)
> public
> Name: string;
> end;
>
> This asp.net application is compiled in a dll, lets say
> WebApplication26.dll. (this contains both the webpage and tmyobject)
> On my webform I dropped a button, the code beneath that button connects to
> the remote object based on a interface in the shared dll remote_intf.dll.
>
> Now the problem:
>
> Seralization is not done because of the error that the dll
> WebApplication26.dll cannot be found. The occurs at the point at wich the
> proc is invoked wich should accept this object.
> When I copy the webapplication26.dll to the bin-directory of my remote
> singleton, nothing is wrong. Why need my remote-singleton my client
> dll(webapplication26.dll) in wich the object TMyObject is defined?
>
> Kind regards,
> Henrik de Jong
>
>
>
2 Answers

MB

6/8/2010 11:49:00 PM

0

On Jun 8, 4:45 pm, AAPIN <nt4...@yahoo.com> wrote:
> Backalley creations is working on a set...
>
> http://www.backalleycreations.com/bac%20main%20frame%...

Yikes.
Like the pinmame ones much better. The stark red and black does not
fit on the pf.

erickit

6/9/2010 2:01:00 PM

0

On Jun 8, 4:49 pm, MB <m...@bergnz.com> wrote:
> On Jun 8, 4:45 pm, AAPIN <nt4...@yahoo.com> wrote:
>
> > Backalley creations is working on a set...
>
> >http://www.backalleycreations.com/bac%20main%20frame%...
>
> Yikes.
> Like the pinmame ones much better. The stark red and black does not
> fit on the pf.

I put the Pinbits web protectors on and put the speaker spiders on the
webs.
Also I changed the posts out to red stars and used red bulbs.
Since the graphics on the PF go through with no white mask under the
slings it makes the bottom of the PF look wider.

The GG totem of heads was replaced with a green fogged plastic with
silver mask, green bulbs.
The heads above it were covered with a piece of red mylar.
The heads on the Sandman were covered with sand dunes made from a
broken WH2O boulder.
The small v shaped one by the ramp was replaced with a clear, a red
bulb and a Spidey figure on top.
The head behind and to the right of Sandman got a small American flag
on it.
The stock flipper bats were replaced with a set of Williams black
lightning bolts.

If an alternate set is made I am in for one but for now all those ugly
disembodied heads are gone from my game.
I agree on the red and black spider replacement slings, they don't
look right on the game but the pinmame graphics look spot on.

Eric