Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: Virtual methods and reduntant XmlDoc Pin
dojohansen31-Oct-09 2:31
dojohansen31-Oct-09 2:31 
QuestionC# application slow to response after period of inactivity Pin
RobScripta30-Oct-09 3:48
professionalRobScripta30-Oct-09 3:48 
AnswerRe: C# application slow to response after period of inactivity Pin
Saksida Bojan30-Oct-09 4:45
Saksida Bojan30-Oct-09 4:45 
GeneralRe: C# application slow to response after period of inactivity Pin
RobScripta30-Oct-09 5:20
professionalRobScripta30-Oct-09 5:20 
GeneralRe: C# application slow to response after period of inactivity Pin
Saksida Bojan30-Oct-09 5:40
Saksida Bojan30-Oct-09 5:40 
AnswerRe: C# application slow to response after period of inactivity Pin
Paulo Zemek30-Oct-09 7:21
mvaPaulo Zemek30-Oct-09 7:21 
GeneralRe: C# application slow to response after period of inactivity Pin
RobScripta30-Oct-09 21:40
professionalRobScripta30-Oct-09 21:40 
GeneralRe: C# application slow to response after period of inactivity Pin
dojohansen31-Oct-09 22:40
dojohansen31-Oct-09 22:40 
PosiRob wrote:
do you have an example of a keep alive command ?


Yes: SELECT 1

I think what he means by a "keep-alive command" is simply *any* command executed for the purpose of keeping the connection alive, not a special command.

Be aware that if you are using connection pooling, calling Close() does not actually close the connection to the database (it simply returns the connection to the pool). A whole minute to re-establish the connection sounds like a lot, but then I don't know anything about your environment or how you connect to the database.
GeneralRe: C# application slow to response after period of inactivity Pin
Paulo Zemek1-Nov-09 2:57
mvaPaulo Zemek1-Nov-09 2:57 
QuestionHow to show "Press any key to Continue" Pin
yakupc30-Oct-09 3:41
yakupc30-Oct-09 3:41 
AnswerRe: How to show "Press any key to Continue" Pin
Richard MacCutchan30-Oct-09 3:55
mveRichard MacCutchan30-Oct-09 3:55 
GeneralRe: How to show "Press any key to Continue" Pin
vtchris-peterson30-Oct-09 4:14
vtchris-peterson30-Oct-09 4:14 
GeneralRe: How to show "Press any key to Continue" Pin
yakupc30-Oct-09 4:18
yakupc30-Oct-09 4:18 
AnswerRe: How to show "Press any key to Continue" PinPopular
Luc Pattyn30-Oct-09 3:56
sitebuilderLuc Pattyn30-Oct-09 3:56 
GeneralRe: How to show "Press any key to Continue" Pin
dojohansen31-Oct-09 22:42
dojohansen31-Oct-09 22:42 
AnswerRe: How to show "Press any key to Continue" Pin
vtchris-peterson30-Oct-09 4:31
vtchris-peterson30-Oct-09 4:31 
AnswerRe: How to show "Press any key to Continue" Pin
PIEBALDconsult30-Oct-09 4:40
mvePIEBALDconsult30-Oct-09 4:40 
GeneralRe: How to show "Press any key to Continue" Pin
Luc Pattyn30-Oct-09 6:28
sitebuilderLuc Pattyn30-Oct-09 6:28 
GeneralRe: How to show "Press any key to Continue" Pin
PIEBALDconsult30-Oct-09 7:18
mvePIEBALDconsult30-Oct-09 7:18 
QuestionSQLite Pin
jashimu30-Oct-09 3:04
jashimu30-Oct-09 3:04 
AnswerRe: SQLite Pin
Not Active30-Oct-09 3:20
mentorNot Active30-Oct-09 3:20 
AnswerMessage Closed Pin
30-Oct-09 4:04
stancrm30-Oct-09 4:04 
GeneralRe: SQLite Pin
jashimu30-Oct-09 5:09
jashimu30-Oct-09 5:09 
AnswerRe: SQLite Pin
Amit Patel198530-Oct-09 4:10
Amit Patel198530-Oct-09 4:10 
AnswerRe: SQLite Pin
Eddy Vluggen30-Oct-09 5:53
professionalEddy Vluggen30-Oct-09 5:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.