Can SQL Server Express be used in a production ASP.Net Core website? I assume not. Is there a relatively simple way to do it?
I have a website I use only locally and only for myself and for educational purposes, so it is not really production. I have created a simple ASP.Net Core CRUD appliaiton. It works great using a debug build. When I publish it to my website, it cannot find SQL Server.
I know I have at least the following options.
- Use a debug build for my website
- Install the developer's version of SQL Server
- Use a different DB, such as SQLIte
I just want to confirm that there is not an easy way to use SQL Server Express for this before I switch to an alternative such as the preceding.


Vishal YelveRank #178 · 13.6K reputationPosted Aug 22, 2022, 1:19 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Aug 22, 2022, 8:39 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Aug 22, 2022, 10:30 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Aug 22, 2022, 12:16 PM EDT
See:
And Part 2 of that. The answer is that it is not easy.
Nitin SontakkeRank #264 · 9.6K reputationPosted Aug 23, 2022, 1:58 AM EDT