Services) on Windows • Needs an App Service Plan • The App Service Plan defines the hardware resources • Made to support mainly web applications • Difficult to run • Batch processing • Scheduled tasks • Long-running processes
run functions locally. • Publish directly to Azure. • Use attributes to declare function bindings directly in the C# code. • Develop and deploy pre- compiled C# functions. • Included in the Visual Studio 2017 version 15.5
added and removed. • Pay only when your functions are running. • Scale out automatically, even during periods of high load. • App Service plan • Function apps run on dedicated App Service VMs. • Pay for the utilized resources under the App Service plan. • Functions can run longer than the maximum execution time allowed on the Consumption plan (of 10 minutes).
executions METRIC PRICE FREE GRANT (PER MONTH) Execution Time* $0.000016/GB-s 400,000 GB-s Total Executions* $0.20 per million executions 1 million executions
static methods. • Functions always receive HttpRequestMessage instance as a parameter. • DI not natively supported! • Benefits in scaling and maybe in pricing due to micro billing.
VM changes. • By using Azure Event Grid. • Process uploaded images. • By using Blob Trigger. • Respond to Service Bus event. • By using Azure Service Bus.