Hi everyone,
I have a c++/cli dll wrapping around some native code, and I'm trying to make an IPC server around this dll using the WellKnownServiceType. I wrote the entire thing in this fashion:
Native code->C++/CLI dll->C# server program <---IPC link---> C# client
I'm running into security problems when I do it this way: The client ...
I have a network were would like like to deliver data using the Flash Remoting data format over http. We have Squid working as a reverse proxy/accelerator, are there any known problems running this traffic through Squid. We would configure that particular URL to not be cached.
Mike.
...
I am using http remoting in C# to talk between two applications.
Earlier when I was running both applications on a single machine/two machines, it was very slow.
We have a proxy server to connect to the internet. We set "Bypass proxy server for local addresses" in IE and now when I run both applications on one machine the communication ...
Hello,
During development of client-server system using .NET Remoting (.NET 2.0) for communications I found extremely weird behavior if my remoting objects return custom datasets. For some reason it takes from 0.5 to 4 seconds for remoting infrastructure to process an empty dataset instance on the client side, if I'm using TCP channel w...
Hi , im just starting to learn flex and im trying to understand how Flex does remoting? From what i have read it looks like Flex provides a LifeCycle data services war which sits on your server and intercepts your remote calls , is this close?
Im concerned that if i use this option that 1. Ill have to add an extra war to my server - the...
I'm setting up a new PC and I installed my project to work with. It is a .NET Remoting 2.0 application that uses the ASP.NET development server to host the server side while developing. I'm getting the following error when I make requests to the server:
"The remote server returned an error: (403) Forbidden. "
I've checked the credentia...
Hi all,
I am after so advice really. I have been thinking about a client server project for a while and am going to be using .NET. Originally is was just going to use 2.0 but recently got VS2008 and thought I should really explore 3.5 as well.
The application will have one server and many clients connected. Both the client and the s...
All,
I've starting experimenting with amfphp. I've gone through a few great tutorials (particularly those by Lee Brimlow at gotoandlearn.com).
As long as you're using AS3, it works great, since AS3 includes the built-in NetConnection class.
However, I'm looking to use amfphp on a bunch of existing AS2 projects.
The problem is that AS...
If I create a TcpChannel using port zero i.e. allowing .Net Remoting to allocate an available port, is there anyway to then determine which port number has been allocated?
I know that I can specify the port number when creating the channel, however I don't want to do this as I want to run multiple instances of the listening applicatio...
There's something I'm just not getting about .NET remoting. Well, two things actually:
Why is the emphasis back on classes that inherit from MarshalByRef instead of interfaces ala the original COM style (which I liked)?
Why is it that .NET remoting always forces you to effectively create some sort of object pool instead of allowing you...
Imagine a Java client/server ERP application serving up to 100 concurrent users, both web and swing clients. For persistence we can use Persistence API and Hibernate.
But when it comes to client/server communication, do we really have an alternative to using an AS with EJBs to keep down the programming costs of remote communication?
It...
I'm using XFire as the Web Services provider for Spring Remoting. I'm using an AbstractHandler to authenticate the SOAP request. The idea is to identify the request by the originating server's domain and an API key (a-la Google Maps). The only problem is that I can't seem to find a way to fetch the ServletRequest object from within the i...
I have inherited some majorly spaghetti code (combination C#/VB) that I'm trying to understand here.
This appears to be a really weird situation where there are two successive calls to fire events to a remote object, which is being done by calling the DynamicInvoke method of a delegate, of the form:
delegate1.DynamicInvoke(args1);
// s...
I am implementing a Microsoft Speech Server application built on windows workflow foundation. The app manages other sub apps - users call in and the manager loads the assembly containing the correct application and invokes the workflow.
The problem I'm facing is that speech serve or iis like to lock the assembly into memory, preventing ...
There can be several instances of my service on the same computer, each of them on a different port.
How can I retrieve the port number from which the current request came through to differentiate them?
To clarify, if client is calling the following method:
class OrdersService : MarshalByRefObject
{
public void EnqueueOrder(Order ...
Hello!
I'm pretty inexperienced in Remoting. I'm trying to use it and keep receiving WinSock error 10048 when opening TcpChannel.
I use the simplest code from MSDN:
TcpChannel serverChannel = new TcpChannel(9090);
ChannelServices.RegisterChannel(serverChannel);
RemotingConfiguration.RegisterWellKnownServiceType(
ty...
Hello!
I'm writing a windows service application, which will be accessed through .NET Remoting.
The problem is I can't figure out how to access service objects from remotable class.
For example, I've a handler class:
class Service_console_handler
{
public int something_more = 20;
//some code...
TcpChannel serv...
Does anyone have any links to a good, concise, Tutorial or guide to .Net remoting? Would be grateful!
Thanks (sorry for the short post!)
Edit: I am now aware of: http://www.codeproject.com/KB/XML/remotingsimpleeng.aspx
...
I am trying to discern the difference between SingleCall and Singleton activation methods when implementing a server to host an object using .NET Remoting. It would appear that SingleCall has the overhead of having to construct and clean up an object for each client-side call, whereas Singleton has the limitation of only being able to s...
Is Protocol Buffer for .NET gonna be lightweight/faster than Remoting(the SerializationFormat.Binary)? Will there be a first class support for it in language/framework terms? i.e. is it handled transparently like with Remoting/WebServices?
...