Self exercise
- Open the
packtbookslibrary-apisolution that we created earlier in Chapter 6, Implementing Continuous Deployment and Release Management, Exercises section and add a new project (select NUnit Test Project).
Figure 10.24 – Self exercise – adding a new test project
- Create a new test project.
Figure 10.25 – Self exercise – creating a new test project
- Once the test project is created, add a reference to
packtbookslibrary-apiin Dependencies.
Figure 10.26 – Self exercise – configuring Dependencies
- Add a Services folder and then add the
IBookService.csinterface and theBookService.csclass, which implements theIBookServiceinterface.
Figure 10.27 – Self exercise – adding the IBookService.cs interface
IBookService.cswill have the following code:using packtbookslibrary.Shared.Models...