.NET
Microsoft Technologies based on the .NET software framework.
869 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
ASP .NET 7.0.103 MVC application is deployed to Debian Linux 8.11 (jessie). Kestrel server with Apache proxy is used.
Publish settings in latest Visual Studio are:
Trying to run it in Linux throws error
Cannot get required symbol SSL_set_alpn_protos from libssl
How to run .NET 7.0.103 application in Debian Jessie ?
.NET 6 application runs OK.
[1]: https://i.stack.imgur.com/3ws0m.png
Selft-contined Deployment Mode with .NET 7.0.103 SDK is used in latest Visual Studio:
How to use official .NET image ?
Application is published in Windows 11 using latest Visual Studio self-contained Deployment Mode with .NET 7.0.103 SDK installed from .NET downloads page. Target is linux-x64.
How to use official .NET image ?
Hi @Andrus
It is a docker image, I thought you were publishing an application through a docker container. Refer to the following articles: Docker images for ASP.NET Core. Besides, you can also refer to this article to publish application to linux: Host ASP.NET Core on Linux with Nginx.
Hi!
I dont use docker. Application is published in self-contained mode from Visual Studio IDE to folder and copied them to Debian server using FTP. This is as described in your link https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-7.0&tabs=linux-ubuntu
It worked when .NET 6 was used. After upgrading Visual Studio to latest version and then reverting back to .NET 7.0.103 runtime using global. json
running in Debian throws error
Can you be more specific, how to publish properly?
If deployed to Debian 12.2 application works. Debian 8 + .NET 6 also works. It seems to occur in Debian 8 + .NET 7.
Sign in to comment