Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Pointers to some education and code for server to web communication

Posted on 2014-01-11
2
Medium Priority
?
618 Views
Last Modified: 2014-11-12
I'm using .net in azure, and I'd like to ask/offer for assistance in orienting myself to a task. The task is quite simple: I want to create a service on a windows 2012 server which my website can use to communicate with my server. Any simple demonstration of opening communication with a service running on the server will do (but ideally  the approach will use current environment and be one that I can later develop for richer communication including wpf, chat and video stream).

So, the highest dream of what would help me, is if an expert who does this programming in C# can point to a tutorial that demonstrates building this, or who can pop off some extremely crude code, that just opens communication between the website and the server, just a "hello server" demo, that can also say "sorry, server is not answering". And a separate program that runs on the server. I know nothing about this server side communication service, and am interested in knowing how I can set up a wpf service that responds to queries from the website.
0
Comment
Question by:jeffleese
2 Comments
 
LVL 16

Accepted Solution

by:
Easwaran Paramasivam earned 2000 total points
ID: 39774351
There are numerous options to communicate two process. They are named pipes, remoting, wcf, webservice, msmq.
 
As you have requested below links could be useful for you.


Named pipes: http://andrewbelson.wordpress.com/2012/11/23/communicating-between-processes-using-pipes-in-c/

WCF: http://tech.pro/tutorial/855/wcf-tutorial-basic-interprocess-communication

Serial port communication is available in the last example of http://social.msdn.microsoft.com/Forums/vstudio/en-US/6bb17f4d-d593-45c2-a586-55b3fdd0364c/serial-port-communication-using-c?forum=csharpgeneral


How two windows application can communicate? http://ryanfarley.com/blog/archive/2004/05/10/605.aspx explains this.

Hope you got starting point with this.
0
 

Author Closing Comment

by:jeffleese
ID: 39774397
Thanks, I think the WCF tutorial will be fine.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Screencast - Getting to Know the Pipeline
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question