all groups > dotnet remoting > october 2005
Filter by week: 1 2 3 4 5
Remoting and scalability
Posted by Mike Jansen at 10/31/2005 2:26:59 PM
I'm investigating various methods of doing a scalable middle tier in .NET.
Our current requirements are to handle 300 - 1000 concurrent clients. We
are currently re-engineering some of our 2 tiered application architecture
to be 3-tiered. What I am looking for is either input or pointers to ... more >>
Handling "socket" errors
Posted by Curtis Justus at 10/31/2005 1:35:55 PM
Hi everybody,
We have an application where we are using a MarshalByRef proxy object to
pass objects to and from a central windows service. This application is
configured to poll the service for bits and pieces of information every five
minutes or so.
The problem comes when people leave ... more >>
Forging responses on intercepted call.
Posted by Frosty Madness at 10/31/2005 2:35:09 AM
I've implemented a custom RealProxy for an object I want to test. I'm
using a proxy because I want to log what calls are made to this object.
Using the example in MSDN on RealProxy, I can easily log what is passed
to the objects but here's the sticking point. I don't want to actuall
call the o... more >>
Security Exception
Posted by Patrick McGovern at 10/29/2005 8:46:27 AM
Hi, i'm connecting to a remoting service i wrote and i get the pasted
exception whenever i call a class with a non-core parameter type. all works
well if i use String for example but when i use a class i've defined
(inherit from MarshallByRef) i get this exception. any help would be
apprecia... more >>
WinForms client for a web app
Posted by leodippolito NO[at]SPAM gmail.com at 10/29/2005 5:14:53 AM
Sirs,
I have a web application running and I am planning to write a WinForms
client, so that customers can choose to access the application with a
browser or the WinForms client.
My ASP.NET application has some layers:
Presentation (aspx + codebehind)
Business Logic Layer
Metadata... more >>
App.config problem - An unhandled exception
Posted by Chrysan at 10/28/2005 6:48:03 PM
Does my 'App.config' at the following got any problem?
App.config content
----------------------
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.runtime.remoting>
<application name="SimpleServer">
<service>
<activated type="RemoteObject.RemoteO... more >>
Singleton object - both in "classical" interpretation and remoting
Posted by Eugene at 10/28/2005 7:16:07 AM
Hi.
I'm trying to make an type with the following behaviour:
- It should be registered as Singleton WellKnownObject, i.e.:
RemotingConfiguration.RegisterWellKnownServiceType(this.GetType(), "MyType",
WellKnownObjectMode.Singleton);
+
- In the same time it should behave as classical sing... more >>
IContributeEnvoySink, client sink chain and remoting singleton
Posted by Dave at 10/27/2005 5:46:19 PM
Hello,
An envoy sink is not being installed in the client's sink chain during proxy setup and I'd like to know why. (Framework 1.1)
An object (ContextBoundObject) has a ContextAttribute-derived attribute and would like to contribute an envoy into the client envoy
sink chain using IContribut... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HELP: Security exception
Posted by Hank at 10/26/2005 4:46:29 PM
Hi,
I have a windows client and service running, I got following exception in
the service when I try to fire an event back to client:
Exception Because of security restrictions, the type
System.Runtime.Remoting.ObjRef cannot be accessed.
Please advise how to fix this or turn off the securit... more >>
Remoting exception after time passes
Posted by bwhite NO[at]SPAM enterpriselogistics.com at 10/26/2005 2:48:52 PM
I have a problem where my client loses its connection to the server
application if the process on the server invoked by the client takes
several minutes or longer. The client retrieves a marshalbyref object
from the server and then the client uses that object to call methods on
the server. The ... more >>
NullReferenceException in Unknown Module, Remoting assembly proble
Posted by TT (Tom Tempelaere) at 10/26/2005 5:49:06 AM
Hi,
Once in a while my application throws an NullReferenceException at startup,
however it appears to be occurring in an unknown module. If I debug it and
ask to 'break', then there is no source code available (I am running in Debug
mode of course).
I've investigated a little further, an... more >>
Remoting, events and custom encryption channel sinks
Posted by Egmont Gabler at 10/25/2005 12:00:00 AM
I have written an API which defines a standardized interface for various
types of hardware devices that can be used by .NET applications. The
interface supports both local and remote device services in order to access
e.g. a network printer as easily as a local printer.
On command completion,... more >>
Serialization, Interfaces, and Remoting. SIR!
Posted by strugman via DotNetMonster.com at 10/24/2005 7:35:56 PM
Greetings. For the last week I've been trudging through the concepts of
object factories, interfaces, and serialization -- all in the context of
Remoting. Bear with me as I spew forth the issue in newbie-esque fashion.
The Scenario:
I have a DLL containing nothing but interfaces to an ObjectFa... more >>
Remoting and File Size
Posted by Andy at 10/24/2005 11:43:05 AM
Hello Group:
We have been directed to post our question in this forum instead of its
original location.
We have a web-app that uses remoting to access some components. XML from
the web page is sent to these components and a value is returned. We have
noticed that on one server: this w... more >>
Is ChannelServices.RegisterChannel() always required?
Posted by Sergio at 10/23/2005 11:27:09 PM
It must be very simple explanation,but i can't find it,please help!
I supposed that prior to publishing object for remoting i have to :
1.create chanel.
2.register chanel on server.
3.register WellKnownServiceType.
This works well.
What i did(just for fun):
1.register WellKnownServiceTy... more >>
exe server works, NT Service does not...
Posted by Sam Carleton at 10/21/2005 12:00:00 AM
I am been working on implementing a chat room example I found on
codeprojects. There are three peices, a server which contains the
chat server, the client that displays stuff, and a chat interface
that contains the interface that both the server and client can
use to send events back to the cli... more >>
Object Factory w/ Remoting?
Posted by strugman via DotNetMonster.com at 10/20/2005 12:00:00 AM
Hello folks. Please excuse the long-winded question, but I'm desperate to
get a resolution...
Here's my scenario: I have a business object that must be accessed via
remoting. It contains multiple classes (Loan.vb and Letter.vb), each with
properties and methods I'd like exposed to the front ... more >>
Remoting callback
Posted by gduru2001 NO[at]SPAM yahoo.de at 10/19/2005 8:51:08 AM
Hi,
I have some memory leaks in an application that use .net remoting and I
don't understand why. Please help me.
The problem :
I call a method from server : CallServer (IAsyncJobResult myCallback)
and
on the server side I call myCallback.OnJobDone().
Each time after I call the method I... more >>
An invalid argument was supplied
Posted by Peter Kevin Reeves at 10/18/2005 8:35:03 PM
Hello everyone,
I am working on a Windows Media Center project, where my MCE pages need to
use .NET remoting to talk to a Windows service running locally on the users
machine. Basically, the MCE/HTML pages have an ActiveX control that uses .NET
Remoting to make its requests.
This section... more >>
Remoting two objects in one windows service
Posted by Vinodh at 10/18/2005 3:27:18 PM
Hi
Could someone tell me how to do this please.
I have one .net windows service which should remote two objects,
listening on two different ports?.
Object A - 0.0.0.0:1000 - SAO
Object B - 0.0.0.0:2000 - SAo
could this be done through config files? or code?.
thank you
Vinu
... more >>
Remoting and Callbacks
Posted by Vinodh at 10/18/2005 3:00:28 PM
Hi
I need some help on finding a solution for my problem below
my application design is as follows
Client - > MiddleTier -> (Firewall/NAT)-> Server(SAO)
the middle tier connects to the server and registers for certain
events. when certain things occurs in server then the middle tier is
... more >>
Getting wrong version of remoting object from NT Service
Posted by Sam Carleton at 10/18/2005 12:00:00 AM
I have a NT Service that is to host a Remoting Object. The
Remoting Object has an event. I am having a problem with getting
the correct version of the remoting object which shows it's face
when I try to add a handler to the event.
Currently both the client and the service are on the develop... more >>
remote callbacks?
Posted by Senthil at 10/18/2005 12:00:00 AM
Hi,
The server should fire a event on completion of a task. The client
should receive a notification from server that the task is done. The server
and client use remoting. The task looks similar to firing event and
overriding event handlers. How could this be done in remoting? Help needed.
... more >>
Remoting and ORMappers / NHibernate
Posted by Toble Rone at 10/17/2005 10:46:47 PM
This is probabbly a quite simple question to answer.
Supose i have a BizLogic Layer running with any of the famous ORMapping
frameworks like NHibernate...
How exactly can use remoting on this scenario?. I mean, i want to make all
the BL Layer remote... how eactly can i achieve that when using ... more >>
Load Balancer and Remoting diconnect/reuse
Posted by ido_ben at 10/17/2005 10:52:52 AM
Hi All,
I've already post this question in one of the related forums, but got no
reponse, maybe you will help...
I'm running few similar .net applications which are servers. The connection
to these servers is done via load balancer (big-ip/f5). Every now and then
i'm unregistering a server ... more >>
How to programmatically retrieve remoting settings from app.config
Posted by PatrickSA at 10/17/2005 9:01:01 AM
Other than loading up the XML blob from app.config and manually traversing
thru the XML, does anyone know of a better way of retrieving Remoting
settings (e.g. port, scheme, etc) from an app.config file???
Kind rgds,
Patrick... more >>
Confusion with remoting
Posted by Benjamin at 10/17/2005 5:12:57 AM
Hello Everyone,
I wonder if anyone can please pass some suggestions/ advice on how to do
this. My scenario is that I have a client application that needs to
communicate with a corresponding instance on another client machine.
To illustrate this is what I want to do:
Client A -> Listner ->... more >>
Remoting - http Channel - keep alive
Posted by kalishov NO[at]SPAM gmail.com at 10/16/2005 7:43:43 AM
Our client server application is using remoting with http channel.
We've noticed that connections made between the server and the
clients are not closed.
Using a protocol analyzer we detected that the packet header contains
Connection: Keep-Alive.
At this configuration the system is not scalab... more >>
How can client X notify client Y via a server obj by using events?
Posted by Johan Buys at 10/16/2005 4:46:03 AM
Hi,
I 'm trying to create a chess program.
I have one windows form application project which represents the client
part. This client is using a class library which contains a class Deployment
(the Deployment class contains the position of the chess pieces). This class
inherits form the... more >>
Suitability of custom formatting for interoperability
Posted by drewnoakes at 10/14/2005 8:22:07 AM
Hi,
I'm developing an application server to which clients will connect over the
network. This server has a variety of entry points, and remoting seems well
suited for those clients written in .NET.
However there are two simple functions that will be accessed from unmanaged
C++, and poss... more >>
System.Appdomain.CreateDomain(...) returns __TransparentProxy ?!?
Posted by rein.petersen NO[at]SPAM gmail.com at 10/14/2005 6:37:03 AM
Hi All,
I wondered if anyone could make sense of this undocumented object
(System.Runtime.Remoting.Proxies.__TransparentProxy) being returned
from the static method call to System.Appdomain.CreateDomain(...).
Normally (in my single-project testing application),
System.Appdomain.CreateDomain... more >>
HELP! Authentication - Per call is too slow
Posted by Richard G at 10/14/2005 1:03:03 AM
I am using the very useful SSPI/Remoting authentication samples one and 2 for
some interprocess communications. The problem is that the authentication
mechanism is per call, has anyone seen a channelsinkprovider that does this
at the connect level?. Trying to avoid getting my hands dirty on th... more >>
Persistent connections?
Posted by William Stacey [MVP] at 10/13/2005 10:20:35 PM
I am trying to figure out what happens under the covers at the socket level
to give me a better feel.
Is this true:
1) When you new up a CAO, the client socket stays connected to the server
for the live of the CAO on the sever. So it does not need to reconnect for
each method call.
2) If S... more >>
System.Runtime.Serialization.SerializationException
Posted by Mihai Potcoava at 10/12/2005 12:00:00 AM
Hi,
I have the next problem.
I have a class that implements a interface that contains a public event.
I tried to publish that object and to obtain a instance with remoting.
The code that publish the server class is:
BinaryServerFormatterSinkProvider serverProv = new
BinaryServerFormatterSin... more >>
Server as form - how to call methods on the form etc.
Posted by Alasdair Thomson at 10/10/2005 10:47:23 PM
Hi all,
I am trying to write a music player (hosted in a winform) that can be
controlled using Remoting over TCP/IP from different applications (e.g.
asp.net, pocketpc etc.) The problem I have been unable to solve is how to
get my remote object (instantiated on server as singlecall) to cal... more >>
Moving to MSDN forums
Posted by Douglas Purdy [MSFT] at 10/10/2005 1:20:05 PM
We love the newsgroups, but we are starting to "move" folks over to the MSDN
forums.
Remoting has its own special space over there.
http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=41
The product team monitors the forum on a daily basis.
In the future, it would be wonderful if qu... more >>
Remoting between projects?
Posted by blue_nirvana at 10/10/2005 10:26:05 AM
I have a solution that has several projects in it. Do I have to use .Net
remoting in order to reference items located in one project from the other?
In short, do I have to use .Net remoting to talk between projects in the same
solution?
Thanks,... more >>
ServicedComponent And Remoting
Posted by Ram at 10/8/2005 10:03:25 AM
Hey,
Can I use a ServicedComponent derived class as the remotely activated
object?
If yes, if I'll define an interface for this class, will I be able to
give my clients only the assembly containing this interface (like I
would've done in a normal Remoting application) or do they need the
class... more >>
.Net Socket.Send Bug?
Posted by Matt at 10/8/2005 7:47:02 AM
I've got a C# client/service application using a Socket object to
communicate. I have a socket bug that I can't solve without
kludged-code. Does anyone know a more elegant solution? Is this a
known bug with the .NET Socket object?
Under high stress data sending, I sometimes receive what... more >>
ByVal marshalling in a TCP channel?
Posted by Rob Perkins at 10/7/2005 10:52:41 AM
I'm lost in the remoting morass...
I'm trying to use TCP channels (in the absence of IPC channels, not
present in 1.1 but what I really want) to host a singleton server.
Two of the methods on the singleton class look like this:
Public Sub MethodOne(ByVal QI As MyOtherClass)
Public Sub Lo... more >>
Method call conflicts in Remoting
Posted by bleslie at 10/7/2005 8:18:36 AM
I am trying to use remoting to provide access to a SQL Server DB for a
client console app. I have created a server console app which is
listening for client requests. The client creates a remote object of a
class that has only a sub procedure and a function. The method takes a
dataset as an a... more >>
.Remoting, CallContext, NLB
Posted by Hawix at 10/5/2005 11:14:46 PM
Our application server uses Remoting and CallContext class to assign context
data for communication with client.
We want to use network load ballancing (NLB) to scale out our architecture.
CallContext is assigned after valid execution of login method (own method of
authorization) - so, it is s... more >>
Streaming files.
Posted by lovemyalpacas NO[at]SPAM gmail.com at 10/5/2005 4:13:14 PM
Hi,
I'm currently involved in building a web application which to
sends/recieves moderately large binary files (video/image/audio)
from/to a file store on a remote machine, via remoting and am looking
for some advice on implementation - my question is, what is the fastest
end-to-end method of... more >>
Has anyone gotten marshaling a transparent proxy to work?
Posted by dwoods at 10/5/2005 7:25:12 AM
Hi,
I need some help from people who know a lot more about remoting than I
do. Here's the scenario:
I have a remoting object "MyServer.rem" available at port 8085 on a
server. However, I don't want client applications to access the object
on port 8085, but instead e.g. on port 8086 (due to ... more >>
Newbie q - HttpChannel and IIS
Posted by Javaman59 at 10/5/2005 6:21:04 AM
Hi,
I thought that the HTTP protocol was implemented by IIS, and therefore that
IIS (or another web server) would be necessary for a remoting app with
HttpChannel to run. However, I've created a simple remoting app (based on
ChatCentral), and found that it still runs when I've stopped IIS.
... more >>
error shown when trying to connect
Posted by daman jit at 10/5/2005 12:00:00 AM
hi friends,
I am new to remoting , and working on it , can someone tell some good
books. Also I am trying to create a small application in remoting some error
is showing Here is problem:
I m trying remoting over single PC
I have a server , a client and a Server-library which is getting dat... more >>
Config file not working
Posted by KK at 10/4/2005 4:39:51 PM
If I use the config file for the remoting setting it does'nt work. But
if do it programatically it works fine.
This is the snippet of code in Server.exe in the FormServer.cs file
public FormServer()
{
InitializeComponent();
RemotingConfiguration.Configure("Server.exe.config");
... more >>
ILogicalThreadAffinative in 1.1 with low typefilter
Posted by Martin at 10/4/2005 10:32:58 AM
Hello,
any chance this could work in 1.1 with default (low) typefilter?
[Serializable]
public class GCallContext : ILogicalThreadAffinative
{
public string foo;
public GCallContext(string s) {foo=s;}
}
Regards to MSDN documentation this _should_ work, but it throws
... more >>
Observer Pattern with Remoting
Posted by Satish at 10/4/2005 5:51:05 AM
Hi..
I am developing an application where state changes in the server object
has to be relayed to the clients. I am in the process of identifying
the techniques that can be used here.
I have identified a couple of techniques which could be used here
1. Observer pattern using remoting
2. ... more >>
"The path is not of a legal form"
Posted by Cos at 10/4/2005 2:41:57 AM
Here's my problem:
I wrote an object that returns a DataSet to a client for a given XML file.
The server object needs to set a property "FileName" to open the file and
load the DataSet.
For convenience, I put the file in a C:\MyFolder\ location so that the path
is simple.
Everything wo... more >>
|