Click here to Skip to main content
15,922,015 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: java script:problem with creating web control Pin
Tomas Petricek9-Oct-04 14:41
Tomas Petricek9-Oct-04 14:41 
Generalproblem with web page Pin
cmarmr8-Oct-04 10:08
cmarmr8-Oct-04 10:08 
GeneralRe: problem with web page Pin
Colin Angus Mackay8-Oct-04 10:54
Colin Angus Mackay8-Oct-04 10:54 
GeneralRe: problem with web page Pin
cmarmr8-Oct-04 11:17
cmarmr8-Oct-04 11:17 
GeneralRe: problem with web page Pin
Colin Angus Mackay8-Oct-04 11:32
Colin Angus Mackay8-Oct-04 11:32 
GeneralXSL Transform and ASP question Pin
Adam Gritt8-Oct-04 4:55
Adam Gritt8-Oct-04 4:55 
General"Web Access Failed" error while creating Web Applications Pin
Hadi Fakhreddine7-Oct-04 20:54
Hadi Fakhreddine7-Oct-04 20:54 
GeneralRe: "Web Access Failed" error while creating Web Applications Pin
Syed Abdul Khader8-Oct-04 1:14
Syed Abdul Khader8-Oct-04 1:14 
GeneralVS.NET: Error while creating Web Applications Pin
Hadi Fakhreddine7-Oct-04 20:48
Hadi Fakhreddine7-Oct-04 20:48 
GeneralRe: VS.NET: Error while creating Web Applications Pin
Gavin Jeffrey7-Oct-04 22:25
Gavin Jeffrey7-Oct-04 22:25 
Generalspell check Pin
Techroot7-Oct-04 20:13
Techroot7-Oct-04 20:13 
GeneralInternal Server Error Pin
missnazar6-Oct-04 16:56
missnazar6-Oct-04 16:56 
GeneralFile upload using default file name Pin
Hussam Ahmad5-Oct-04 22:35
Hussam Ahmad5-Oct-04 22:35 
GeneralRe: File upload using default file name Pin
Mohit Raj6-Oct-04 18:47
Mohit Raj6-Oct-04 18:47 
GeneralDatagrid sorting / Dataview sorting Pin
sucharita5-Oct-04 11:30
sucharita5-Oct-04 11:30 
GeneralRe: Datagrid sorting / Dataview sorting Pin
Gavin Jeffrey7-Oct-04 22:32
Gavin Jeffrey7-Oct-04 22:32 
GeneralRe: Datagrid sorting / Dataview sorting Pin
sucharita8-Oct-04 6:16
sucharita8-Oct-04 6:16 
GeneralRe: Datagrid sorting / Dataview sorting Pin
Gavin Jeffrey10-Oct-04 20:32
Gavin Jeffrey10-Oct-04 20:32 
GeneralRe: Datagrid sorting / Dataview sorting Pin
sucharita11-Oct-04 7:42
sucharita11-Oct-04 7:42 
GeneralRe: Datagrid sorting / Dataview sorting Pin
Gavin Jeffrey11-Oct-04 22:06
Gavin Jeffrey11-Oct-04 22:06 
GeneralRe: Datagrid sorting / Dataview sorting Pin
sucharita12-Oct-04 10:51
sucharita12-Oct-04 10:51 
GeneralWeb.Config Pin
Maharishi Bhatia3-Oct-04 20:54
Maharishi Bhatia3-Oct-04 20:54 
GeneralRe: Web.Config Pin
Steven Campbell4-Oct-04 5:35
Steven Campbell4-Oct-04 5:35 
My personal view on this is "neither". Rather structure your library's methods and constructors so that they accept the settings as parameters. Then, it is up to the caller application to either hard-code the values or deal with the config file issue.

This approach also makes for easier unit testing your library, because your tests can easily deal with several different testing scenarios.


my blog
GeneralRe: Web.Config Pin
Maharishi Bhatia5-Oct-04 2:04
Maharishi Bhatia5-Oct-04 2:04 
GeneralRe: Web.Config Pin
Steven Campbell5-Oct-04 6:34
Steven Campbell5-Oct-04 6:34 

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.