Simple website for my company, Forloop AB (Swedish based)
Frontend is now all static files. Removed ASP.NET Core project from repo.
Added sendmail backend to an Azure Function.
- Azure Storage for hosting the static web (Blob storage)
- Azure Function
- Azure CDN (For adding SSL to custom mapped domains)
- Azure API Management (For securing HTTP-Function)
- Azure DDoS Protection (DDOS protection and Cost protection)
Hosting an SSL Custom Domain Static Website in Azure Storage Account
Azure Functions HTTP trigger -> Secure an HTTP endpoint in production
CDN Rule Engine troubleshooting
SendGrid (For sending out emails)
Purge Azure CDN endpoints (To purge all CDN endpoints and force emptying of cache)
Azure DDOS protection overview (Nice with Cost Protection)
Add required keys to your function app.
Local: Add keys to 'local.settings.json' (azure function project root)
Azure: Through the Azure portal under 'Function App(where SendMail is hosted) > Configuration > Application settings'.
Add following values:
"SendGridApiKey": "*****",
"SendToMail": "your@mail.com"