Copy link to clipboard
Copied
Hi to all,
how can I use a .NET dll in my DW 8 web pages?
And more: have I to create the dll coded object (as in a .net app: <ClassName> obj = new <ClassName>();) to use its methods? How?
Or I only "static" methods are available?
Many thanks in advance
Dino
Copy link to clipboard
Copied
Well I'm not familliar with DreamWeaver 8 but to use a NET DLL place it in the bin folder.
If you just want to use code in your own source code don't forget;
using yourNameSpace;
If oyu want to use a webcontrol from the librarie insert the following in the header of your pages:
<%@ Register Assembly="NameOfYourDLL" Namespace="NameSpaceOfYourDLL" TagPrefix="menu" %>
to insert a web control in your page use the tagprefix menu:
<menu:ControlName runat="server"etc. etc. />
Instead of writing the tagprefix in the header you can also declare it in the web.config like:
<controls>
<add tagPrefix="menu" namespace="NameSpaceOfYourDLL" assembly="NameOFYourDLL"/>
other tagprefixes....
</controls>
That's it
Find more inspiration, events, and resources on the new Adobe Community
Explore Now