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

.NET (Core and Framework)

 
AnswerRe: Reverse Name Assignment Pin
Dave Kreskowiak31-Mar-06 5:44
mveDave Kreskowiak31-Mar-06 5:44 
GeneralRe: Reverse Name Assignment Pin
Dan Neely31-Mar-06 6:01
Dan Neely31-Mar-06 6:01 
GeneralRe: Reverse Name Assignment Pin
Dave Kreskowiak31-Mar-06 6:59
mveDave Kreskowiak31-Mar-06 6:59 
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 
Thanks for the reply Will,

The application in question is a web services project that returns data to both an ASP.NET and Windows Forms App so your recommendation won't really apply. At first I tried dragging and dropping connections and data adapters etc onto my web services file but I found the code generated to be very untidy. I instead opted to have my web service class contact a business facade, which then contacts other classes in a business layer, which finally contact a database layer where I have utilised the DAAB.

So to further define my question; do I create the Database object in the global.asax session start method, and then use the reference in each class required in the data layer? Do I create the connection each time a service is requested and pass it down to each class required in the data layer? Or do I just use the DatabaseFactory.CreateDatabase() method when it is required within each method of my data layer classes? I notice that when using a Database object supplied by the DAAB that you do not specify the connection string when you use a method such as 'ExecuteNonQuery', this suggest to me that the connection can be managed at this lower level.
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 
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 

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.