Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created September 5, 2017 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/f7325b36b259a7a45ba28d708d1593c8 to your computer and use it in GitHub Desktop.
Save justinyoo/f7325b36b259a7a45ba28d708d1593c8 to your computer and use it in GitHub Desktop.
Make Your Azure WebJobs Testable Again
public class WebJobModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<Helper>().AsSelf().InstancePerDependency();
builder.RegisterType<Functions>().AsSelf().InstancePerDependency();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment