I’ve popped my slides and code on my sky drive, they can be downloaded from here:
I had an excellent time, and really enjoyed giving the talk, as well as going to the other talks :) Guy and the team deserve every kudos going for putting on such an excellent event! Hopefully I’ll be back next year :)
3 comments:
In order to get it working in Visual 2008, change the first two lines in the .sln files.
Change
Microsoft Visual Studio Solution File, Format Version 11.00
to
Microsoft Visual Studio Solution File, Format Version 10.00
and
# Visual Studio 2010
to
# Visual Studio 2008
:)
and, the Services demo doesn't seem to work for me
The Unity container isn't set in ModuleTwo.
public ModuleTwo(IModuleOneService service, IRegionManager regionManager)
{
//_unityContainer = unityContainer;
_moduleOneService = service;
_regionManager = regionManager;
}
so I changed it to
public ModuleTwo(IModuleOneService service, IRegionManager regionManager, IUnityContainer unityContainer)
{
_unityContainer = unityContainer;
_moduleOneService = service;
_regionManager = regionManager;
}
and it works. Odd?
Cheers Dave, the problem with the Services solutions was a left over from some tinkering we did during the talk.
I've fixed it now so that you start off with the service being injected, but can change the commented lines to use the unity container for resolution :)
If you download it again, you're have the fixed code.
Post a Comment