remoting

How to route AMF requests though one trusted server

We are planning to develop a Flex application that must make AMF calls to retrieve data from a secure server. However, we are not allowed to connect directly to that secure server with AMF. We can only make WSDL/SOAP or .net remoting calls to the secure server. Therefore, all instances of the flex application running on a client machi...

WCF and NetTcpBinding

When I expose a service using NetTcpBinding, is .Net remoting used under the surface? Could I consume this service using .Net remoting on the client side? I ask this because I always thought that WCF was just a wrapper for underlying protocols such as WS*, Remoting, COM+, and MSMQ. And while I know that exposing WS* will work as expect...

How to go about serving a singleton object over the network in C#?

I am creating a card game in C# for a school project. This card game is networked. The card game's game data is stored in a singleton object as gameData. gameData holds, the player names, which player the game is waiting on, player objects. Each player has 3 List objects. Where the cards are again custom objects. Originally I was going t...

Use the [Serializable] attribute or subclassing from MarshalByRefObject?

I'd like to use an object across AppDomains. For this I can use the [Serializeable] attribute: [Serializable] class MyClass { public string GetSomeString() { return "someString" } } Or subclass from MarshalByRefObject: class MyClass: MarshalByRefObject { public string GetSomeString() { return "someString" } } In both cases...

How to exclude nonserializable observers from a [Serializable] INotifyPropertyChanged implementor?

I have almost a hundred of entity classes looking like that: [Serializable] public class SampleEntity : INotifyPropertyChanged { private string name; public string Name { get { return this.name; } set { this.name = value; FirePropertyChanged("Name"); } } [field:NonSerialized] public event Propert...

.Net Remoting Vs WCF

Am working on a .Net website which is going to have 1000s of concurrent users. Am thinking of keeping the business components on the app server and UI components on the web server.Database ( sql server 2005) will be hosted on another server.Am also planning to use load balancing. Given this, whats the best way of communication from web s...

How do reflection and remoting work internally?

I am curious to know how Reflection and Remoting in .net work internally. I also hear that .net can use remoting to communicate with applications written in other languages (such as Java). How does that work? This is probably a large question so an answer that briefly touches upon each question is reasonable. ...

How to make PowerShell V2 Remoting work with Windows Server 2003?

I was testing PowerShell remoting: I installed PowerShell V2 CTP3 on my Windows XP desktop I installed WS-Management v1.1 on my Windows 2003 R2 server, which has its firewall disabled and no PowerShell installed. Both machines have .NET Framework 3.5 SP1 When I type on my desktop: Get-WmiObject -ComputerName computerNameHere Win32_S...

How can I detect that a remoting channel in C# has finished receiving?

I use remoting to remote a class in C#. When I use a property of the class from the client. The server doesn't wait for the send to finish. How do I ensure that the channel has received all messages before continuing? ...

Fastest serializer/deserializer with lowest memory footprint in c#?

Hi, I am currently using the binary formatter (Remoting) to serialize/deserialize objects for sending around my LAN. I have recently upgraded from 2.0 to .Net 3.5, has 3.5 introduced any new types to improve serialization performance? I’ve looked at the DataContractSerializer but this serializes anything to underlying xml right … which...

.NET Remoting server-side hanging

We have a .net remoting application sitting in between web app and database. Occasionally we get strange problem. The remote call simply hangs and never returns. We used package sniffer to check the traffic. It seems to be the server side problem. If we stop the server app, a network exception will be thrown immediately. However when we ...

command line/Powershell administration of networks behind NAT

Scenario. 3rd party admins want to administer systems with PS remoting/direct login of clients and servers behind NAT gateways. The systems are SBS 2003 or W2K3. all are behind NAT firwalls with varying RFC1918 subnets and no site to site VPNs (although a solution would likely require this.) Each site has its own unrelated AD setup. ...

What is the best way to expose my server's API?

I have a .NET Windows service that needs to expose an API. I am using remoting now during development process. Right now all my methods accept and return XML. I already have a lot of custom serialization and deserialization code for the needed objects. None of these objects are very large. I want to make my API available to many lang...

Remoting Event Handling: Specifying an available range of listening ports

I have a client-server application that uses .NET remoting. The server sends update event to the client via .NET events. (That was a big deal to get working, but it has been deployed for seven months without problems.) To be able to listen to events, the client has to create a listening channel. My app.config file specifies port "0", m...

Establishing communication between Java client and .NET server

Hi, I would like to create a server using .NET and Java client (Android application). The client will be connected to the server through mobile network so it's impossible to use tcp socket for two-way communication. I would like to develop a logic for client login: The client sends username and password to the server and server repli...

What's the best client architecture for Flash Remoting communicating with ASP.Net?

We have found the combination of ASP.Net as a server backend and Adobe Flash for the User Interface to be an excellent marriage. Up until now we have used Javascript as the communication conduit between the two technologies. This has worked well, however we want to be able to pass objects back and forth rather than just string variables...

Verify that a method is called via remoting?

How can I, from within a method, verify that it executes inside a remoting context? I've got a basic Client -> NT-Service setup where the service executes as a specific user. This user has access to a SQL Server. I am looking for a solution that would make it easier to catch problems that occur when the remoting configuration is missing...

Usage of AppDomain in C#

What is the most important use of AppDomains in C#? ...

how do i impersonate a windows authenticated web user over a .net remoting call?

I have an web application that uses windows integrated security. I also have a windows service that runs as local system. The web application uses .NET remoting to execute a method on the serivce through tcpip channel. Is there a way, on .NET 2.0, to pass the windows identity to the service? ...

Flex 3 passing objects from Flex to java class

Hi, I want to pass an object from my Flex application back to my Java app. Im looking at either passing to a Serlet or passing via a DAO as an object. Any recommendations? ...