Last post Sep 01, 2020 02:41 PM by PatriceSc
Aug 30, 2020 05:19 AM|fatihbarut|LINK
I want to host my web site in a Win Server 2012 R2 machine
Can you tell me which publish method combination is the best;
Aug 31, 2020 06:11 AM|Rena Ni|LINK
Can you tell me which publish method combination is the best
It is hard to say which is the best.It depends on evertyone's different project.You need know what is the advantage and disadvantage between them,then you could choose the more fitbale way.
Framework dependent: The server has DotNetCore framework libraries installed, you only deploy your own code and third party codes other than the framework.
Self-contained: You deploy all the code required to run your application including the framework. The server doesn't have to have the framework installed
More details about the two options you could refer to the docs:
Sep 01, 2020 01:51 PM|fatihbarut|LINK
I believe there is still a certain answer.
Sep 01, 2020 02:41 PM|PatriceSc|LINK
Not really but I would suggest to start with Framework-Dependent Win64. You need to install the runtime but each app could benefit from the latest security patch: see https://docs.microsoft.com/en-us/dotnet/core/versions/selection#framework-dependent-apps-roll-forward for
Move then to "self contained" if you really prefer to always run with the runtime that shipped with your app.