Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When to connect
Message
De
20/01/2005 21:34:50
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Divers
Thread ID:
00978766
Message ID:
00979163
Vues:
25
>While I used to agree with this, your opinion seems to contradict what others here recommend.<

It depends on whose opinion you're talking about. <g> I've already stated that I think you should not keep an open connection. If you connect to your backend via Web Services, you are not keeping the connection open in between hits to the Web Service.

~~Bonnie

>
>
>>Kevin,
>>
>>Connecting to the data source should be done every time you wish to select, insert, update, or delete data. As much as possible, a connection should not be established at startup and kept active all through the life of your application.
>>
>>Martin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform