In Focus

Forums - C# Corner

Forum guidelines
Nepethya Rana

Nepethya Rana

  • 1.3k
  • 211
  • 20.2k

How do I set config file in root dir to load the DLL

Dec 7 2017 11:30 AM
I have a dll (Custom Pdf handler) which is bin dir of my application which takes raw url and concate the url with the file server name and downloads file.
My file server and web server are in separate box. So what i did was on click of link I send the request to the web server which has my custom handler which knows
which file server to go and download the file. But the handler dll is in bin directory of application. so my root directory config does not know
how to load the dll.
<add name="PdfFileHandle" path="*.pdf" verb="*" type="FileHandler.FileHandler" resourceType="Unspecified" preCondition="integratedMode" />
I added file handler in configuration file of root but it does not know how and where to get the FileHandler.FileHandler

Answers (2)


Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now