dotConnect for Google BigQuery provides design-time integration with Visual Studio 2017, 2019, 2022, and 2026 through Data Designer Extensibility (DDEX). This integration lets you manage Google BigQuery connections in Server Explorer and use Visual Studio's built-in data design tools, including DataSet Designer, Data Source Configuration Wizard, TableAdapter Configuration Wizard, Query Builder, and data preview features. You can also configure the SqlDataSource control in ASP.NET applications.
This article explains the available integration features and how to use them.
Server Explorer is a Visual Studio window for managing server connections and exploring database objects. With dotConnect for Google BigQuery, you can create connections to Google BigQuery and browse the available objects.
Server Explorer lists Google BigQuery objects. Expand an object to view its fields.
Connections created in Server Explorer are also available to other Visual Studio data design tools.
To open Server Explorer, select View > Server Explorer.
The Add/Modify Connection dialog lets you create new Google BigQuery connections and modify existing ones.

You can open the dialog in one of the following ways:
The following table describes the connection settings available in the dialog.
| Setting | Description |
|---|---|
| Authentication | Specifies the authentication type to use: UserAccount or ServiceAccount. UserAccount uses a refresh token to authorize access to Google BigQuery. ServiceAccount uses a private key JSON file to authorize access to Google BigQuery. |
| Project Id | Specifies the unique identifier of the Google BigQuery project. |
| DataSet Id | Specifies the unique name of the dataset inside the project namespace. |
| Refresh Token | Specifies the OAuth 2.0 refresh token that authorizes access to your Google BigQuery data. Refresh Token is required for UserAccount authentication. |
| Sign In | Starts the interactive OAuth flow. This option redirects you to the Google sign-in page and, after successful authorization, fills out the remaining fields automatically. This option is available for UserAccount authentication. |
| Private Key JSON | Specifies the JSON key of the service account used to authorize access to Google BigQuery. Private Key JSON is required for ServiceAccount authentication. Click the ellipsis (...) to select the JSON key file. |
| Allow saving security info | Lets you save the token or private key for future connections. |
After you specify the connection settings, click Test Connection to verify the connection, then click OK.
The Advanced Properties dialog provides access to all dotConnect for Google BigQuery connection properties, including advanced settings that are not available in the Add/Modify Connection dialog. Use this dialog to configure additional connection parameters when necessary.
Data Source Configuration Wizard lets you create and configure data sources for your application. Data sources can be based on databases, web services, or objects and can be bound to controls that display data on forms.
For Windows Forms applications, the wizard can generate a DataSet and add it to your project. The generated DataSet appears in the Data Sources window, where you can drag its elements onto forms to create data-bound controls. You can further customize the DataSet using DataSet Designer and TableAdapter Configuration Wizard.
You can open Data Source Configuration Wizard in one of the following ways:

To create a data source:
After completing the wizard, you can view and modify the generated DataSet in Solution Explorer.
TableAdapter Configuration Wizard lets you create and configure TableAdapters based on SQL statements.
A TableAdapter connects to a database, executes queries, and populates a DataTable with the returned data. It can fill an existing DataTable or create and return a new one.
To open TableAdapter Configuration Wizard, open the DataSet in DataSet Designer, right-click the TableAdapter, and select Configure.
Parameterized queries let you retrieve data that matches specific conditions without hardcoding values into SQL statements.
To create a parameterized TableAdapter query, open the DataSet in DataSet Designer, right-click the TableAdapter, and select
Add Query. In the wizard, enter a SELECT statement with a parameter in the WHERE clause.
Web SQL Data Source Wizard lets you configure data sources for ASP.NET web controls. It provides functionality similar to Data Source Configuration Wizard.
To configure a data source for an ASP.NET web control: