Code Downloads & Errata

If you have purchased a Packt book and/or video, you can use this page to
  • Download the code or support files
  • View errata and amendments
  • Send us feedback

You selected

Mastering Ninject for Dependency Injection

Daniel Baharestani

Published 2013-09-25

Downloads

Please register your e-mail address to download files. We will e-mail you with a direct link to the code download. If you have bought this book, you can login to your account and download the code files from your account page.

Before downloading the files please tell us where you purchased this book.

Would you like to receive occasional emails about free content, recommended titles and site wide deals? you can unsubscribe at any time.

Errata

- 3 submitted: last submission 09 May 2016

Page No: 79 Type: Code-related

It is :Now that we are done with CustomerForm, we need to show it from  MainForm  in
the  Click event handler of  saveButton

 

It should be: Now that we are done with CustomerForm, we need to show it from  MainForm  in
the  Click event handler of  createButton

 

It is : Introducing a new dependency to  CustomerForm in constructor, because  
this way we will receive only one instance of  CustomerForm, while after
closing that instance, we will need another one for subsequent clicks on the
Save button

 

It should be:Introducing a new dependency to  CustomerForm in constructor, because  
this way we will receive only one instance of  CustomerForm, while after
closing that instance, we will need another one for subsequent clicks on the
Create button

Pg No;80  Errata type: Code related

It is: private void saveButton_Click(object sender, EventArgs e)

 

It should be: private void createButton_Click(object sender, EventArgs e)

Page No.:34 |Chapter No.: 2 | Errata Type: Technical

The mentioned line is:

At this step, we don't need Visual Studio anymore; we can navigate to the output directory of our application and just change the service type in the configuration file to "Samples.Encryption.IEncryptor, Encryptors".

The correct line should be:

At this step, we don't need Visual Studio anymore; we can navigate to the output directory of our application and just change the service type in the configuration file to "Samples.Encryption.ReverseEncryptor, Encryptors".