This project shows how to create a service using WebJobs SDK ready to be deployed in AKS, with Application Insights integration, console logging, etc.
Blog post: https://dev.to/deyanp/f-app-stub-for-aks-hosting-with-webjobs-but-without-azure-functions-fluff-43lj
-
Create an Azure resource group with:
- Application Insights
- Event Hub Namespace, Event Hub, consumer group "test-cg"
- Storage Account
-
Edit Properties/launchSettings.json and replace all "TODO" with proper configuration:
- Application Insights Instrumentation Key
- Event Hub Connection String, including event hub path (name)
- Storage Queue Connection String
-
Compile and Run
- (dotnet restore)
- dotnet build
- dotnet run
-
Deploy (Docker, ACR, AKS) - TODO