Click here to Skip to main content
15,902,198 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Reverse Name Assignment Pin
Shadow Sprite1-Apr-06 13:52
Shadow Sprite1-Apr-06 13:52 
QuestionHow to create a new certificate file using .net? Pin
superSYNC30-Mar-06 17:17
superSYNC30-Mar-06 17:17 
QuestionEnterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
Mr Brown Shoes30-Mar-06 14:05
Mr Brown Shoes30-Mar-06 14:05 
AnswerRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
AhClem31-Mar-06 9:49
AhClem31-Mar-06 9:49 
QuestionRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
Mr Brown Shoes31-Mar-06 14:52
Mr Brown Shoes31-Mar-06 14:52 
AnswerRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
AhClem1-Apr-06 5:35
AhClem1-Apr-06 5:35 
QuestionRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
Mr Brown Shoes2-Apr-06 14:25
Mr Brown Shoes2-Apr-06 14:25 
AnswerRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
AhClem2-Apr-06 19:36
AhClem2-Apr-06 19:36 
M'Kay,
I see your point. I always assumed that there was a Connection object that was embedded within the Database object. That's NOT the case. If you RTFC then you'll see that each invocation of one of the wrappers "new"s its own connection (at least for SQL Server). Personally, I was happier in my deluded ignorance. I guess that means that the only way to economize is to exploit connection pooling. The various ADO.Net books seem to do a good job of covering that subject in detail. Of course, there's nothing stopping you from altering or building upon the Library except having to maintain your enhancements in future versions. In a sort of poor man's DAAB I worked on at one client site, I changed a "DatabaseHelper" class (which did have an embedded Connection object) so that it left the connection in the state it found it. If an explicit Open was performed, it stayed open until an explicit Close was performed. This runs the risk of Connection leaks if you aren't careful. Perhaps that's why the authors of the Library chose the approach that they did?

Will
QuestionGeneric collections databinding question Pin
Stan Shannon30-Mar-06 5:31
Stan Shannon30-Mar-06 5:31 
QuestionSystem.Reflection and COM object Pin
doudou3130-Mar-06 5:18
doudou3130-Mar-06 5:18 
QuestionTargeting .net version Pin
Abdd0n30-Mar-06 1:53
Abdd0n30-Mar-06 1:53 
AnswerRe: Targeting .net version Pin
Vasudevan Deepak Kumar30-Mar-06 20:38
Vasudevan Deepak Kumar30-Mar-06 20:38 
QuestionHelp me to use NHibernate Pin
Balavardhan28-Mar-06 18:39
Balavardhan28-Mar-06 18:39 
QuestionStarting a console application within a windows service application Pin
Walter Vanhimbeeck28-Mar-06 3:43
Walter Vanhimbeeck28-Mar-06 3:43 
AnswerRe: Starting a console application within a windows service application Pin
Walter Vanhimbeeck28-Mar-06 22:10
Walter Vanhimbeeck28-Mar-06 22:10 
QuestionWorking directory of another process? Pin
blitr28-Mar-06 3:23
blitr28-Mar-06 3:23 
QuestionStop installation using script program Pin
monakolanji28-Mar-06 1:04
monakolanji28-Mar-06 1:04 
Questionweb cam motion detection Pin
mrbhp27-Mar-06 10:22
mrbhp27-Mar-06 10:22 
AnswerRe: web cam motion detection Pin
CWIZO27-Mar-06 21:05
CWIZO27-Mar-06 21:05 
QuestionNET Framework Version 2.0 on windows 2000 professionnal edition Pin
ss200627-Mar-06 8:30
ss200627-Mar-06 8:30 
AnswerRe: NET Framework Version 2.0 on windows 2000 professionnal edition Pin
Dave Kreskowiak27-Mar-06 10:30
mveDave Kreskowiak27-Mar-06 10:30 
GeneralRe: NET Framework Version 2.0 on windows 2000 professionnal edition Pin
Kevin McFarlane27-Mar-06 10:37
Kevin McFarlane27-Mar-06 10:37 
GeneralRe: NET Framework Version 2.0 on windows 2000 professionnal edition Pin
Dave Kreskowiak27-Mar-06 17:08
mveDave Kreskowiak27-Mar-06 17:08 
Question.net framework and hardware identify Pin
ss200627-Mar-06 1:58
ss200627-Mar-06 1:58 
AnswerRe: .net framework and hardware identify Pin
Dave Kreskowiak27-Mar-06 6:27
mveDave Kreskowiak27-Mar-06 6:27 

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.