Link to home
Start Free TrialLog in
Avatar of Johny Bravo
Johny Bravo

asked on

Config file in Outlook add-in

Hi all,
I am developing a shared add-in,in which I am connecting to my SQL database.I want to put my connection string in app.config file and access ot from there.
And some keys also,which I should be able to read in add-in.
ASKER CERTIFIED SOLUTION
Avatar of irudyk
irudyk
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Johny Bravo
Johny Bravo

ASKER

Thanks irudyk,
but I am not sure if it works in Shared add-in
Okay, I guess I'm missing something here...I would have thought that the shared add-in would contain code that to read the connection string from the app.config file.  Is that not the case?
I put the connectionstring in app.config
But not able to get ConfigurationManager in connect.cs
I am closing this question.Appreciate ur effort of answering..Thanks.