I am trying to import the dll files in view page but i have no idea how to import the dll files in view directly without using controller. Anyone have an idea about it please tell me. Thanks in advance.
Asked
Active
Viewed 607 times
0
-
Does this answer your question? [How do I import a namespace in Razor View Page?](https://stackoverflow.com/questions/3239006/how-do-i-import-a-namespace-in-razor-view-page) – Marco Feb 02 '21 at 06:45
1 Answers
0
I would assume your talking about Razor view in mvc.
Top Of Your View
@using Namespace.Reference.Of.Your.Library;
Also add your specific namespace reference within your web.config
<add namespace="here" />
Don't forget to set the Copy Local property to "True" in your dll.

JKC
- 79
- 6
-
Note: COM components is not supported but can still be called in using statements – JKC Feb 02 '21 at 06:07