microsoft.public.dotnet.framework.remoting Archive - November 2001
Post a message to this list
Messages
Page: 12
COM+ confusion (2 replies)
microsoft.public.dotnet.framework.remoting
Hello, I am having a lot of trouble understanding the COM example from the MSDN article "COM Integration: How .NET Enterprise Services Can Help You Build Distributed Applications". I built a very simple COM application using the example The component has the transaction required attribute. I registered it on my localhost using regsvcs, installed it in the gac using gacutil. I can see it under Comp...
Webservice with state? (4 replies)
microsoft.public.dotnet.framework.remoting
How can webservice components have states? Deriving them from the WebService class and use WebService.Session? or configure the .NET Remoting to do so? How do I configure? Does .NET remoting use IIS? Is it bad to derive from WebService class because that will limit the object to webservice, while it's better to have it remotable in different scenarios? Thanks.
Remoting object instantiation (3 replies)
microsoft.public.dotnet.framework.remoting
I am developing a client server application. One remoting object is hosted on the server side, and client program calls the methods of that remoting object. The problem is when the client program makes several (more than 3) calls on that remoting object at the same time. Only 2 instances of the remoting object is instantiated, the third is blocked and be instantiated when one of the first 2 finish...
How are you debugging your server objects? (2 replies)
microsoft.public.dotnet.framework.remoting
I can easily debug my Windows client applications using VS.NET. However I am unable to debug my object that I register for remoting on the server. I try to call "Messagebox.show( ... defaultdesktop)" but this seems to want my object to be a forms object. I dont have to be able to step through the code, but just having some type of ability to display a value whenever I need to will work. What are a...
RealProxy and DCOM (3 replies)
microsoft.public.dotnet.framework.remoting
Hi all, Main Q: Is it possible to make a custom RealProxy for a Serviced Component? I want to do my own interception at the callers/client side. I've studied all the custom proxies samples of the .Net Frwk SDK. The closest (to my needs) of them are ProxyWiredToHttpChannel and ProxyWithInterception. The problem with doing something similar to ProxyWiredToHttpChannel is that ChannelServices.Register...
Remoting and Garbage collection (2 replies)
microsoft.public.dotnet.framework.remoting
I have a C# class that is being exposed via remoting and when one of its method is called it creates an object, get its ObjRef and return it to the calling client: return RemotingServices.Marshal(new object); Here is the problem: The client unmarshal and use the object, but after a certain period of time, the object disappears... or it seems that on the server side the object being garbage collect...
remoting of instantiated objects (3 replies)
microsoft.public.dotnet.framework.remoting
I'm currently attempting to write a distributed application using remoting. I would like to instantiate an object and register it with RegisterWellKnownServiceType (or whatever appropriate call) so that any client connecting to my system will get back a reference to this object. The problem is that the system seems to be limiting me to registering classes only (so that any reference on the client'...
Accessing objects on a different server from webserverfor a Web Application (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, I have a web application which uses more than one servers a web server and a separate application server The webserver handles the presentation and uses the application server objects My question is 1) How do I get the codebehind to invoke the objects on the application server? How does the codebehind "know" about the application server Is there something that needs to be configured in web.con...
Hosting process grabage collection (2 replies)
microsoft.public.dotnet.framework.remoting
When i expose an object using singlecall server activation, I have a problem with the memory allocation in the hosting process. I seems that the objects created on in the server process never get freed thus making the memory allocation of the hosting process grow continuesly as the client calls arrive. I release the object reference on the client side by setting them to nothing. Futhermore, forcin...
How to write a custom channel (2 replies)
microsoft.public.dotnet.framework.remoting
We would like to build 2 remoting channels, one that works over Named Pipes and one over MSMQ. The question is how? Is it possible? Where is this documented? Thanks, Milo.Hoffman@SQLDev.Net
RC1 Assembly Reference Bug (2 replies)
microsoft.public.dotnet.framework.remoting
Why MS reports nothing about the problem ?!?!? Is anybody out there !?!? Bye Matteo On 5/11/2001 I've the same problem ! But it persists even if I change the channel registration with a channel reference.... Bye Matteo On Thu, 1 Nov 2001 17:56:39 0300, "Diego Gonzalez" diegog@lagash.com wrote: Does anybody experience this problem using remoting in RC1? The same code works with Beta 2. The problem ...
Configuration file (modification while the exe is running and what happens) (2 replies)
microsoft.public.dotnet.framework.remoting
What is the result of modification to .config file when the associated exe is running from remoting perspective? I know that we have to manually call RemotingConfiguration.Configure(configFile). But what happens once we call this method and our app is happily running and we decide to change the configuration file. Does the remoting framework (when configuration file is used), monitor the configura...
Pass objects via Sockets or TCPChannel (3 replies)
microsoft.public.dotnet.framework.remoting
I am working on my first client/server type project in C# and the examples I've seen use Sockets and TCPChannels to send/recieve text based messages or commands abck and forth. That makes sense and is fine however I am interested in sending custom objects back and forth between the client and server. Would I still use Sockets and serialize my object and send it the same way or is there a facility ...
Remoting with server/client arrangement (2 replies)
microsoft.public.dotnet.framework.remoting
I have been trying to use Remoting to accomplish a task, and I simply cannot figure out where I am going wrong. My goal is to have an NT Service running called, say MyService. I then want to have a client, say MyClient, in another process communicate with the running service. So far, all I see remoting doing is calling the remote class/method and not a specific object method that is running. In Ja...
What do u mean by well know objects ? (2 replies)
microsoft.public.dotnet.framework.remoting
Can anyone tell me what are well known objects ?? Thanks Badal
formatter and provider (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, guys, I have a simple question? In the remoting configuration file, we can provide "formatter" and "provider" elements within the ClientProviders and/or ServerProviders of Channel configuration. Could anybody please tell me the difference between "provider" and "formatter"? Thanks. Willy
Events in Remoting (4 replies)
microsoft.public.dotnet.framework.remoting
Hello, I'm having trouble attaching to an event on a remote object. the remote class is defined as follows public class TestRemote : MarshalByRefObject { public event EventHandler MyEvent; ... ... } I have another class (Server) that is registered as a singleton object on the server. this Server returns an instance of TestRemote from a function called GetTestRemote(). I have not registered TestRem...
Trying to create a proxy to an unbound type. (2 replies)
microsoft.public.dotnet.framework.remoting
I'm getting the above error when executing the following line in my Remote Hosting Console application: obj CType(Activator.GetObject( Type.GetType("ClassLib.Class, ClassLib"), "tcp://" & sHostServer & ":8085/Remote"), Class) What did I miss? I've got this to work on another test application, but I'm not sure if I did another step I forgot this time. Don't you just hate when you do that? Thanks, R...
Can't get a serviced component to work with .NET remoting. (2 replies)
microsoft.public.dotnet.framework.remoting
I am able to get non serviced components to remote just fine, but I cannot get a serviced component to remote. This has been kicking my butt all day, and I'm near my wit's end. I have tried both registering my interface & server implementation assemblies in the GAC and/or copying them to the Windows/System32 directory. I even tried making a dedicated hosting application instead of using IIS hostin...
Is SOAP acn be hosted at exe? (8 replies)
microsoft.public.dotnet.framework.remoting
Hello! I'm beginner in .NET remoting. Can anybody answer, how I can publish my object with SOAP from simple exe? I need publish my object, that provide voice speech methods, like Say(string), SayTime(DateTime) etc. So it will be published from some low end computer without ASP.NET. And I don't want to store configuration at *.config, any parameters must be assigned in pure code. Where I can find e...
.Net components and Remoting (3 replies)
microsoft.public.dotnet.framework.remoting
Hello: I am new in .Net area. I used to do some middle tier components in MTS. I am going to write some middle components in .Net. I am confused about these three category: .Net component, EnterpriseComponent and Remoting. 1. Somebody told me that I have to inherited from System.EnterpriseServices.ServicedComponent in order to have COM service manager to manage it. 2. Somebody told me that I just ...
Remoting Http: Binary vs Soap (7 replies)
microsoft.public.dotnet.framework.remoting
i can send messages via http using either a binary or soap format. if i choose to go the Binary route will i be still able to use port 80 to get through firewalls?? and of course gain the extra speed. my initial thinking is yes, although the examples i see are chosing other channels. the 80 channel seems to be used purely for web services(Remoting). could someone clarify this for me.. :~)) thanks ...
A funny problem in .Net Release Candidate (2 replies)
microsoft.public.dotnet.framework.remoting
With VS.Net beta 2, I developed an application in which the remoting technology is used. The remoting configuration file for beta2 is: .... channels channel port "8080" type "System.Runtime.Remoting.Channels.Http.HttpChannel,Sys tem.Runtime.Remoting" / /channels .... It works fine. But when I installed the .Net release Candidate, and ported the source code. The compilation passes very well, but I ...
.net equivalent for COM ActiveX.exe (7 replies)
microsoft.public.dotnet.framework.remoting
Hi, I'm very confused now, trying to find the way to go. Using VB6 I created an ActiveX Exe component. This is started as a stand alone process on my house controller pc and controls lights and roll shutters. It additionally provides a public class for remote control.Client programs can use COM/DCOM to create an instance of that class and e.g. call functions to turn on a light. Now I would like to...
Remoting in Windows Service - possible bug? (7 replies)
microsoft.public.dotnet.framework.remoting
Hi .NET folks, I have a weird problem with Remoting in Windows Service. While it is ok to create a Windows Service and host a remote object, it seems that the opposite is not possible use the remote object from a Windows Service. I have created simple Windows Service, which calls a method from a remote object in OnStart(). The call does not succeed (timed out). I have tried to log as a different u...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com