I have an dotnet app which is running in azure app service and my data base is running on Azure Vm (IAAS), now i would like to access my application with SQL Server which is running on vm.
What is the recommended solution to achieve above, should i use private endpoint or service endpoint?