Repository navigation
Missing Ninject #4
Description
Activity
Sorry, we are still working on completing this. It will be done within the next few weeks.
It looks like none of the bin files are included, and I'm not sure what version of NuGet is used, but when I load the solution, the auto download of the version doesn't appear to be working. I've gone through and resolved all the dlls however, i'm getting issues with the Ninject at NinjectWebCommon.cs.
During debug, right before the error is thrown, its looking for a source file that's apparently missing.
Sequence contains no elements
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Sequence contains no elements
Source Error:
Line 23: DynamicModuleUtility.RegisterModule(typeof(OnePerRequestHttpModule));
Line 24: DynamicModuleUtility.RegisterModule(typeof(NinjectHttpModule));
Line 25: bootstrapper.Initialize(CreateKernel);
Line 26: }
Line 27:@argrithmag Sorry, NuGet Package Restore was not enabled. I'm not sure what assemblies you used so I can't help troubleshoot your problem. Please try to get the latest source code and rebuild with the correct packages now that Package Restore is enabled.
The only other thing that I'm running into, with getting this example launched is that even with changing the code to drop and create always, the database is not getting the tables created off of the model:
So because of that I get an object not set to a reference object when hitting the listing for the auctions.
It looks promising though.
+1 on getting the Ninject examples built in.
@argrithmag: Try the latest code. It should resolve the null reference error.


In the book you demonstrate (p.109) Ninject using EBuy solution - but there is no code for this?