Get the wrong data in asp core web api

Ali Maleki Lonbar 1 Reputation point
2020-07-08T06:08:16.93+00:00

Hi.we wrote a web api for our Android application with Asp.net core. It works fine when we connect to the mobile data or any other Internet connection modem. But when we want to connect to the company's modem, it receives the wrong data from the host. For example, it displays the previous data on the database that we deleted, or it displays such and such data for someone.

Please help, we tried very hard but it was not solved and it is a vital issue for us.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,877 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ken Tucker 5,856 Reputation points
    2020-07-09T01:04:41.287+00:00

    Best guess is the instance of the service that you are connecting to via the companys modem is different than the one the android app is connecting to. You might need to do a network trace to see which computer the service is on. I would check the connection string on that instance of the service. I suspect it different than the one the android app is hitting

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.