Dec 07 2020 07:49 AM
We want to host custom solutions that run on asp.net core 3.1 / 5.
Is it supported to install .net core 3.1/5 on existing SP 2019 server (where you already have .net FX 4.7.2 running).
Purpose is to host our backend of onprem SPFx solution on same application frontends of SharePoint
Dec 07 2020 10:04 AM
Dec 07 2020 10:57 AM
Actually its SPFx based solution which needs REST API backend that communicates with SQL server. its a system with few custom forms. The backend does not use CSOM also, it uses SQL server at the backend which is also same SQL of SharePoint server.
We don't want to have new hardware for just this application, so we prefer to use same SP 2019 frontend server to host ASP.net Core 3.1/5 app as well.
Dec 07 2020 04:24 PM
Solution@Shahid Roofi Khan Personally, I wouldn't run this Web API on your SharePoint farm servers. I would host the application on another server if possible. You wouldn't want to take away resources that your SharePoint Environment needs.
Now, I don't have the specific answer to your question, but .NET core and .NET Framework can co-exist and run together on the same server in IIS. I am doing this in non-SharePoint environments, so I don't see a reason why you couldn't.
Dec 07 2020 04:24 PM
Solution@Shahid Roofi Khan Personally, I wouldn't run this Web API on your SharePoint farm servers. I would host the application on another server if possible. You wouldn't want to take away resources that your SharePoint Environment needs.
Now, I don't have the specific answer to your question, but .NET core and .NET Framework can co-exist and run together on the same server in IIS. I am doing this in non-SharePoint environments, so I don't see a reason why you couldn't.