communication between two websites in asp.net
-
i developed two websites in asp.net (c#) they should send info to each other please some one help me in sample code about that
Considering there are innerable ways to do this, it's impossible to tell you what you need to know. You haven't provided ANY details at all on what kinds of app these are, what the data is you intend to share, where it's stored, if they share a common data store of some kind, if the apps are on the same server or on different servers, if you need real-time communication between the two, if the transfer needs to be ecapsulated in a transaction of some kind, ... on and on and on. Basically, noone can answer your question as asked.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
i developed two websites in asp.net (c#) they should send info to each other please some one help me in sample code about that
-
Considering there are innerable ways to do this, it's impossible to tell you what you need to know. You haven't provided ANY details at all on what kinds of app these are, what the data is you intend to share, where it's stored, if they share a common data store of some kind, if the apps are on the same server or on different servers, if you need real-time communication between the two, if the transfer needs to be ecapsulated in a transaction of some kind, ... on and on and on. Basically, noone can answer your question as asked.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...thank you for your reply i really think about HTTP request assume that first sever collect the information from table in database that he (the first server) owns rearrange it and send it to the second server the second will receive that date and update its database that exist on it (owned by second) upon to that data data could be sting , text , int ...
-
thank you for your reply i really think about HTTP request assume that first sever collect the information from table in database that he (the first server) owns rearrange it and send it to the second server the second will receive that date and update its database that exist on it (owned by second) upon to that data data could be sting , text , int ...
Check into writing a web service and installing it on the second server.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...