all groups > dotnet remoting > january 2005
Filter by week: 1 2 3 4 5
Need some advice on architectural design and remoting.
Posted by Toble Rone at 1/31/2005 10:04:08 PM
I'm quite new to remoting, with few real world implementations. But since i
started reading about remoting I'm hooked up on this topic, really
interesting. I had a lot of book reading on this.
I have the following scenario:
- Central SQL Server with a quite big database.
- Complet... more >>
Is remoting what I'm thinking about?
Posted by Casey at 1/31/2005 12:45:02 PM
I have several different dll's that I use in my asp.net development. One of
them is used for sending email, another creates a dropdown menu with various
service codes, there are others too. The plus side to these classes is that
it provides consistant info, and it also allows me save time by r... more >>
Why don't you declare the port no. in a remoting client using Chan
Posted by Fredric Ragnar at 1/31/2005 1:43:03 AM
Hello,
I am making a system utilizing remoting with a TcpChannel between the server
and the client. I want to know all the details concerning the networking part
to prevent any future problems with firewalls or networking issues at the
deploying site.
Setup:
... more >>
Design question
Posted by Joe at 1/30/2005 1:45:53 PM
I have a remote object which connects to a Sql database. This object is
supposed to return records back to the client. Simple enough.
My problem is that each client should maintain its own connection. I can't
use a shared connection because there are many temp tables created per
client.
I h... more >>
Marshall C# to COM
Posted by jm at 1/30/2005 12:19:22 AM
Hi,
I desprately trying to solve the following prob.
I have a c# class method that returns an Interface:
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface IDocument
{
...
ISession Session{get;}
...
}
the implementation... more >>
Custom IServerChannelSinkProvider with binaryformatter
Posted by caughtfire NO[at]SPAM juno.com at 1/29/2005 8:41:31 PM
Hi all,
I've found ways to do a binaryformatter, or a custom server sink, but
not both together. Any ideas?
I'm using binaryformatter with http on IIS, creating my server channel
in code. Eventually (the whole point of this exercise) is to be able
to pass an integer value in a modified IM... more >>
Passing an interface returned from Activator.GetObject to a constructor
Posted by Joe at 1/28/2005 10:56:03 PM
The constructor takes a param of type of the interface. This works fine when
running locally, referencing the dll directly. When removing the reference
and calling remotely I get an error:
An unhandled exception of type 'System.MissingMethodException' occurred in
mscorlib.dll
Additional informa... more >>
What do I need for securing .Net Remotings
Posted by Henrik de Jong at 1/28/2005 5:28:36 PM
Hello,
What do I need to secure Remoting Objects? What I'm meaning with
securing remoting objects is that I would restrict access to remoting
services(object) for only internal use, etc...
I need a test-server and I'm doubting about what I need exactly. Is the
standard edition of Small Bus... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Displaying a popup from a windows service using .NET remoting
Posted by CBran at 1/28/2005 1:06:46 PM
Hi, I'm working on developing a solution that requires me to display a
notification to the user in the form of a winform, much like the MSN
messenger popup or Norton 2004 popup. I am under the impression that
these apps consist of 2 pieces (or 3 if you consider an interface the 2
use) - a windo... more >>
Remote object expiring
Posted by Stephane at 1/28/2005 7:57:11 AM
Hi,
I wonder if every class has to override the InitializeLifetimeService method
in order to stay alive as long as we need it.
public override object InitializeLifetimeService()
{
return null;
}
I ask this because my main application which is deriving from
MarshalByRefObject has thi... more >>
Hosting object in COM+ vs IIS
Posted by Stewart Rogers at 1/28/2005 7:55:04 AM
Hi all,
@ my work place, we have been using COM+ for business objects for a while
even though our COM+ components are VB 6.0 components and as such we did not
make use of any of the COM+ features (except it being a host for our DLLs)
Now we are embarking upon .NET and have been debating b/... more >>
Can't modify public fields of a remote object
Posted by Stephane at 1/28/2005 7:39:07 AM
Hi,
I have a server running as a windows service. This is using .Net remoting so
I can access objects on the server. I can read fields, but I can't update
them...
Per exemple, I have on a ASP.Net page:
// get the customer #1000 from the server
Customer customer = MainServer.Instance.g... more >>
Debug/Monitoring Tools
Posted by Mansoor Siddiqui at 1/28/2005 7:39:02 AM
Hi all,
I was thinking about having a list of debugging/network monitoring tools,
list of operating system commands and etc that can be used for debugging
network related problems and issues while working with .NET remoting and
other network level programming.
Guys, please share the inform... more >>
Tell if an object will be local or remote
Posted by Tim Haynes at 1/28/2005 12:11:32 AM
A question.
Before I instantiate a type I need to know whether it will be local or
remote. Obviously I know the type by a namespace.type string, as I don't
have an instance.
Now, I can tell a WebService proxy by using reflection to see if it's
derived from System.Web.Services.Protoc... more >>
Best book for VB.NET remoting
Posted by Dave at 1/27/2005 9:54:35 PM
Any suggested favorite books and web sites on .NET Remoting with VB.NET?
Your suggestions are appreciated.
Thanks,
Dave
... more >>
Synchronized objects
Posted by Roger Crawfis at 1/27/2005 3:53:00 PM
OK. I am a little lost on reading thru all of the rather simple examples for
remoting. It appears as if everything in .NET is type based, rather than
instance based. I want a simple demo to synchronize a particular instance of
an object. Consider this simple scenario. I have a type foo, whic... more >>
Cannot connect to a remote object hosted in a window service
Posted by Julia at 1/27/2005 1:03:59 PM
Hi,
My client uses a remote object
when I host the remote object inside a windows application all seem to work
fine
but when I host the same object inside a windows service I get the following
error
" connection attempt failed because the connected party did not properly
respond after... more >>
TCP Listener Problem
Posted by Earl at 1/27/2005 12:21:03 PM
I have built a TCP client/server application pair that I use to upload data
into an SQL Server DB. The client/server pair communicate properly while
using a local network connection. However, I need to run them over an
internet connection through a firewall. I have mapped the firewall port ... more >>
Encapsulation - Using Word On The Server
Posted by msnews.microsoft.com at 1/27/2005 10:25:35 AM
I am going to use Word on the Server. I am aware of all the implications to
this, but I am only using Word for printing. There does not seem to be any
tool yet to print Word documents without the loading of Word. I am using Dot
Net to talk to Word. Does anybody have recommendations for the best w... more >>
Exception in serialization of Queue
Posted by Stephan Moeller at 1/27/2005 6:25:05 AM
Hi NG,
I serialize the following class over .net remoting:
using System;
using System.Collections;
namespace JobServerLib
{
[Serializable]
public class ParkTree
{
public System.Collections.Queue m_Tree;
public ParkTree()
{
m_Tree = new Queue(1024);
}
}
}
... more >>
How to use XmlNode or XmlElement in remote method calls?
Posted by pafnutij NO[at]SPAM km.ru at 1/27/2005 4:27:32 AM
Hi,
How to use XmlNode (or XmlElement) in remote method call? When i try
to return XmlNode from remote method, SerializationException occurs
(The
type System.Xml.XmlElement is not marked as serializable).
Is there simple way to get around this problem? Any code examples will
be very appr... more >>
Remoting vs Sockets for Performances ?
Posted by Gilles Lambert at 1/27/2005 2:14:16 AM
Hi,
I need communication beween 2 process in an industriel environment where
the main factor is performances.
I'm new in this area and i know that beside the Remoting, it(s also
possible to manipulate sockets directly. So does any one knows what
approach is the most efficient ?
Thanks an... more >>
Architectural choice
Posted by Fred Hirschfeld at 1/26/2005 8:11:06 PM
Ken (et al):
We tried using a Windows Service (TCP / Binary / SingleCall) to host our
application but after running some basic stress tests it began to refuse
connections as I expect the thread pool was being saturated. Each request
was taking ~10-15 seconds to complete as there is some seriou... more >>
Request for Singleton mode explanation
Posted by Bob Hanson at 1/26/2005 5:59:13 PM
Hello,
My question regarding Singleton mode is:
If multiple clients are using a remote object, will the first one be
processed and the others wait or how does this work?
Thanks in advance,
Bob Hanson
*** Sent via Developersdex http://www.developersdex.com ***
Don't just particip... more >>
Object has been disconnected or does not exist at the server.
Posted by Stephane at 1/26/2005 10:59:05 AM
Hi,
I got a strange error which it happens sometimes and I don't why...
Here the error:
[RemotingException: Object
</436114d4_6fca_4720_9ef7_fcd21e349d9d/Z3qAWE53tdTYmJNo8I3Wn6ys_320.rem> has
been disconnected or does not exist at the server.]
System.Runtime.Remoting.Proxies.RealPro... more >>
Spy or trace program for .NET Remoting
Posted by John Olbert at 1/25/2005 5:31:01 PM
Does anyone know of a spy or trace program that displays the exchange
between Server's and Client's under .NET Remoting, specifically in terms of
the .NET objects and value items passed back and forth between the Server
and Client's?
I came across a reference to a sample in the .NET Framewo... more >>
.NET Remoting and Windows Service
Posted by Ravi Chodavarapu at 1/25/2005 4:01:01 PM
Hi,
I want to use .NET Remoting (TCP) to create an interface for clients. On
the server, I want to have this .NET Remoting interface running as a windows
service that can be started and stopped. Of course, I want the Remoting
interface to last the entire duration of the Service running. ... more >>
.Net Remoting TCP or HTTP?
Posted by André at 1/25/2005 2:07:02 PM
Hi,
I’m new to .Net Remoting, I am wondering what should I use for my channel,
TCP or HTTP.
Can someone tell me why I would use one over the other? And in what cases
will I use TCP over HTTP and vice versa
I am using C# .net. I am behind a firewall; this app will be for a few
hun... more >>
Detect Failure and Connect To Secondary Server
Posted by Seth at 1/25/2005 10:03:21 AM
I have an issue I need some help on. We have designed a system that
requires as much "up time" as possible. To accomplish this we are going to
mirror our main server to a backup/secondary server. If the first server
were to go down, we would like the clients to detect this and connect to the
... more >>
Asychronous events and rendering contexts
Posted by Roger Crawfis at 1/24/2005 11:04:03 PM
Hopefully this is the right newsgroup. I figured you guys would be the best
experts on this.
I am learning C# and .NET and went a little crazy with the events. Now I am
not sure how to isolate this problem. Here is my architecture, I have:
1. an OpenGLPanel class derived from UserControl tha... more >>
REMOTING and STARTING/STOPPING NT SERVICES REMOTELY
Posted by johnpremi at 1/24/2005 8:15:01 PM
Hi there,
I have a requirement where I need to start and stop the NT service running
on a different machine over the network. I am using ASP.Net application for
presentation and I would like to know whether is it possible to get the
remote machine respond to this kind of behaviour. If someone... more >>
Problem: Sending events to multiple remote clients
Posted by Linas Kricenas at 1/24/2005 7:23:28 PM
Hi everybody,
I have a problem of remote communication between server (singleton) and
multiple remote clients.
Each client subsribes to events of the remote server.
The server throws events from time to time and clients receive it.
Everything is OK while _all_ the clients are available.
Le... more >>
Dynamic assembly loading from temp domain
Posted by Darren at 1/24/2005 3:21:03 PM
I'm having a hard time determining why the number of assemblies are
increasing for the application domain.
The plan was to load an assembly from a temp domain so I could unload the
assembly if it didn't match the
plugin interface or to allow for a plugin refresh without restarting the
applica... more >>
Simply remoting not working for me can you help ??? !!!
Posted by nadersoliman NO[at]SPAM gmail.com at 1/24/2005 1:28:28 PM
Remoting is not working at all on my machine, I guess it is a
configuration problem but I don't know how to approach it ...
I wanted to learn a new technology for a quick task, 1 day task and
this desire has rendered the task 3 days hahahah ....
After reading studying ... digging here and th... more >>
Lost type when Remoting
Posted by Brendan Grant at 1/24/2005 8:08:49 AM
Lets say you have an class called Foo that implements the
IFoo interface. You decide to make an extension of Foo
specifically for remoting. This new class is called
RemoteFoo and inherits Foo as well as implements the
IRemoteFoo interface.
Within your client, you create a remote instance ... more >>
Passing arrays arguments using remoting versus calling directly
Posted by Ralph Flaugher at 1/24/2005 6:51:07 AM
Can someone verify this for me?
A function like: public Foo(Byte [] someArray) { someArray[0] = 1; }
If Foo is called directly from within the assembly the caller's passed aray
will be affected by the call. However, if the object is exposed via .Net
remoting and Foo is then called remote... more >>
.NET remoting possible on a PocketPC using VS2005?
Posted by Bob Hanson at 1/23/2005 4:11:55 PM
Hello All,
I am checking if anyone is aware of whether or not we will be able to
use .NET remoting on a PocketPC and VS2005?
Thanks in advance,
Bob Hanson
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
remoting and non .Net client
Posted by M. Posseth at 1/23/2005 1:42:58 PM
I am getting a bit confused right now
One say it is possible the other say it can`t
My scenario :
I have a server program with a singleton object , i have some VB.Net
clients this is working all well ( perfect does exactly what i need etc
etc i love it , customer loves it )
... more >>
IIS hosting remote object
Posted by Greg via .NET 247 at 1/23/2005 9:38:09 AM
I have been successful using TCP protocol and a console exe for a host but I can't get an IIS host version to work.
I have a common DLL containing interfaces:
namespace Common
{
public interface IClock
{
string WhatTimeIsIt();
}
}
My remote object implements this interface:
p... more >>
Problem with Serialization + enum
Posted by ara chem via DotNetMonster.com at 1/22/2005 1:41:10 PM
Hi All,
I have a problem with Serialization && enumeration.
I have a DLL and it contains one public enum that was attributed with [Serializable].
I have a method that takes this enum.
I have a second method that does not take any enum type.
On client side, when I try to access the fir... more >>
A exception when running multiserver in remoting
Posted by nicholas at 1/21/2005 5:33:04 PM
I've made two servers.The first server holds a RemoteObject type class while
the other one contains a WorkerObject type class.
In my client,i first get a reference to RemoteObject type class,then pass it
to the second server as a parameter of a method of WorkerObject type
class.And at that ti... more >>
customerrors tag in web.config
Posted by Chumley Walrus at 1/21/2005 4:52:05 PM
I'm having trouble seeing my page when I publish it on my live server.
I created a project in VS.net (with MMIT integrated), created a simple
index.aspx mobilewebform page , I can see it in my Mobile Explorer
emulator , but get the following error when trying to look at it from
my remote server,... more >>
Callback problem once client is deployed
Posted by Gene Kula at 1/21/2005 12:18:57 PM
We are having a heck of a time trying to figure out an exception we are
getting with .net remoting when we deploy the application.
Background: Remoting works when the client app is on my personal
development box (WinXP Pro SP2) and the server app is on anyother box
within our firewall. When ... more >>
Yet another NLB - Remoting Question
Posted by Stephen Barrett at 1/21/2005 11:24:49 AM
I have seen tons of posts on NLB with remoting, but I need a little more
clarification. Looking through the posts and reading supported
configurations on MSFT website it isn't clear to me how the NLB works with
HTTP.
From what I understand, using TCP channel for the hosted services doesn't... more >>
Problem with Channel Configuration
Posted by Stephen Barrett at 1/21/2005 10:07:01 AM
I have a 3 tier system. Web Server -> FIREWALL -> BL Tier -> FIREWALL ->
Calc Tier.
The BL Tier is both a remoting server servicing the Web server application
and a Remoting client requesting service from the Calc Tier.
The BL Tier uses SingleCall SAO from CalcTier.
Due to some really ... more >>
Asynchronous events with OpenGL
Posted by Roger Crawfis at 1/21/2005 3:12:37 AM
Hopefully this is the right newsgroup. I figured you guys would be the best
experts on this.
I am learning C# and .NET and went a little crazy with the events. Now I am
not sure how to isolate this problem. Here is my architecture, I have:
1. an OpenGLPanel class derived from UserControl th... more >>
why remoting sevice will hang up
Posted by smartcoffee at 1/19/2005 5:17:04 PM
i use remoting develop a remoting sevice ,this software is a instant message
service.But when many user concurrent access this service ,the service is
hang up.
that is not any Exception throw .but not response.why ,please help me.
... more >>
Dynamic binding to an interface
Posted by ADLearner at 1/19/2005 8:27:02 AM
I am trying to load an assembly dynamically in a windows form application and
bind to one of the interfaces contained in it.
I can successfully load the assembly into memory and create the object which
is a Form. But how do I bind to an interface the Form has implemented with
out making a pr... more >>
Passing objects by value from Client to Server
Posted by mats.bue NO[at]SPAM gmail.com at 1/19/2005 8:02:47 AM
Hi
I am currently in the process of rewriting a Java/RMI application to
..NET using C#. Simplified, the application has a manager (client)
which sends objects to a server. The server then executes a method in
the object and return the answer. The idea is that the objects contain
heavy computi... more >>
Architectural Suggestion Needed
Posted by Mansoor Siddiqui at 1/19/2005 7:07:06 AM
Hi all,
I have two remoting architectures to discuss with you and want to know which
one you would prefer and why. Before we talk about remoting architectures,
pls consider a typical DMZ environment in which three layers are separated by
firewalls:
Load Balanced Web Layer
---------... more >>
|