Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created November 21, 2016 02:04
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/12cf6fccbf7dfd6fc78262bd8b21e24f to your computer and use it in GitHub Desktop.
Save justinyoo/12cf6fccbf7dfd6fc78262bd8b21e24f to your computer and use it in GitHub Desktop.
Managing Dependencies in Azure Functions
#r "..\Shared\bin\Autofac.dll"
#r "..\Shared\bin\Autofac.Extras.CommonServiceLocator.dll"
#r "..\Shared\bin\AutoMapper.dll"
#r "..\Shared\bin\Functions.EntityModels.dll"
#r "..\Shared\bin\Functions.IoC.dll"
#r "..\Shared\bin\Functions.Mappers.dll"
#r "..\Shared\bin\Functions.Models.dll"
#r "..\Shared\bin\Functions.Services.dll"
#r "..\Shared\bin\Microsoft.Practices.ServiceLocation.dll"
using System;
using Functions.EntityModels;
using Functions.IoC;
using Functions.Mappers;
using Functions.Models;
using Functions.Services;
using Microsoft.Practices.ServiceLocation;
// Create an instance of the service locator.
static Functions.IoC.ServiceLocator locator = new Functions.IoC.ServiceLocator();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment