What are people using the .Net Assembly target for?



I'm curious who else is currently using the .Net Assembly target in PB 2017?  And what sort of projects are you using them in?  I've seen some people talking about their .Net Assemblies being using in IIS.  I'm in the process of converting some PB 10 COM components which are used in Word and Outlook Add-Ins to the new .Net Assembly target and I'm wondering if anyone has done anything similar? i.e using the .Net Assemblies on the client rather than server side.


Question Tags: 


Marco Meoni answered What are people using the .Net Assembly target for?


Hi Daryl,

My two cents.

I have personally used them to deploy PB NVO to Appeon Powerserver runing on IIS and have the PB code executed in Web or Mobile Appeon apps.

Although .NET assemblies built from PB are not very robust and can be affected by thread-safety issues, they still represent a valuable solutions for deploying PB NVO to the server (Appeon would instead convert the NVO to JS) when you don't want to go for SOAP Web Service targets (which tend to have lower performance).

As far as running a .NET Assembly on the client, in principle they allow you to interface any .NET object, as long as you then make them COM visible using MS Interop.

To this extent, a while back I used one of the newer versions of Crystal Reports (which has discontinued COM and only features .NET SDK) and have reports retrieved or printed through a .NET assembly.



miguel@credica.co.uk's picture

Hi Marco, about Crystal Reports on .Net. We have done something similar: created a crystal report viewer (visual studio version) to wrap as an activeX.

Do you think that would work on Appeon WEB / PowerServer?