Visual Studio Add-in Configuration

The Web Connection Visual Studio Add-in provides a number of useful features that makes editing and previewing Web Control Framework pages easier.

Visual Studio only support
The Web Connection Add-in only works in full versions of Visual Studio due to limitations by Microsoft in all of the Express versions. It won't work in Visual Web Developer.

The add-in is available on any Web Connection Control markup pages (both in HTML markup or in the visual designer) and pops up via right click on the Context menu:

The last four items on this context menu make up the add-in operation:

Add-in Location

Visual Studio Add-ins can be added with a .addin file in the <documents>\Visual Studio 200x\Addins folder. The Add-in file contains XML meta data that points at the name, icon and physical filename of the Add-in. The Web Connection Add-in's physical location is located in:

<WebConnectionInstall>\Visual Studio\WebConnectionAddin\

where you can find the DLL and resource dlls. The add-in is updated automatically with a Web Connection update if you copy the full installation ontop of an existing version.

Add-in specific Web.Config Configuration Settings

The Add-in uses several configuration settings to configure its operation using the generic AppSettings section in web.config.

Most importantly the Add-in needs to know the location of your Web path (ie. your virtual path and your physical file path) to your markup pages as well as the base FoxPro path where source code files are stored. Most of the other keys are optional and are defaulted.

Here's what a configuration section looks like:

<configuration> <appSettings> <add key="FoxProjectBasePath" value="c:\wwapps\wc3\" /> <add key="WebProjectBasePath" value="c:\westwind\wconnect\" /> <add key="WebProjectVirtual" value="http://rasnote/wconnect/" /> <add key="IdeOnLoadPrg" value="OnLoadIde.prg"/> <add key="WebBrowser" value="" /> <add key="WebBrowserAlternate" value ="c:\programs\firefox\firefox.exe"/> <add key="FoxProEditor" value="" /> <add key="FoxProEditorAlternate" value="C:\Programs\EditPadPro6\editpadpro.exe" /> </appSettings> <configuration>

Here's what each of the keys mean:

Only the first three keys are required to be configured - all the remainders are optional. If you don't specify WebBrowserAlternate or FoxProEditorAlternate the alternate menu options are not shown.



  Last Updated: 10/24/2007 | © West Wind Technologies, 2008