Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store Connection String
Message
De
01/11/2008 05:51:32
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01358780
Message ID:
01358847
Vues:
23
>>How can I store a DB connection string with my C# project? I have different string determined by where I'm working at, so I'd like make it work around that.
>
>The application's web.config file is the recommended location. I'm pretty sure you can encrypt the connection string (or is it the entire file?).

FWIW, you can encrypt specific sections. http://www.codeproject.com/KB/aspnet/webconfig.aspx has a VB example
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform