client-server

Client-Server (web-server) app in LAN - should proxy be taken care of?

Within a LAN, an ASP .NET web application acts as the server. It is hosted internally on the organization's web server. It can be accessed - say like this - http://192.168.0.23/myApp The clients are desktop applications which need to constantly interact with the server (the web app residing on the intranet) Considering it's a LAN setu...

Public key or Diffie-Hellman Key Exchange Algorithm

Consider and client server scenario and you got two options: You can include Server's Public Key in Client and perform the exchange. You can use Diffie Hellman KeyExchange Algorithm to handshake and then exchange the key. Which one is more secure way? also if public key will come from store say from Client CA store? would it be more ...

Connection pooling for a rich client accessing a database directly

I have a legacy application WinForms that connect directly to a SQL Server 2005 database. There are many client applications open at the same time (several hundreds), so I want to minimize the number of connections to the database. I can release connections early and often, and keep the timeout value low. Are there other things I need...

How to pass large quantity of data to web service

I'm building a client-server (c#) application that uses a web services to synchronize the data. Basically I am passing the XML of a DataSet back and forth. But depending on various parameters the dataset can actually be quite large. I'm compressing the XML using Gzip and want to pass that to the web server and the get the resulting com...

Is it sensible to connect a desktop client directly to MySQL?

I'm writing a Java desktop client application that retrieves data from a remote MySQL server. For development purposes I have had it connecting directly to the MySQL server (i.e. with DriverManager.getConnection(databaseURL) etc.), but have been intending to move to using a web service (once that'd been built). My question is whether I...

Communication Between MS 2003 CA Server and Client - Non active directory environment :Design Query

Hello I have a scenerio where the CA and its clients are not in an active directory environment(win2003 enterprise). They are located physically apart(different places). For example, *If the domain name is 'ExampleBank.org'* *The CA name is 'ca.ExampleBank.org' * *CA type is Enterprise Root CA (online) [windows 2003 enterprise ser...

How can I speed up the performance of the first execution of my .NET app?

Our C# client applications always take a much longer time to load on their first run. I haven't gone so far as to test if it is the first run of any .NET app that is slower, or if the first run of each .NET app is slower, but it remains a problem in any case. How can we eliminate this one-time startup hit? My initial thoughts are that...

JavaFX applet communicating with server

I want to write some page with JavaFX applet. I want content on the applet to be dependent on user logged in. I know I can call web services from JFX, but then what about login and session? Besides I think there might exist some better solutions for such communication than calling from applet a web service sitting on the machine applet ...

TCP or UDP help with a server/client in c#?

Hi there, Can anyone help, i trying to figure what i need to do, i have been given the tasks of writing a server and a client in TCP (UDP). basically multiple clients will connect to the server.. and the server sends MESSSAGES to the client. I have no problem in creating the server and client but with tcp i am unsure whcih way to go. D...

Why doesn't this threaded network code work? (Java)

Code for server: http://stikked.com/view/64826511 Network Code for client: http://stikked.com/view/38974838 Basically, the client connects to the server, but beyond that, it does not work. When a message is sent, the client's System.out.println indicates that the GUI is calling the correct function. But there is no sign of the server...

Designing a class architecture for network messages

I have client/server applications and a very simple protocol for communication. More precisely, it's a set of commands a server sends and a set of requests a client can make. The idea is as follows: When a command is made by the server, a client has to execute it. When a request is made, server checks permissions and if everything is o...

WCF: Accessing the service instance from the server

Context: I need to develop a monitoring server that monitors some of our applications (these applications are in c#). So I decided to develop the system with WCF which seems suitable for my needs. These applications must register themselves to the monitoring server when they start. After that the monitoring server can call the methods...

Coding a server that is *not* 'thread per client'

Using .NET what is the basic algorithm of a server that is not 'thread per client' based? Edit I'm looking for a basic 3, 4 maybe 5 line algorithm/psuedocode/pattern that describes the general process the server is using. Something opposite to this: open a server socket // this uses the port the clients know about while(running) ...

Web vs Windows client/server application

I have a decision to make and I'm kicking it to the stackoverflow community. I need to create an app that has one person controlling a timer and a list of people. This person can add people to the list, and start and stop the timer. There will be a few client instances (in the same network) that will need to react to the changes to th...

How can I share code between C# and Flex?

I am developing a Flex / Flash application which talks to an ASP.Net / C# backend. Is there any way I can share code between the two? The server provides a reasonably interesting domain model which the client is designed to maniuplate. Ideally I would like to be able to define this domain model once and have both sides use it for cons...

How to consume legacy business logic from a silverlight application?

Hello Everyone, I have an XBap system designed as a 3-layer application. The XBap client consumes the logic through a WCF Service using netTcpBinding. For easy of databinding and to be able to re use data validation built-in my business objects, I choosed to reference the business objects library from the xBap client instead of generat...

Make two servers talk to each other

I have application written in GWT and hosted on Google AppEngine/Java. In this application user will have an option to upload video/audio/text file to the server. Those files could be big, up to 1gb or so and because GAE/J does not support large file I have to use another server to store those files. This would be easy to implement if th...

What do you use for client to server communication with GWT?

GWT RPC is proprietary but looks solid, supported with patterns by Google, and is mentioned by every book and tutorial I've seen. Is it really the choice for GWT client/server communcation? Do you use it and if not why and what you chose? I assume that I have generic server application code that can accommodate for RPC, EJBs, web servic...

Need help for a code to communicate between separate winform applications in C# over intranet:)

Can anyone help me with a coded example or any code to communicate between two separate application for multiple purposes like i) Find server application on the intranet from a client application running as client ii) Checking client or server is active from other side application iii) Communication data or objects to the client or se...

TServerSocket: Confusion with Socket Objects

So I'm having this application that verifies weather a user can log-in or not. It consists of multiple Clients (up to 200) and a server that processes the login querys (containing Username, PW and IP). The Server checks weather the user exists and sends an answer back. TLoginQuery is a Record. procedure TLogin_Form.btnLoginClick(Sende...