DLL in ASP Files

Discussion in 'C#' started by Srain, Apr 23, 2009.

  1. #1
    Hello All,
    We have a web application developed in ASP 3.There are many DLL components used in the application. What I need to know is the actual DLL path which are used in the application. Please suggset as I am new to ASP.

    Thanks,
    Srain.
     
    Srain, Apr 23, 2009 IP
  2. MayurGondaliya

    MayurGondaliya Well-Known Member

    Messages:
    1,233
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    170
    #2
    you can not use DLLs directly. you need to first add it to the GAC by registering that component. After that IIS will be able to let you use that DLLs.

    In Asp.net, you need to add the DLL files in the Bin directory and then import the namespace in the pages where you want to use those components.
     
    MayurGondaliya, Apr 23, 2009 IP
  3. emlak

    emlak Peon

    Messages:
    50
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    after registering you can call this component example.

    set new_component=server.createobject("class_name.function_name")

    at shared hosting , server administrator may not accept your component because a new component requires more memory.
     
    emlak, Apr 25, 2009 IP
  4. pharmacy

    pharmacy Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You did not the actaul path of the DLL as you are not required to know . IIS will take care of that . You just get one uqniue class ID if is a customer DLL and then you can use that .

    Ranjan
     
    pharmacy, Apr 30, 2009 IP
  5. mavili

    mavili Active Member

    Messages:
    11
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    88
    #5
    why do you need dll files ?
    you can check the server which compenents installed and you can use their features.
    you don't need the dll files directly.
    if you want them to work on localhost, you must download trial editions (if not free) from the manifacturer site and install your pc. that is it.
     
    mavili, May 6, 2009 IP