ASP.NET Core 2 Web API, Azure publish issue -
i have created sample web api returns sample data sqlite database included in project.
i able browse , run api on local computer. good.
i able publish api on azure, files getting deployed getting "publish successful" message expected.
after, whenever try browse azurewebsites.net domain, doesn't browse @ all.
once create empty web site/web app, able browse welcome page on azurewebsites.net. once publish api, getting 404 not found error, 503 error or iis 502.5 error.
i tried change settings azure portal, settings seems good, .net framework version set 4.7, project too. has idea?
i found problem
i using sqlite db, , sqlite database open in database editor. so, though visual studio published database, database file 0 byte since in use , locked.
i think short of bug. if visual studio says published successfully, believe it. wasn't successful @ all. reported bug vs team.
so, making sure non of files in use idea check.
Comments
Post a Comment