Robert1000
Programmer
Hi
Firstly hello, im new to this forum
Anyways I've also fairly new to C# although have been programming in various other languages and web languages for the past few years ... java, asp(jscript), vb, php etc etc.
Im working on my first web service application for a client and i've structured it so that the webservice calls my class library which in turn adds relevant database entries. Im just wondering where i can store my db connect string globally so that i can access it from all the classes within my class library instead of declaring the string as a private const at the top of each library.
Also, have i designed this correctly? should i be using a class library? At the moment all i have is a validation(login/session) class and another class which handles adding/deleting of records
Cheers for any help
Rob
Firstly hello, im new to this forum
Anyways I've also fairly new to C# although have been programming in various other languages and web languages for the past few years ... java, asp(jscript), vb, php etc etc.
Im working on my first web service application for a client and i've structured it so that the webservice calls my class library which in turn adds relevant database entries. Im just wondering where i can store my db connect string globally so that i can access it from all the classes within my class library instead of declaring the string as a private const at the top of each library.
Also, have i designed this correctly? should i be using a class library? At the moment all i have is a validation(login/session) class and another class which handles adding/deleting of records
Cheers for any help
Rob