CSE Compatibility with .Net 4.6.1

General discussions related to using the C# Script Engine in APL+Win.

Moderators: Tech Support, phpbb_admin

CSE Compatibility with .Net 4.6.1

Postby joe_blaze » April 27th, 2016, 10:28 pm

IMPORTANT: Microsoft .Net 4.6.1 and APL+Win 15 and prior CSE versions:

As indicated in the APLNext CSE Update Document [http://forum.apl2000.com/viewtopic.php?f=27&t=1099], if the Microsoft .Net Framework 4.6.1 is installed on the target workstation, certain features of the APL+Win v15 and prior CSE will not operate properly. Pre-compiled, file-based .Net assemblies can be successfully loaded and successfully used by the prior CSE versions in .Net 4.6.1, however the functionality of in-memory assemblies using C# scripts is limited in .Net 4.6.1.

This due to a Microsoft deprecation of the support for in-memory .Net assemblies which directly interface with a Win32 [e.g. APL+Win] application domain.

The APLNext CSE included with APL+Win v16 resolves this issue by implementing a new CSE architecture. The new APLNext CSE architecture in APL+Win v16 uses an intermediary, pure .Net, self-hosted SignalR server as the application domain which creates the APLNext instance. APL+Win communicates with the SignalR server via a TCP/IP port# selected by the APL+Win programmer as an argument to the CSE 'Init' or 'InitSTA' methods.
Posts: 383
Joined: February 11th, 2007, 3:09 am
Location: Box 361 Brielle, NJ 08730-0361

Return to APL+Win & The C# Script Engine

Who is online

Users browsing this forum: No registered users and 1 guest