TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Diane
NA
33
26.7k
.NET 2008 app connect to database
Jul 16 2011 6:07 PM
I am trying to understand how a connection string obtains its value in a C#.net 2008 application. By stepping through code,
I found that a connection string obtained its value from the following line of code:
RemotingConfiguration.Configure("Useall.Desktop.exe.config", false);
By doing a search on the .net application, I found the Useall.Desktop.exe.config file in the bin/debug folder of the application.
Thus I am wondering if the connection string information is initally obtained from the Useall.Desktop.exe.config file or would it obtain its inital values from an app.debug.config file?
Would you explain the .net remoting and configuration manager interdependency to me? If they are separate items, could you explain that to me? If not, would you point me to a reference to look up this issue?
Reply
Answers (
2
)
Want create my first project with DB
Move from sql server 2005 to sql server 2008 r2