We already have ASP.Net Web API Core services running on Azure under IIS. The problem is the existing example for IIS configuration (written for IIS 7.5) of SendGrid makes no sense given that Azure 1) doesn't allow creation of an SMTP server, and 2) doesn't run IIS 7.5, but it runs IIS 10.
Can someone post exact steps, if any, to ensure that we can run our SendGrid C# ASP.Net Core API on an Azure virtual machine under IIS on Azure?
I should mention that we're doing this because our client HTML5 web apps, which call our web services, are also running on the same IIS instance and referenced within the same domain.
What we don't want to do is get into the complexity of running a custom Azure API running SendGrid on some other server/cloud instance not sharing the same domain. Though I understand the reason for doing this for some scalability, this is out of scope for what we need to more simply accomplish.
It's already disappointing that we can't directly host SMTP on Azure, but have to use a SendGrid as a third party product to accomplish the same functionality for our user. Almost every web app on the planet needs to perform SMTP services, and this thus defeats any simplicity of using Azure for Web App hosting.