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 4267506
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:54:32+00:00 2026-05-21T06:54:32+00:00

I am using this in ASp.net MVC Test project: ConfigurationSettings.AppSettings[myconn] and I get green

  • 0

I am using this in ASp.net MVC Test project:

ConfigurationSettings.AppSettings["myconn"] and I get green line under this method saying this method is obsolete and I should use ConfigurationManager.appsettings but configurationManager is not available in intellisence I have included

using system.Configuration at the top of Unit Test class.

  • 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-05-21T06:54:33+00:00Added an answer on May 21, 2026 at 6:54 am

    You need to add a reference to System.Configuration in your project first. Then it will be available in Intellisense.

    Edit:
    There are some basic and legacy methods/classes in the System.Configuration namespace included in System.dll that is referenced in every project (someone correct me if I’m naming the wrong .dll, but I’m pretty sure that’s where they are). When they got rid of the ConfigurationSettings class for the ConfigurationManager classes, they abstracted the namespace out into its own .dll, but they didn’t yank the namespace entirely.

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

Sidebar

Related Questions

This is my model of my asp.net mvc 2 project : using System; using
I'm using a masterpage in my ASP.NET MVC project. This masterpage expects some ViewData
I'm using Nunit and Moq to test my asp.net mvc solution. Is this a
I'm trying to learn ASP.NET MVC, so I did as test project this where
I create an ASP.NET MVC 3 project and a unit test project using xUnit.net.
I have an ASP.NET MVC form laid out something like this: @using (Html.BeginForm(null, null,
I am using ASP.Net MVC but this probably applies to all MVC patterns in
I am using ASP.net MVC with C#. Why this is code: public IQueryable<Product> ListProducts(string
Following this tutorial (http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/handling-concurrency-with-the-entity-framework-in-an-asp-net-mvc-application), I learned how to save data and do concurrency checks
I have an ASP.NET MVC application using Authorization Attributes on Controllers and Actions. This

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.