Hi All,
I have a wcf client.
What is the best way of handling connections ?
Is it to open and close every time you need to contact the service:
void doSomething(){
MyService service = new MyService();
//try
service.doThis(10);
...
service.doThat(20);
service.Close()
// catch
}
Or should I...
hallo,
I 'm designing an application that connect a 3rd party hardware controller server
to listen status messages and also send commands to 3rd party system..
In this statue what's the best approach??
i thought; developing a windows service that will register a remoting channel
which other applications connect to send commands and l...
We read here and there, event handler, event listener... event handler/listener... object handler... it's a mass confusion that a newbie like me can't tolerate.
Anyone to clarify this question:
What is the difference, if any, between event handler and event listener ?
Thanks a lot,
MEM
...
I have a grid which have required field validation.
This grid is repopulated when user clicks on Add in pop up and saves, it repoulates the grid of the parent page using Client Callback mechanism.
At this point it does bind required field validation at all.
There is post which discuss about the behaviour but it does not specify about Req...
I am trying to determine the client's IP address following this link: http://www.danrigsby.com/blog/index.php/2008/05/21/get-the-clients-address-in-wcf/. I have operationContracts of WebInvoke/Post and WebGet. The code works when the client request is a WebGet. But when the client request is a WebInvoke, I will get the WCF host IP. Any s...
I would like to make a browser based game with multiple gamers in the same environment.
So if I did a first person shooter type of game would a client be able to open a udp connection with the server?
...
Hi All,
Am creating a very customizable web application in j2ee. The application has some configurations that are specific to each client supported and the client can have multiple users.
The way I am thinking of doing this is storing the configuration in a db table having the columns client_id , property_name, property_value and assoc...
Hi,
We do have a client software which communicates to a server. On every start of the client the user has to put in username/password. Now it would be nice if the user did login once (assuming he is still in the same operating system session) subsequent logins wouldn't require a password. (Sidenote: the security requirements aren't rea...
Hi everyone,
I have been looking all over, and couldn't find any example for an RTD CLIENT (many RTD server samples, though).
My goal is to 'pull' data from an RTD server into my application for algo-trading purposes.
If possible, without using C# / .Net, as I am looking for a lightweight, deploy-able solution.
Can you give me any ti...
I need recommendations, design input, references to similar systems or anything that will help in building the system below.
I have been assigned to design a message processing based system. The over all architecture is as follows.
We have
i) Client
ii) Server
iii) Data Collectors - Services that gather data from the internet...
I am trying to add a client side event to a dropdownlist and I need to access the currently selected Text. I have tried:
ddl_tech.Attributes.Add("onclick", "document.getElementById('" + chk_techreview.ClientID + "').disabled = this.options[this.selectedIndex].text.Equals(' UNASSIGNED');");
and
ddl_tech.Attributes.Add("onclick", "doc...
hello,
im trying to send multiple file over TCP using C# TcpClient, for a single file it works great, but when i have n files, it sends only the first one,
here is my code
SENDING FILES
try
{
TcpClient tcpClient = new TcpClient();
NetworkStream networkStream;
FileStream fil...
I want some fairly simple functionality.
. Server listening for a client
. Clients connecting and sending "Hello server"
. Serve acknowledging with "Hello client"
Communication performed using TCP/IP. I've looked for examples with source code but haven't found anything that I can get working. Does anyone have any recommended resou...
I have the following class
[DataContract]
public class A
{
private List<B> b= new List<B>();
public float getSum()
{
float sum= 0;
foreach (B b1 in b)
{
sum+= b1.sum;
}
return sum;
}
[DataMember]
public int B
{
get { return b; }
set { b =...
How would I draw outside the client area of a window, and on the title bar. I know it can be done, but I am unsure of how to implement this effectively. Think google chrome, where the tabs are on the title bar.
...
I've created test.py module, filled with
from django.test import TestCase
from django.test.client import Client
from django.contrib.auth.models import User
from django.contrib.sites.models import Site
from forum.models import *
class SimpleTest(TestCase):
def setUp(self):
u = User.objects.create_user("ak", "[email protected]", ...
There is but scant information on the web as to how to actually implement these features of Riak besides this blog post and a few others. Are any client libraries (ripple etc.) capable of receiving messages via the hook so that working with the changed data in the app (i.e. outside of Riak) becomes possible? Thanks.
...
Hi all,
I'm very newbie for Oracle and very not sure about Oracle.
one question I want to know.
if I want develop oracle windows application. first I must install oracle on server for database server but I'm not sure if I don't want install oracle on client. I must install oracle for client YES or NO !?
thank for help.
...
Hi,
I am new to desktop applications, so please bare with me if this sounds very basic question. The question is, is Windows forms Simart Client is a legacy thing now? and to be replaced by Prism (and/or MVVM)? Should I bother to learn about Smart Client?
Another question which might be related to is that what are the performance diffe...
Hi,
I have a wcf client.
The client calls a function and then closes.
If I use netstat there is only one connection.
I made an experiment.
In the server function I put Thread.sleep(10000).
Then again I started the client.
With netstat I found out that there are 5 connections.
Why when the response is slow the client opens more conn...