Omiting tnsnames.ora using Microsofts OracleConnection

Connection string

This .NET Framework Data Provider for Oracle connection string can be used for connections to Oracle.

This is another type of Oracle connection string that doesn't rely on you to have a DSN for the connection. You create a connection string based on the format used in the tnsnames.ora file without the need to actually have one of these files on the client pc.