Use d:\home on Azure, and share more logic between Ninject and kudu.exe