What happens when I load an assembly?

Posted by Baddie on Stack Overflow See other posts from Stack Overflow or by Baddie
Published on 2010-03-06T05:47:48Z Indexed on 2010/03/13 1:37 UTC
Read the original article Hit count: 446

Filed under:
|

In my ASP.NET MVC application, I have the following setup:

<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <probing privatePath="bin;extras"/>

I have referenced assemblies located in the extras folder in the views and they have worked perfectly (using <%@ Import Namespace="myNameSpace" %>).

My questions

  1. What happens when that line is called?
  2. Where is the assembly loaded?
  3. Why is it that I can't overwrite the assembly located in the extras folder that contains myNameSpace with a newer version? (I get an error saying that the assembly is "open" in another program)
  4. Is there a way to overwrite the assembly with a newer version without having the application restart?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about assemblies