I need to execute .NET code on the client side. What is the best way to do this?

(I would say ActiveX, but that's not longer available under .NET right?)

Thank you for all help in advance.