How to deploy Neo4j to Azure with Visual Studio 2012 - Download and Configure the Neo4j.Azure.Server Solution

UPDATE 7/12/2013: This blog post series was created with Azure SDK 1.8. I spent a bit of time trying to upgrade it to Azure SDK 2.0 and ran into too many breaking changes and not enough motivation to figure them all out. I recommend following the steps in this post: “Point-Click Deployment of Neo4j to Windows Azure“ instead. Thanks, Jon

Part 0. How to deploy Neo4j to Azure using Visual Studio 2012 – Overview

Part 1. Create Azure Account and Prepare Azure for Neo4j Deployment

Part 2. Download the Azure SDK and Configure Azure in Visual Studio Server Explorer

Part 3. Download and Configure the Neo4j.Azure.Server Solution

Part 4. Upload Java and Neo4j to Azure

Part 5. Deploy Neo4j to Azure

<—Previous Step Next Step –>

The Neo4j.Azure.Server Solution

Raymond Tsang did the community a huge favor and took the VS2010 Neo4j.Azure.Server SLN and converted it to VS2012. I’m going to use that as a base. You can read his post for more info Neo4j.Azure.Server.zip file, but if you are running VS2012 you should download my version which is updated with Neo4j 1.8.2 and Windows Azure Tools – October 2012. You may want to download his version if you are running VS2010 because I don’t have VS2010 and didn’t touch that solution. I’ll do my best to keep it updated when new Neo4j and Azure SDK versions come out, but no promises.

Get the Neo4j.Azure.Server Solution

Download and extract the Neo4j.Azure.Server.zip file.

Fix Neo4j.Azure.Server Dependencies

Open the Neo4j.Azure.Server.sln file for VS2012 and the Neo4j.Azure.Server.vs2010.sln for VS2010.

Try to build it. If it builds then move onto the next step. If it doesn’t then try refreshing the NuGet packages in two different ways:

Option 1

Right click on the solution and select “Enable NuGet Package Restore” >
> And click Yes…

If the “Enable NuGet Package Restore” option isn’t available then try…

Option2

Right click on the solution and select “Manage NuGet Packages for Solution…”
image_thumb38

You will see “Some NuGet packages are missing from this solution.” at the top of the dialog. Click Restore.
image_thumb73

Build the Solution, just to make sure all is good.

Alright, Neo4j.Azure.Server is ready to go. Move on to the next step…

<—Previous Step Next Step –>

Share