In the second part of the walkthrough, we will cover the preparation of the OGDI DataLab solution for compiling and publishing on the Windows Azure instance. When you download the files, you will be missing the 3rd party dependencies for some of the projects in the package.
Before you start the steps below, you need to have completed all steps on setting up the Windows Azure account, storages, and service, described above.
Getting the OGDI DataLab dependencies
- Once you have downloaded OGDI DataLab solution – version 5, you can decompress it in a folder and open it in Visual Studio 2010. Make sure you run VS 2010 as administrator (right-click the VS 2010 icon while holding the [Shift] key and select Run as administrator from the context menu).
- Once you open the solution, you may notice that some references are missing. To get the latest versions of these 3rd party components, you can use the NuGet Package Manager.
- Locate the DataBrowser.WebRole project, right-click on it, and select Manage NuGet Packages…
- In the NuGet window, search for “OGDI DataLab” and you have to see the four dependency packages that are named according to the project names they relate to.
There are few other packages there so be careful to select the ones starting with “OGDI DataLab” and end on “Dependencies”.
- Select the OGDI DataLab DataBrowser.WebRole Dependencies item and click the [Install] button.
- Once the installation is complete, follow the same logic and install the other files:
– for DataService.WebRole project, install OGDI DataLab DataService.WebRole Dependencies
– for DataLoader project, install OGDI DataLab DataLoader Dependencies
- To check that all dependencies were installed correctly, rebuild the solution and make sure there are no errors. If you see errors, install the necessary dependency packages for the projects with errors.
Up to now, you have completed all steps that will allow you to compile and publish the project on the Windows Azure instance and publish your data.