2 Installing the ADO.NET Data Providers : Using the Performance Tuning Wizard in Visual Studio

Using the Performance Tuning Wizard in Visual Studio
The Performance Tuning Wizard leads you step-by-step through a series of questions about your application. Based on your answers, the Wizard provides the optimal settings for performance-related connection string options for your DataDirect data provider.
You can use the Performance Tuning Wizard whether you are using the standard ADO.NET data provider or the ADO.NET Entity Framework data provider. The Performance Tuning Wizard can also be used with applications that use the Data Access Application Blocks.
NOTE: For the ADO.NET Entity Framework data provider, you can use the values generated by the Performance Tuning Wizard when you specify the options for a new connection in the Entity Data Model Wizard.
When you launch the Performance Tuning Wizard from Visual Studio, you can:
To use the Performance Tuning Wizard in Visual Studio:
1
To create a new connection, select Tools / Progress DataDirect / Run DataDirect Performance Tuning Wizard.... When the Performance Tuning Wizard Welcome dialog appears, click Next. Continue at Step 2.
To modify an existing connection, in Server Explorer, right-click a data connection, and then select Run Progress DataDirect Performance Tuning Wizard.... When the Performance Tuning Wizard Welcome dialog appears, click Next. Continue at Step 3.
2
3
The following figure shows an example of one of the questions you might be asked to answer for a DataDirect Connect for ADO.NET data provider.
Sample question in the Performance Tuning Wizard
4
Performance Wizard Result Window
Select one of the following actions:
To make the connection string available to other applications (the initial default), select Copy the connection string to clipboard. You can use the connection string in other applications.
To create a new connection, select Create a new connection with the Performance Tuning Wizard connection string options.
The Modify Connection dialog box appears, allowing you to specify a host, password, user ID, and other information. Refer to the DataDirect Connect Series for ADO.NET User’s Guide for more information.
If you launched the Performance Tuning Wizard from an existing connection, select Re-configure the connection with the additional Performance Tuning Wizard connection string options.
To create a new application, select Generate a new application pre-configured with these connection settings. In this example, the Performance Tuning Wizard was run on an Oracle connection, so an Oracle application is generated, using the DataDirect Oracle Project template. Refer to the DataDirect Connect Series for ADO.NET User’s Guide for more information about the provider-specific templates.
Define additional information for the new application:
Select Using data provider-specific interfaces to create an application that uses DataDirect provider-specific features. These applications are compatible with the ADO.NET specification Versions 1.x, 2.x, 3.0, 3.5, 3.5 SP1, 4.0, and 4.5.
Select Using the common programming interfaces to create an application that uses the ADO.NET common programming model. These applications are compatible with the ADO.NET specification Versions 2.x, 3.0, 3.5, 3.5 SP1, 4.0 and 4.5.
Type the location for the project, or, click Browse... to select the location.
5
Click Finish to exit the Performance Tuning Wizard.
If you created a new application, it is displayed in the Solution Explorer.
New application appears in the Solution Explorer.