.NET Remoting is a legacy technology of the .NET Framework for distributed applications. For development of new distributed applications it is recommened to use Windows Communication Foundation (WCF)
Questions tagged [.net-remoting]
274 questions
0
votes
1 answer
.NET Remoting works from a web app, but not from within a WCF host
This one has had me stumped for a few hours now, and I have absolutely no ideas. I have the following remoting code:
private static IRolesAndResourcesManager InternalConnect(string host, string operatorName)
{
string url =…

Mike Christensen
- 88,082
- 50
- 208
- 326
0
votes
1 answer
.Net Remoting - How to recover from server crash
I have looked all over the place and have never seen an example of how to do this, even tho it's alluded to in blogs. But examples are never given.
I have a .Net remoting client that is connected to a server which is published as a well known type…

toddmo
- 20,682
- 14
- 97
- 107
0
votes
2 answers
parameter less constructor error
I'm trying to make my client subscribe to events that happen on my server.
I have an interface that looks like this:
public delegate void RemoteEventHandler(object sender, ClientEventArgs args);
[Serializable]
public class ClientEventArgs :…
user3143075
0
votes
1 answer
How to call callback in remoting in c#
I have a C# wrapper over C library.
In C lib I have function which takes callback as input.
In C# I have exposed callback like delegate.
Everything works fine in normal mode but when I try to call same function in remoting mode it gives exception…

user1305218
- 21
- 1
0
votes
1 answer
Remoting into Server to get Orcale.DataAccess.dll
I am remoting into a server which has the Orcale.DataAccess.dll in the GAC. However when I call a function in the .dll I get the following exception:
'Could not load file or assembly 'Orcale.DataAccess, Version=2.112.2.0, Culture=netural,…

user1826413
- 133
- 1
- 12
0
votes
1 answer
IPC channel authorized group
I have a .NET Remoting server using IPC channel with multiple clients. I need to set up server end so that only Administrators have access to the pipe. I know there is "authorizedGroup" property for server channel.
When I do not set it I can…

Tomasz Grobelny
- 2,666
- 3
- 33
- 43
0
votes
2 answers
interface for an enum
I'm trying to port an existing C# project to a new distributed one, using interfaces connecting client and server components (its a Sokoban game for a college exercise).
And here is my issue:
In one component, say: Level.cs, i…

JAguirre
- 45
- 8
0
votes
1 answer
Error while generating metadata
class myremoteobject:MarshalByRefObject
{
public myremoteobject()
{
Console.WriteLine("hi there");
}
}
class Program
{
static void Main(string[] args)
{
HttpChannel chn = new HttpChannel(1234);
…

Saveen
- 702
- 2
- 14
- 34
0
votes
1 answer
Windows service using WCF or .Net Remoting service
I want to create a Windows Service (CS) which shall keep some data objects in memory for 12 hours or more. This windows service (CS) shall call a WCF service (DS) or Database to populate the reference data.
From the Web Site (WS), I need to access…

JayKay
- 1
- 1
0
votes
1 answer
How to Proxy, Remoting, HttpTunnel, through IIS
I'm not sure of the best solution to this problem. The current network is setup as:
Web server => Cms server => DB server
This is an existing setup for security reasons and cannot change. The Web server is connected to the internet, and can connect…

John
- 754
- 1
- 10
- 26
0
votes
0 answers
How to share Model objects between two MVVM WPF applications
What I'm trying to do is to get two WPF UIs running on two separate computers to share state. I'm thinking to have a service running on one of the two computers hold the MVVM model objects and the two UIs can then be clients of this service,…

Jana Mandic
- 115
- 6
0
votes
1 answer
Best way to delegate work to child process?
I need to do a lot of work in UI thread. This work consumes a lot of CPU and memory resources. In current realization I use Dispatcher.BeginInvoke() method, but it makes my application frozen.
What if I will delegate this job to child process…

Dmitriy
- 654
- 10
- 24
0
votes
2 answers
Dependecy Injection When Using DotNet Remoting
We are using DotNet Remoting for our application server and also using StructureMap. How do go about setting up proper dependency injection inside the remoting objects so that my code is no longer littered with dependency lookup code like…

Johann Strydom
- 1,482
- 14
- 18
0
votes
1 answer
.net remoting - Problems with List
I am developing a client-server application using .Net Remoting. From my server I want to return a List in response to a certain method call, however I get an exception saying that basically SoapFormatter cannot deal with generics. I need a…

kjv
- 11,047
- 34
- 101
- 140
0
votes
1 answer
Ajax Call + ASP.NET + .NET Remoting
So, I have a strange situation occurring in my web system.
I have a implementation of a Windows Service, that starts a .Net Remoting Server and stay waiting for calls of various clients.
At other side, I have a ASP.Net Web-forms Application, that…

Eduardo
- 1
- 2