473,320 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Send Data to Desktop App

Hi,
I have been developing an application that will run on a server and will
sends messges to IT staff telling them of different events happening on our
systems. I would like to be able to also have it connected to our web based
Help Desk software so that when a user logs a job the IT staff can get a
message to tell them of the job. The server application deals with the
directing of the messages. It will be able to send messages via SMS or email
to staff away from there desks or via the client app for staff at there
desks. The Help Desk software is an internally built ASP.NET product. So I
am really on after a way for an ASP.NET Page to access my program. Can I use
something like Winsock to comminicate with my program or is ther a better
way.

Thanks for any Help
Kenneth
Jul 18 '06 #1
2 1374
Why dont you just create a webservice in your help desk software that server
app can poll periodically for updates. Connecting to a webservice from a
winapp or console app like your server app likely is can be done a few lines
of code.

.......but yes, you could use a socket connection from an asp.net page to
talk to your server app - in that scenario your server app would be the
equivalent of chat server, accepting strings to do stuff and then
terminating the connection on reply and your asp.net app would be the chat
client.

Regards

John Timney (MVP)
"Kenneth Keeley" <ke*******@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,
I have been developing an application that will run on a server and will
sends messges to IT staff telling them of different events happening on
our
systems. I would like to be able to also have it connected to our web
based
Help Desk software so that when a user logs a job the IT staff can get a
message to tell them of the job. The server application deals with the
directing of the messages. It will be able to send messages via SMS or
email
to staff away from there desks or via the client app for staff at there
desks. The Help Desk software is an internally built ASP.NET product. So I
am really on after a way for an ASP.NET Page to access my program. Can I
use
something like Winsock to comminicate with my program or is ther a better
way.

Thanks for any Help
Kenneth


Jul 18 '06 #2
Thanks for your response.

"John Timney (MVP)" <x_****@timney.eclipse.co.ukwrote in message
news:Cs********************@eclipse.net.uk...
Why dont you just create a webservice in your help desk software that
server
app can poll periodically for updates. Connecting to a webservice from a
winapp or console app like your server app likely is can be done a few
lines
of code.
This is an option. One of the problems I see is that the server app would
have to keep polling the webservice. This would meean that depending on the
polling interval there would be a delay getting the messages out to the
clients and also when there are no new mesages to send the server app and
webservice are both using up server resources that could be better used
serving the other applications.
>
......but yes, you could use a socket connection from an asp.net page to
talk to your server app - in that scenario your server app would be the
equivalent of chat server, accepting strings to do stuff and then
terminating the connection on reply and your asp.net app would be the chat
client.
If I use this option at least no server resources are wasted polling for no
new messages. The new messages can aslo be sent more quickly. My only
question is, Does the code that I will need for the Asp.Net pages need to be
any different than the code I currently use to create my winsock connections
between my server and client apps. If so could you provide a same of the
code required for the ASP.Net pages.

Thanks for the Help.
Kenneth

Jul 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Etienne Charland | last post by:
Hi, there is an application running on a remote desktop (under Citrix ICA, but the same problem applies for RDC or PC Anywhere). Now, I want to send keys to the remote application from a local app....
4
by: Sean Feldman | last post by:
Hello, I've installed WSE2 and succedded to download from WebService DataTable object, but can't do the oposite. Anyone can help please? Thanks a lot!
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.