Click here to Skip to main content
11,932,048 members (54,381 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET
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 28-Mar-13 6:51am
ThePhantomUpvoter 28-Mar-13 11:54am
Why don't you create a web service and send you information to that?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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 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.
Sergey Alexandrovich Kryukov 28-Mar-13 13:46pm
Fair enough, a 5.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 28 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100