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...
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...
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...
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...
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...
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...
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.
...
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...
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?
...
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...
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 ...
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.
...
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...
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...
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...
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...
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...
What is the most important use of AppDomains in C#?
...
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?
...
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?
...