Example #1
0
        public override void Configure(IFunctionsHostBuilder builder)
        {
            builder.AddAppSettingsToConfiguration();

            // Initialise any common services
            CQRSAzureBindings.InitializeServices(builder.Services);

            // Initialise any outbound notifications
            NotificationDispatcherFactory.CreateDispatcher(builder.Services);

            // Initialise any inbound listeners
        }
Example #2
0
 public void Initialize(ExtensionConfigContext context)
 {
     // Add any custom bindings for this domain
     // and then add any core ones from CQRSAzureBindings.Common
     CQRSAzureBindings.InitializeInjectionConfiguration(context);
 }