Re: remoting options

Tech-Archive recommends: Speed Up your PC by fixing your registry



param@xxxxxxxxxxxxxxxx wrote:
Peter, I understand. I actually tried some remoting code as follows:-

1. Compiled SAO object into 1 dll and configured it on IIS on server with the help of config files.
2. Copied same dll into bin directory of client asp.net web app and configured remoting through web.config file on client by setting protocols channels etc.


It worked. Now if I use soapsuds I am presuming I will compile and copy the cs file generated into my client code and go from there. I remember I used to do that with wsdl.

One of the reasons I like hosting the remote object in IIS is to make use of load balancing at some point to load balance my application servers.

thanks


I don't understand what you're doing here. If you're saying that you have compiled your remote object dll into your client (i.e. your asp.net project has a reference to the server dll), then that is a mistake. As I've said, it is both insecure and will not work in some situations.


If you are saying you just copied the dll without referencing it then I have absolutely no idea what's going on.

Do you have the following lines (or their VB equivalent) somewhere in your code (hopefully in Application_start()):

string path = Server.MapPath("config_file_name");
RemotingConfiguration.Configure(path);

If you don't have at least the second line above then I don't see how you are configuring .NET remoting from a config file. I might even go so far as to suspect that you are not making a remote call at all - just a local one to the dll referenced in you client (assuming it is).

I'm sure you're doing just fine, but I'm interested to know how it's working.

Cheers

Peter
.



Relevant Pages

  • Re: Moving Chat sample from Http to Ipc channel...
    ... Since everything is setup in config files, I have only changed the server and client app.config files. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: screen scrape / remote manipulation
    ... Functionally a dll is no different from an .exe in terms of spying ... The other option is to install software capable of monitoring TCP/IP port ... connection is established between the dll (on the client) and the server, ...
    (microsoft.public.windowsxp.general)
  • Re: VB6 Winsock action on Server
    ... separate dll instance for each client request process it, ... of your 'dll' (assuming it is an ActiveX-Dll? ...
    (microsoft.public.vb.general.discussion)
  • Re: VB6 Winsock action on Server
    ... file the dll must access. ... No one client request is related to any other. ... server could not possibly utilize the capabilities of the additional ...
    (microsoft.public.vb.general.discussion)
  • RE: SoapHttpClientProtocol request canceled
    ... Since this is only happening on the VB client, is there any chance that the ... The VB.NET exe and the VB6 exe both use VB.NET dll to sent request/response ... > inputHeaderer, String messageControlPayload, string inputMessage) ... > Imports System.ComponentModel ...
    (microsoft.public.dotnet.framework.webservices)