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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:19:39+00:00 2026-05-23T12:19:39+00:00

I have a simple doubt: I have an external assembly that I want to

  • 0

I have a simple doubt: I have an external assembly that I want to reference. I have an Asp.Net application. I want to use that assembly in my Asp.Net application.

I add a reference and what VS does is just placing my dll in the Bin subdirectory of my web site.

I thought that VS would have modified my web.config file adding external references…
So does it happen only when referencing assemblies in GAC??? (which makes sense given that public tokens and versions are required).

Thankyou

  • 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-23T12:19:40+00:00Added an answer on May 23, 2026 at 12:19 pm

    When the CLR loads your assembly for execution, it checks the assembly’s manifest to determine what dependencies are required for it to run. It goes through a series of steps to do this:

    1. Check for redirects – if the assembly is strongly-named, the CLR will first check the appropriate config (app.config, web.config, etc.) to see if there are any binding redirects specified. A binding redirect allows the CLR to say, where I am supposed to load v1.0.0.0, instead load v2.0.0.0. If no binding redirect is found for a strongly-named assembly, it will check a policy file in the GAC, and if no policy file is found, it checks the machine.config. If no binding redirect is specified, the CLR will use the assembly name specified in the calling assembly’s manifest to load the assembly.

    2. Check to see if the assembly has already been loaded – the CLR determines if the assembly has previously been loaded, if it has, it uses that same loaded assembly, otherwise it continues…

    3. Load the assembly from the GAC – If the assembly could not previously be loaded and is strongly-named, the CLR will attempt to load the assembly from the Global Assembly Cache.

    4. CodeBase – If the CLR still can’t find the assembly, it will use the codeBase path to try and locate the assembly.

    5. Probing – If the CLR still can’t find the assembly, it will check the probing path for the assembly. The default probing path is the application base path of the AppDomain into which assemblies are currently being loaded.

    (That’s all adapted from a great article called Understanding .Net Assemblies and References ).

    In the case of your web application, the CLR still does all of the above, but the AppDomain application base path is the /bin folder within your IIS application.

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

Sidebar

Related Questions

I have an ASP.Net application running under IIS 6. A simple page has two
I have a doubt concerning the Entity Framework in .NET. I have a simple
I have to integrate an existing, simple asp.net web forms app including postbacks etc.
its simple my doubt. The app have 4 directories(ldpi, mdpi, hdpi, xhdpi) with same
I have simple win service, that executes few tasks periodically. How should I pass
please help me with a simple PHP doubt. I have a simple form: <
I have a very basic doubt here. I have two very simple C codes
I intend to use Spongy Castle for my project, but I have a simple
it's kind a simple question but i have the doubt see the code belows
I am looking into implementing a simple crash report on my application that will

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.