I have two web sites. In the first web site, I have a table with items. I want to show the latest 5 items from this table on the second web site. When I add a new item on the first site, it will be available on the second site too. It is like form news sites
you get RSS.
If the two sites have access to the same SQL Server then the easiest way is that they just share the same database. Failing that, if you make updates in one site you'll need to "push" those updates to the second via an API like a web service, or alternately
the second site can just always get its own data from the first site using a web service.
Marked as answer byAnonymousThursday, October 7, 2021 12:00 AM
If the two sites have access to the same SQL Server then the easiest way is that they just share the same database. Failing that, if you make updates in one site you'll need to "push" those updates to the second via an API like a web service, or alternately
the second site can just always get its own data from the first site using a web service.
Marked as answer byAnonymousThursday, October 7, 2021 12:00 AM
If you have access to the other database, u can configure it in your web.config file using EF or other ways. and then you can have access to all the tables, Stored procedures, views and etc.