If you create Control in your DLL project (e.g. by right-clicking the
project icon in the IDE and adding a UserControl), it can be hosted within a
web page by using the OBJECT tag, just as an ActiveX control can. Note that
the classid tag is different, and also that Code Access Security may play a
role if you want to do things like access the hard drive. Basically, there
are far more security restrictions in order to make sure that your control
doesn't do anything nasty.