Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
why we need to copy constring from dll in to web project
Mayank
Mar 24 2017 6:57 AM
149
Reply
I have created a dll.
I have added a entity model in to above dll.
Connection string generated in appconfig of dll for entity model.
Then created new project in solution which is web application.
Add a reference of dll in web application.
Add a new webpage in web app and call a entity model to get data from DB.
I found error no connection string found.
When I copy connection string from appconfig of DLL in to wecbconfig of webapplication then error is removed.
I just want to know why I need to copy connection string in to web config whereas I have already added a reference of dll in web project.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
programmatically press keyboard key on button click event
What is utility class ?