My Oracle Support Banner

How to Store Connection String Information in a Web.Config File (Doc ID 1179105.1)

Last updated on DECEMBER 13, 2022

Applies to:

Oracle Data Provider for .NET - Version and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)
Internet Information Services (IIS)


To show you how to store connection string information in a web.config file when developing a web application with the Oracle Data Provider for .NET (ODP.NET).  Rather than hard-coding the connection string information along with the source code, you can store it inside the web.config file.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.