Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have two different servers (different ip addresses). They are running IIS. They both have access databases. The first server contains a website.

What is the simplest way to use my website to connect to the other server? My goal is to send information to the page which is on the other sever. How can they communicate with one another.(*******************Please don't delete this.It's my humble request***)
Posted
Comments
[no name] 28-Mar-13 11:54am    
Why don't you create a web service and send you information to that?

1 solution

There are many ways you can communicate 2 web servers.
1. You can create webservice from one web application and consume it from others.
2. You can create wcf service from one web application and consume it from others.
3. You can create asp.net web api from one web application and call and receive data from others.
4. You can create a method inside a web application page and call that method with other web application with unique url.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 28-Mar-13 13:46pm    
Fair enough, a 5.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900