Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8071997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:52:16+00:00 2026-06-05T13:52:16+00:00

I have a MVC project that uses foo.dll, but that foo.dll uses smu.dll so

  • 0

I have a MVC project that uses foo.dll, but that foo.dll uses smu.dll so basically I never reference smu.dll within my MVC project. The problem I´m faced with is that within my MVC project I want to be able to store ssettings in web.config so that smu.dll will read.

We have tried to use both applicationsettings and appsettings without effect, when I refernce smu.dll directly from MVC or any other program it picks up the settings without a problem. Do settings for smu.dll have to go into foo.dll app.config?

EDIT
Hello again friends, and thank you for your answers.

I found out what I was doing wrong after I read the comments. In MVC there is a web.config within the Views-folder and one web.config in the root of the project. When I used sectionGroup and applicationSettings in the “Views”-web.config the config was not read by the smu.dll. I then changed the smu.dll to read appsettings instead, whereas I then put the appSettings into to “root”-web.config, then the config file was read by the dll. I hope this makes sense but I am new to this and am still learning.

Anyway, this is finally working now 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:52:18+00:00Added an answer on June 5, 2026 at 1:52 pm

    So, you have an MVC project, and two class libraries (foo & smu) ?

    MVC -> Foo (via project reference)
    Foo -> Smu (via project reference)

    within AppSettings of web.config, you have a setting that smu should pick up?

    Shouldn’t Smu just accept a param, but not care where it comes from e.g.

    if Smu was a data-access class, and it needed a connection string – all it needs to allow the user to do is send it a connection string? so, you could then send that from Foo (as this class can access your config settings) ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I have a Visual Studio solution and an ASP.NET MVC project that uses
I have an Asp.net MVC project that modestly uses jQuery scripts. My views also
I have an ASP.Net MVC project that uses EF. I develop this application at
I have a MVC 3 project that uses Entity Framework. I can successfully update
I have a project that uses MVC 3 and Entity Franework. The site works
I have recently started a personal project that uses ASP.NET MVC (RC1 at the
I have an ASP.NET MVC project that uses a SQL Server Compact database. I
I have a asp.net project that uses mvc-mini-profiler. I was using version 1.7 of
I have an ASP.NET MVC 3 application that uses a WCF service within the
I have an asp.net mvc project that uses some search methods in a seperate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.