Asked by:
which one option select after click on publish website?

Question
-
User-91993069 posted
I am working with entity framework with web API
I am using Microsoft Azure for publishing my web API
I click the publish button and my API is published
after publishing web API I don't idea which one should be select
when I am testing my web API then does not display any data
I create a table in SQL server and then import in my visual studio 2019 means I am using entity framework
please help I am not solving this issue last many days and days I google it but still, I am facing this issue
What should I do next?
Saturday, August 8, 2020 10:16 AM
All replies
-
User-474980206 posted
It looks like you site published fine. It just gets an error when you access. Hopefully you coded in error logging, so you can check the logs. Maybe is a bad connection string or permission problem.
Saturday, August 8, 2020 4:09 PM -
User1686398519 posted
Hi rahulpas,
When you deploy the project to Azure App Service Web Apps, did you choose "Create a SQL database" and configure SQL Server?You can refer to this link(Configure Azure settings) for setting.
You can give your specific error information so that we can better help you.
Best Regards,
YihuiSun
Monday, August 10, 2020 5:44 AM -
User-91993069 posted
Hello YihuiSun and bruce
here I add the connection string manually but the issue is not solved
this issue not solved last many couples of days but still not found any solution
please help
Monday, August 10, 2020 7:01 AM -
User-91993069 posted
still not find the solution trying to find the solution
help
Monday, August 10, 2020 9:55 AM -
User1686398519 posted
Hi rahulpas,
Do you use a database in your emps method? In your previous description, we can't see the specific error message.You can customize logging in this method to view specific errors.
Best Regards,
YihuiSun
Tuesday, August 11, 2020 9:02 AM