mxGraph .NET

Installation

The following assumes that Microsoft Visual Studio Express 2012 for Web is installed. To open the solution file mxgraph-dotnet.sln in Microsoft Visual Studio Express 2012 for Web go to the File menu and click Open File...

Important!

To run the ASP.NET examples in IIS, a virtual directory must be created that maps /mxgraph to the top-level directory of this distribution.

Examples

Clients

The examples project demonstrates various aspects of the API, such as creating images, using input/output or placing a graph image in a form. Go to Debug, Start without Debugging (Ctrl-F5) to run the examples in this project.

Servers

The aspnet project demonstrates various scenarios using mxGraph, ASP.NET and IIS. Go to Build, Publish to deploy these examples and point your browser to http://localhost/ for all examples in this project. (You may have to use the application name you specified in the Deploy dialog in the URL.)

Note that the Server examples require a virtual directory to be created in IIS. The directory must map /mxgraph to the top-level directory of the distribution.

In order to publish the example to IIS, you must run Microsoft Visual Studio Express 2012 for Web in the context of an administrator account.

To change the application pool to ASP.NET v4.0 in IIS use Internet Information Services (IIS) Manager, expand Default Web Site under Connections, click on View Applications under Actions, then click Set Application Defaults... and choose ASP.NET v4.0 under Application Pool in the dialog or read this.


© 2006-2017 by JGraph Ltd.