Setting up XBAP Project Environment

Setting up XBAP Environment is a simple process. By following these few steps you'll be able to set a new XBAP project.

 

All you need is:

 

 

Note: Get the latest version of Visifire from Download Section.

 

The following steps will tell you how to set up a XBAP Project Environment:

 

Step 1:

 

Go to Microsoft® Visual Studio 2008 > File > New > Project.

 

Step 2:

 

In New Project window, click on Visual C# and select WPF Browser Application as shown below:

 

 

 

Step 3:

 

After we select WPF Browser Application following window will appear:

 

 

Step 4:

 

Now we need to add the reference to WPFVisifire.Charts.dll. For that right click on References in Solution Explorer (on Right side of window), click on Add Reference and browse to folder which contains WPFVisifire.Charts.dll file as shown below.

 

 

After you select WPFVisifire.Charts.dll, the file will appear under References as shown below:

 

 

Step 5:

 

After adding reference to WPFVisifire.Charts.dll, Right click on Page1.xaml in Solution Explorer and click on View code, which will open the code window where you can write Managed Code and draw the chart. Managed Code window will appear as follows:

 

 

To learn about writing Managed Code go to Managed Code XBAP Sample.