While WebAPI would give you maximum flexibility for your requirements, another option you could consider is Custom Handlers.
This approach allows you to implement your WebAPI as required while still running on a serverless consumption plan.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to use a custom IoC Container in Azure Functions to decorate my commands with aspects and subscribe to event handlers. Unfortunately MS.DI does not handle Decorator or Composite and so want to use SimpleInjector or Autofac instead.
Also would like to inject HttpContextAccessor in a UserContext to my domain layer rather than pass into Command Parameter Objects. But Functions seems to demand reading Request message manually. Am thinking WebAPI might be a better suited platform for developing an enterprise system with Command Query AoP and complex authorisation of Command logic? Any good reading resources or advice?
While WebAPI would give you maximum flexibility for your requirements, another option you could consider is Custom Handlers.
This approach allows you to implement your WebAPI as required while still running on a serverless consumption plan.