TianyuSun-MSFT! Thank you very much for your willingness to help!
However, the question was not to host an ASP.NET Core application on Linux in any way, but how to correctly collapse an application from any SQL BD into a Docker image with external storage of the database file, and then deploy this container on the Linux platform.
Only in March 2022, Microsoft documentation began to appear articles on the topic of ASP.NET Core and Docker in Visual Studio 2022, I have not yet found a real example.
I would be very grateful for any hint (navigation).
Sincerely! @Евгений Черненко
Why MVC Project with bd LocalDB .Net Core is not migrated to Docker container using VS 2022
Евгений Черненко
1
Reputation point
- First of all, thanks! Articles (Rick Anderson and Jon P Smith) (March 2022) are some of the best in Microsoft documentation in my opinion.
- When running in VS 2022 environment (in Docker mode) the MvcMovie project (example from Anderson and Smith's article) with bd LocalDB, the message "LocalDB is not supported on this platform" appears. What is the problem?
- Is there a complete guide somewhere on how to create a project (say MVC) with bd on some SQL server using the beautiful VS 2022 tool, with the conversion of this solution into Docker images for hosting on a separate Linux host? After all, these features are advertised as the main advantage of .Net Core technology, especially since Docker mode is built into VS 2022.
- It seems to me that such an end-to-end detailed guide that ensures the creation of a powerful platform-independent site using container technologies will provide a serious advantage for Microsoft products.
Well, whatever, this guide ended with recommendations for editing and saving SCSS files
DevTools. Moreover, all this is in VS 2022, but I have not found instructions so far.
Sincerely, E. Chernenko.
Developer technologies Visual Studio Other
5,451 questions
1 answer
Sort by: Most helpful
-
Евгений Черненко 1 Reputation point
2022-03-25T08:23:37.943+00:00