Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am having one SharePoint project with app.config file.

Creating another console application with some business logic where I want to access those application settings.

What is the best way to achieve this?

share|improve this question
    
So both apps are console/winforms or is one of them a web app? –  Ryan Nov 6 '12 at 11:23
    
One is web app- sharepoint project and another one is console. from console wants to read app.config of web app –  Anuja Nov 6 '12 at 11:29
add comment

1 Answer 1

up vote 1 down vote accepted

Use the Application Settings Manager from Microsoft's patterns and practices group to store your settings, instead of web.config.

http://msdn.microsoft.com/en-us/library/ff798488.aspx

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.