Click here to Skip to main content
Rate this: bad
good
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
Comments
ThePhantomUpvoter at 28-Mar-13 11:54am
   
Why don't you create a web service and send you information to that?

1 solution

Rate this: bad
good
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 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.
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 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)

  Print Answers RSS
0 OriginalGriff 240
1 Kamal Rocks 184
2 CPallini 155
3 PIEBALDconsult 150
4 BillWoodruff 148
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 28 Mar 2013
Copyright © CodeProject, 1999-2014
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