microsoft.public.dotnet.framework.remoting Archive - February 2002
Post a message to this list
Messages
Page: 12
Controling Serializating of SOAP Headers (2 replies)
microsoft.public.dotnet.framework.remoting
I'm using remoting to build a Web Service that uses custom headers for authentication. There are a number of reasons why I need to use remoting (e.g., need to run on NT4, 3GB machines, etc), so don't tell me to use ASP.NET! The documentation seems a bit sketchy on how to use custom headers in remoting. What I have been able to figure out suggests that there is a terrific bit of infrastructure ther...
MICROSOFT IGNORES SECURITY HOLE! (45 replies)
microsoft.public.dotnet.framework.remoting
ChannelServices.UnregisterChannel fails in RTM and there is no response from MS! Sockets on your machine left wide open! See Remoting NG for (lack of) details.
.NET, COM+, Remoting: I'm confused! (7 replies)
microsoft.public.dotnet.framework.remoting
Ok, this is what we're trying to do: Build a serviced component using C# and use it under COM Use that component from a .NET client (also built using C#) running on a different machine. Here's what we did: Built the serviced component, deriving from ServicedComponent etc. Gave the assembly where the component resides a strong name. Registered the component in COM using regsvcs. Registered the comp...
Problem with .NET Asyncronous remoting (3 replies)
microsoft.public.dotnet.framework.remoting
Hi, I am having a problem trying to get Asynchronous remoting in .NET to work. I have been trying to get the example provided by Microsoft in the .NET Framework SDK which is provided with Visual Studio .NET RC1. What I have done is copied the example and compiled it as they have specified, and it works, however only when the client and the server are in the same directory. If I separate the client...
Yet another namespace problem (4 replies)
microsoft.public.dotnet.framework.remoting
Using the Release Candidate, I'm trying to compile the Chat example as a Solution/Project. If I use the build or command line compiler the client builds fine. If I use VS.NET, I get an error only on the "using System.Runtime.Remoting.Channels.Http;" line: The type or namespace name 'Http' does not exist in the class or namespace ' System.Runtime.Remoting.Channels' (are you missing an assembly refe...
Remoting over SSL? (3 replies)
microsoft.public.dotnet.framework.remoting
Is it at all possible to do remoting over SSL? Or must I implement a custom encryption algorithm? And how might one go about implementing an encryption algorithm? I know how to do it on web services using a SoapExtension but how about with remoting? Thanks much, Nate Neitzke
IE Hosted Remoting Application (2 replies)
microsoft.public.dotnet.framework.remoting
I am trying to deploy my Remoting application using Internet Explorer (they click on the link to open the application). The problem comes in that Remoting applications need more permissions than the default Internet zone. So what I did on my machine was go to .NET Framework wizards and then the Trust an assembly wizard. I pointed it to my winforms assembly on my web server and gave that assembly f...
Help! (urgent) - Remoting error (2 replies)
microsoft.public.dotnet.framework.remoting
Hi all, I am seeing a very weird remoting error. When I call ChannelServices.UnregisterChannel(myTcpChannel), a message box pops up and says "System.Net.Sockets.SocketExceptions occured in system.dll Additional information: A blocking operation was interrupted by a call to WSACancelBlockingCall". Please help! Here's the code that I am using public class MyClass { static void Main(string[] args) { ...
Remoting vs. WebServices: Performance (5 replies)
microsoft.public.dotnet.framework.remoting
We are trying to decide between using Web Services or Remoting for a distributed programming model. Web Services seem a good bit simpler to implement, so our major focus on this was performance. Most posts I have read indicate that Remoting should outperform WS when using a binary formatter. I have put together a test app to compare the two and oddly enough the components for WS outperform Remotin...
Remoting with auto-deployed forms (3 replies)
microsoft.public.dotnet.framework.remoting
Has anyone tried remoting from an auto deployed form? If I simply copy a form to a PC it communicates fine to the server. When I try to communicate with the same form after it has been auto deployed, I get errors. Just curious if anyone else has run into this. Thanks, James
What am I doing wrong? (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, I am trying to write a simple .NET Remoting solution that will display a simple text. I have a server component and a client component, which communicate through TCP channel. I have referenced the server component in the client so I could its function from the client code. I am running both components on the same machine (in the future they will be separated) I have complied both components in...
I don't want to serialize the EventHandler Object (2 replies)
microsoft.public.dotnet.framework.remoting
I've added an event to a class in VB. Public Event Deleted() I'm aware that VB hides the implementation of adding and removing delegates to the eventhandler. I want to avoid serializing the EventHandler. I tried: NonSerialized() Public Event Deleted() This obviously doesn't work since an event declaration is actually a class declaration. However, I don't have access to the variable declaration tha...
WebServices from Flash, do-able, but need better method (2 replies)
microsoft.public.dotnet.framework.remoting
In Flash 5 I was able to create an interface from Flash to WebServices. Flash cannot set the SOAPAction header. So I used the GET format, (yuck). I really wanted to use the POST method. I can set content type to what I want. (default is application/x www form urlencoded) but this can be changed. Flash can POST arbitrary XML and receive arbitrary XML. for example: HTTP/1.1 200 OK Content Type: text...
limit singleton access (2 replies)
microsoft.public.dotnet.framework.remoting
I've got a class library singleton which is exposed as a well known type through a service. I can then call methods on the server from a client. What I'd like to know is there a good way to implement resource locking on the server but have the locking be transparent to the client. For example I have 2 methods A and B exposed to the client and I only want one client to access either A or B on the s...
Remote Assembly Fails to Load under NT4 only (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, This code loads an external application fine on Windows 2000, XP. However, I get "Unable to load file my.dll" in the exception catch on Windows NT 4 Server. I am logged in as Administrator. (I am using RTM framework on NT4 and the same for all other components). Anyone had this problem and resolved it? Regards, Gary Brewer try { Assembly asm Assembly.LoadFrom("http://server/my.dll"); Type ft a...
Interface versus DLL at the client side (6 replies)
microsoft.public.dotnet.framework.remoting
Hi, I want to create a remoting solution where a client.exe calls a method in a server.dll and I do not want to install the server.dll at the client side. Using a shared library containing the Interface to my server.dll would be a good solution but unfortunately I have the two following problems: 1. When I call a method in the client I get the error "...Well known objects must derive from the Mars...
Chunky vs. Chatty Design (6 replies)
microsoft.public.dotnet.framework.remoting
I have seen the phrase "Chunky insted of Chatty" used to describe the proper way of designs 3 tier application by both Jonathon Hawkins and Emmanuel Schanzer of Microsoft, but I'm just not "getting it". Does this mean that I don't use properties directly to avoid network traffic? Can someone give me an example, or a url to an example of what the difference is and how to design 3 tier correctly fro...
What are the advantages of multiple channel (3 replies)
microsoft.public.dotnet.framework.remoting
Hi all What are the advantages of multiple channel registering on server side. Also on client side. Does it has any advantage over speed. Thanks in Advance Ken
Retrieve a list of named instances? (2 replies)
microsoft.public.dotnet.framework.remoting
If, on a server, I've published several named object instances like this: TcpChannel chan new TcpChannel(8085); ChannelServices.RegisterChannel(chan); // NB: Stooge is derived from MarshalByRefObject Stooge moe new Stooge(); RemotingServices.Marshal(moe, "Moe"); Stooge larry new Stooge(); RemotingServices.Marshal(larry, "Larry"); Stooge curly new Stooge(); RemotingServices.Marshal(curly, "Curly");...
DCOM or .NET Remoting? (5 replies)
microsoft.public.dotnet.framework.remoting
Hello using a .NET Winapp client. if I call a serviced component in COM on a remote server.. is it DCOM or ..NET Remoting? which port is it using? And if anybody has other documentation and example (other than MS) about remoting, it would be very greatly appreciated. Thanks Alex
IIS, .NET remoting, and port 80 (9 replies)
microsoft.public.dotnet.framework.remoting
I have a service and I would like to use .NET remoting for the networking. I have a sample up and running using an Http Channel and port 8080. This is working greate, but I would like to have my network traffic use port 80 instead for firewall reasons. I see that I can create a DLL that does .NET remoting and register it as a ISAPI extension, but I need to have my service handle the remote calls. ...
Remouting config file - not work (3 replies)
microsoft.public.dotnet.framework.remoting
hi all i try configuration remounting using config file but i can't : (. may be some body can explain me where my error?
Can IIS host using TcpChannel? (3 replies)
microsoft.public.dotnet.framework.remoting
I've read an article that shows how to host under IIS using both HTTP and TCP channels... http://msdn.microsoft.com/library/default.asp?url /library/en us/dnadvnet/ht ml/vbnet10232001.asp But then I read in MSDN article "Hosting Remote Objects in Internet Information Services" (Framework Developer's Guide) that "You cannot use any channel other than HttpChannel". Which is right? Or am I mis interp...
Type.GetType("xxx,xxx") in RegisterWellKnownClientType (3 replies)
microsoft.public.dotnet.framework.remoting
as i found in document Comma (,) Precedes the Assembly name. hope someone can explain this for me i see remoting samples like Type.GetType("ServiceClass, remote") Type.GetType("ServiceClass, object") i know ServiceClass is the remote classname on server but what is "remote" and "object" mean here? is there other keywords i can use after ',' and what is their mean? or it is only a random word? i am...
IIS Host, Remoting, Conifguration without web.config file (5 replies)
microsoft.public.dotnet.framework.remoting
I understand that the web.config file can be used to host remoting objects in IIS. I need to find out if I can do away completely with web.config file (or any other config file) and read the values from registry and configure the remoting object programmatically while still hosting it in IIS. The doco some times suggests that we can add code under Application Start method in Global.asax.cs (for C#...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com