Example and Exercise Files
Click hereOpens in a new tab to download the sample files for the tutorial.
There are two Visual Studio solutions and one XML file containing Caché class definitions associated with this tutorial:
-
PhonebookSoln — This solution contains the completed code for the tutorial projects. The solution contains two projects: PhonebookObj( Part II of the tutorial) and Phonebook (Part III of the tutorial). To build and execute these projects complete the following steps:
-
Using Studio, install, compile, and populate the Caché data classes. Click here for instructions.
-
In Visual Studio, set the startup project by clicking Project –> Set as StartUp Project. Do this for either the PhonebookObj or Phonebook project, depending on which one you are working on.
-
In Visual Studio, add a reference to the Caché Managed Provider. See Part I for instructions.
-
For PhonebookObj, use CacheNetWizard to create .NET proxies for the Caché data classes. See Part I for instructions.
-
In Visual Studio, add the appropriate namespace, user, and pwd information to the configuration file (Phonebook.exe.config or PhonebookObj.exe.config).
-
In Visual Studio, build the project by clicking Build –> Compile.
-
In Visual Studio, launch the project by clicking either Debug –> Start Debugging or Debug –> Start Without Debugging.
-
-
Phonebook — This solution contains the skeleton code for the tutorial projects. The solution contains two Visual Studio projects: PhonebookObj( Part II) and Phonebook( Part III).
-
Contacts.xml — This file contains the Caché class definitions for the tutorial projects. Click here for instructions on installing and populating the Caché classes.