microsoft.public.dotnet.framework.remoting Archive - January 2004
Post a message to this list
Messages
Page: 123456789101112
transport channel sink (3 replies)
microsoft.public.dotnet.framework.remoting
is it possible to implement a custom transport channel sink in .net remoting if so are there any resources on the internet that talk about this? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
Remoting like Windows Update (4 replies)
microsoft.public.dotnet.framework.remoting
Hello all, how can i solve the following problem: a webclient requests a page the page offers a downloadable component the client downloads and starts the component the component sends data about a specific application to the server the server looks for a new version of the application and sends the update to the client. I think it is very similar to Microsofts windows update, but i dont know how ...
<channel> element customProperty attribute (2 replies)
microsoft.public.dotnet.framework.remoting
Hey Guys quick question, channel ref &quot;tcp&quot; port &quot;8098&quot; customProperty &quot;some prop value&quot; / I placed the former declaration in my remoting configuration file. Question is, how do I get programatic access to the value in the customProperty attribute programatically from the channel. (of course I don't wanna read the XML from the config file) If anyone has any insight on this, I'd really appreciate it...
Event support and machine crashdown (2 replies)
microsoft.public.dotnet.framework.remoting
Maybe someone could halp me with my problem. I ve got server application working just like chat from MSDN example for remoting. Every klient after start adds handler for event that occurrs when somebody writes something. By accident I found out that when one client crashdown next time the event is fire I ve got exception on server and full suport for events in remoting stop working. This is becaus...
casting (2 replies)
microsoft.public.dotnet.framework.remoting
When the C# server Interface has a method void Test Read(ref string buf) // reading data into buf how should the correct casting in C client of the parameter be in the two cases a) char buf[1000] spServer Test Read( buf); b) String s; spServer Test Read(&amp;s); Regards, flemming
Exceptions in channel sinks - why not? (4 replies, VIP)
microsoft.public.dotnet.framework.remoting
Ingo Rammer states in his book that channel sinks &quot;must not throw exceptions.&quot; Is this true? Can anyone shed a little light on why? Thanks, Michael
Singleton (3 replies)
microsoft.public.dotnet.framework.remoting
Is there any way that a object set up as singleton could exist in different versions? I'm having problems with data getting lost in a singleton object when multiple clients use it. /Johan
Architechture Question (3 replies)
microsoft.public.dotnet.framework.remoting
How many remote objects should I have and how many ports should I open? Can I access all remote objects through the same port? Here is the scenario. I have an assembly the contains business entities. I have an assembly that contains data services. I have an assembly that is a business facade. I have an asp.net application, web service methods, and a windows forms application that all need to commu...
chat rooms (2 replies)
microsoft.public.dotnet.framework.remoting
Hi there, I have a rather stupid question about simple application architecture with remoting. I have coded a simple chat. My remote singleton instance of ChatServer class has an event NewMessageEventHandler NewMsgEvent. Whenever a client sends a new message I loop through the delegates attached to NewMsgEvent and invoke the handlers asynchronously. So far, so good. Nevertheless, now I plan to add...
architecture question (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, I built a small app in C#. I'd like to start distributing it just for fun. I would also like to control its distribution and be able to update some of its dll's. Thus, I'd like to have some of the dll's be downloaded each time the app is run; i.e., I don't want these dll's to ever reside on the users' hard drive. Once the dll's are downloaded, the application doesn't need to interact with the ...
Trapping Errors (4 replies)
microsoft.public.dotnet.framework.remoting
If the remoting object is down and refuses to service, I still get a proxy object. Since it's not null, I can't trap the error there. It's only after the client tries to access the proxy objects method or properties, the app raises an error. Is there a way to trap the error when I get the proxy? Thanks for your help k
Is there a way to limit remote object from being called only locally. (6 replies)
microsoft.public.dotnet.framework.remoting
Hi, Is there a way to limit remotable object to be called only from local machine? Or: Is there a way to determine who is calling and to block unwanted callers for example from another machines or certain applications, kind of this? Help is greatly appreciated. Thanks, Konstantin.
Remoting to in my scheduling service (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, I'm writting a scheduling service and I'd like to ask if my plans are OK. The service will be implemented as a Windows Service and the ASP.NET application will communicate with it via remote object. The service will create a main scheduler thread that will be responsible for spawning specific scheduling threads in the proper time. Remote object will be a class to make communication between asp...
How to create COM exe server in NET (4 replies, VIP)
microsoft.public.dotnet.framework.remoting
Hi In VB6 it is very easy to create out proc server in ActiveX.exe project. How to do that in .NET ? If I understood properly there are no ways to do that in .NET It looks like by design? Thanks, Voloida.
hosting different remote ojbects on the same port (9 replies, VIP)
microsoft.public.dotnet.framework.remoting
If I have 2 remote objects, both provide different services for the same application, and a client form needs to access both objects at the same time, can I host both remote objects on the same port? Would it be better to use a differnet port for each remote object? The remote objects are single call, server activated objects. Thanks in advance
Pass by value object being treated as pass by reference (3 replies)
microsoft.public.dotnet.framework.remoting
Hi, Thanks in advance for any help! I'm pretty new to Remoting, read various articles, tutorials, and chapters of other books. I've only read Chap 2 of Ingo's book (Advanced .NET Remoting C# edition). I've got a remote object defined as pass by reference. Part of this object's duties are to return a Font object from the server to the client. The Font object is supposed to be pass by value, but whe...
Single call clients count (2 replies)
microsoft.public.dotnet.framework.remoting
Hi to all, I've got an object remoted by reference that inherits from MarshalObjByRef. My server and my client are configured for a Server Activated Object using a SingleCall pattern. Is possible (is there any function provided by the framework) to know, on the server, how many clients are active and running at a given instant. Thanks in advance Loris Vosilla
Using a Stream to Download Excel Files (5 replies, VIP)
microsoft.public.dotnet.framework.remoting
I need a functionality where my clients download Excel files and after they do, I do some processing. Downloading is easily achieved using a anchor or hyperlink tag, but that does not give me the full functionality I am after. So, I came up with a way to download the files using a stream but after I download the file and try to open it in Excel I get garbage. This is the code I use for the downloa...
Hosting remotable components (3 replies)
microsoft.public.dotnet.framework.remoting
If you just want to have remotable components for Data Access what would be the recommended way of hosting them? As a windows service(exe), using IIS or COM services? Appreciate any advise from anyone in this regards.
Security Exception remoting delegates (2 replies)
microsoft.public.dotnet.framework.remoting
Referring to article Q312114 in the knowledge base which describes how to remote delegates... Following the method outlined in the article, when I attempt to create the delegate (use the ), I get the following exception: &quot;Type System.DelegateSerializationHolder and types derived from it are not permitted to be deserialized at this security level.&quot; I'm running both apps on the same machine and have...
Enterprise Services (COM+) (2 replies)
microsoft.public.dotnet.framework.remoting
Hi I have written an Enterprise Service (COM ) component in .NET using C#. Also, I have written a client for it that access it from the same(local) machine and it euns perfectly. I know that Enterprise Components are also remotely accessible. What I want to know is that what steps (configurations) have to be taken to mek these components remotely accessible from other machines on the same network....
securityexception on using events ? (2 replies)
microsoft.public.dotnet.framework.remoting
(C#) Hi, I'v an interface which I implement in a remoteable object. THe interface is in a separate assembly for the purpose that I can give it as a proxy to the clients which want to use my component remotely. The server and client communications were going smoohly until I modifed my code and added a delegate and an event to the interface. Now the idea was that the remoteable object has an event t...
.NET Remoting vs Web Services Performance Tests (4 replies)
microsoft.public.dotnet.framework.remoting
Hi All, I did some performance tests between .NET Remoting and Web Services over HTTP and HTTPS. I used 5 different sizes of datasets ranging from 10 rows to 100000 rows and 4 differents network scenarios (LAN, VPN, Network periphery outside firewall (ISA), Internet). I was really interested in the results over a SSL connection and it turns out that most of the time Web Services were faster than R...
Sending message to all online users (3 replies, VIP)
microsoft.public.dotnet.framework.remoting
How can I send a pop up message to all users currently accessing my site? For example, whenever I need to make changes to my website or shut down the server, I want to notify the users that the site will be unavailable in another hour or something like that.please help thank you
Remoting Error: (2 replies)
microsoft.public.dotnet.framework.remoting
HI All, i am Getting an error like &quot;Server occured an internal error &quot; when i am unsubscribing a remoting clinet from the server. the scnario is like this : i am developing a service which broadcasts msgs in regular intervals of time , and am also developing clients to consume the messages sent by the service. for the above scenario i have a Service running in a seperate machine and i connect the ...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification