.net - TcpClient vs MSMQ -
i'm developing application need communicate running on different machines located in different locations. going use tcplistener , tcpclient send information between applications came across msmq.
the computers connected via software vpn, communicates across standard internet connection
now don't know technology use, tcpclient or msmq.
i want send different types of information requests , transmit files. have large amount of data in database large send across internet application. want send request 1 app other run query, save results xml, compress it, , send file back. receiving application decompress , load xml data set, saving great amount of time. (uncompressed 10mb+, compressed 0.3mb)
there different types of requests information. so, want application able differentiate between requests, i'm not sure how best receive information , then determine information is, (i.e. type of request is)
are situations 1 technology better other?
any pointers how best implement scenario i've described greatly, appreciated!
many, many thanks!
you might want consider using windows communication foundation instead of rolling own solution.
it allows use tcp or msmq (or http/https) communication, , can reconfigured needed. makes handling differentiation of message types easy - can use standard .net development techniques , not worry streaming, security, , other issues.
Comments
Post a Comment