Last post Aug 11, 2020 09:02 AM by YihuiSun
Aug 08, 2020 10:16 AM|rahulpas|LINK
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?
Aug 08, 2020 04:09 PM|bruce (sqlwork.com)|LINK
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.
Aug 10, 2020 05:44 AM|YihuiSun|LINK
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.
Aug 10, 2020 07:01 AM|rahulpas|LINK
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
Aug 10, 2020 09:55 AM|rahulpas|LINK
still not find the solution trying to find the solution
Aug 11, 2020 09:02 AM|YihuiSun|LINK
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.