dotConnect for Snowflake provides design-time integration with Visual Studio 2017, 2019, 2022, and 2026 through Data Designer Extensibility (DDEX). This integration lets you manage Snowflake 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 Snowflake, you can create connections to Snowflake and browse the available objects.
Server Explorer lists the tables and views of the database. Expand a table to view its columns, primary keys, and foreign keys, or expand a view to view its columns. To view the data of a table or a view, right-click it and select Show Table Data.
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 Snowflake 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 |
|---|---|
| Domain | Specifies the address of your Snowflake account, for example, myorg-myaccount.snowflakecomputing.com. You can also specify only the account identifier. |
| Authentication | Specifies the authentication type to use: Programmatic Access Token (Basic in the connection string), OAuth 2.0 (OAuth2 or OAuth2Interactive in the connection string), or Key-pair. |
| User | Specifies the login name of the Snowflake user. Required for Programmatic Access Token and Key-pair authentication. |
| Password (PAT) | Specifies a programmatic access token of the Snowflake user. A password also works if the user isn't required to use multi-factor authentication. Required for Programmatic Access Token authentication. |
| Client Id | Specifies the client ID of the OAuth client that the refresh token was issued for. Required for OAuth 2.0 authentication. |
| Client Secret | Specifies the client secret of the OAuth client. Required for OAuth 2.0 authentication. |
| Refresh Token | Specifies the OAuth 2.0 refresh token. Required for OAuth 2.0 authentication. To get it, click Sign in to Snowflake. |
| Sign in to Snowflake | Starts the interactive OAuth flow in the browser and, after successful authorization, fills out the Refresh Token field and sets Authentication Type to OAuth2Interactive in the connection string. This option is available for OAuth 2.0 authentication. |
| Redirect URI | Displays the redirect URI that you must register in the security integration of your OAuth client in Snowflake. This option is available for OAuth 2.0 authentication. |
| Private Key | Specifies the private key of the user in the PEM format or the path to the key file. Click the ellipsis (...) to select the key file. Required for Key-pair authentication. |
| Passphrase | Specifies the passphrase of an encrypted private key. Available for Key-pair authentication. |
| Database | Specifies the Snowflake database to connect to. Required: Server Explorer shows the tables and views of this database. If it is empty, Test Connection reports that the database is missing, and the OK button is unavailable. |
| Warehouse | Specifies the virtual warehouse that executes queries. If it is not specified, the default warehouse of the user is used. |
| Schema | Specifies the default schema of the connection. If it is not specified, Server Explorer shows the objects of all schemas of the database. |
| Role | Specifies the role used in the session. If it is not specified, the default role of the user is used. |
| Allow saving security info | Lets you save the password, the secrets, and the private key for future connections. |
For more information on the authentication types, see Authentication.
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 Snowflake 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: