Last post Jul 11, 2016 07:47 AM by Angie xu - MSFT
Jul 09, 2016 06:08 PM|juilinlo|LINK
I use Visual Studio Community 2015(with asp.net core and SQL Server 2016 Express) to develop a CRUD application, everything works fine when I launch from Visual Studio with IIS express. But when I deploy it to Local IIS by using "Publish" from VS 2015, it
works except that when the application is trying to access the database, it got the following error:
Swapping to Development environment will display more detailed information about the error that occurred.
Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the
ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application.
© 2016 - MvcMybook
Jul 11, 2016 07:47 AM|Angie xu - MSFT|LINK
guide provides an overview of the tasks that are required to publish (deploy) a Visual Studio web project to a server where others can access the application over the Internet.