Application Role

A

Ace

Hi,
I am new to C# and i am developing an application using VS.Net 2005 to
create a dll that will hold all the business logic which will requires me to
connect to an msde 1.0 database to activate an application role.
My problem is how do i store and retrieve the application role user and
password in the dll without hardcoding it?
Can someone please recommend any C# book that i can use towards exam
70-316.

Many thanks for your help
 
F

Frans Bouma [C# MVP]

Ace said:
Hi,
I am new to C# and i am developing an application using VS.Net 2005
to create a dll that will hold all the business logic which will
requires me to connect to an msde 1.0 database to activate an
application role. My problem is how do i store and retrieve the
application role user and password in the dll without hardcoding it?

Often this is done in a string stored in the app.config file, and if
you encrypt it, you can safely store it and also retrieve it properly
without having to hardcode it.

FB

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top