Difference between revisions of "IS:.NET"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
* [[NET:Concepts:Frame Locking|Frame Locking]]
 
* [[NET:Concepts:Frame Locking|Frame Locking]]
 
=== API Tree ===
 
=== API Tree ===
 +
; Only namespaces and static classes are listed below
 
* [[NET:Lavish.InnerSpace.dll|Lavish.InnerSpace.dll]]
 
* [[NET:Lavish.InnerSpace.dll|Lavish.InnerSpace.dll]]
 
** [[NET:Lavish.InnerSpace.dll#InnerSpaceAPI_namespace|InnerSpaceAPI]]
 
** [[NET:Lavish.InnerSpace.dll#InnerSpaceAPI_namespace|InnerSpaceAPI]]
 
*** [[NET:Lavish.InnerSpace.dll#InnerSpace|InnerSpace]]
 
*** [[NET:Lavish.InnerSpace.dll#InnerSpace|InnerSpace]]
**** [[NET:Lavish.InnerSpace.dll#Input|Input]]
+
**** [[NET:Lavish.InnerSpace.dll#InnerSpace.Input|Input]]
**** [[NET:Lavish.InnerSpace.dll#Memory|Memory]]
+
**** [[NET:Lavish.InnerSpace.dll#InnerSpace.Memory|Memory]]
 
** [[NET:Lavish.InnerSpace.dll#LavishScriptAPI_namespace|LavishScriptAPI]]
 
** [[NET:Lavish.InnerSpace.dll#LavishScriptAPI_namespace|LavishScriptAPI]]
 
*** [[NET:Lavish.InnerSpace.dll#LavishScript|LavishScript]]
 
*** [[NET:Lavish.InnerSpace.dll#LavishScript|LavishScript]]
**** [[NET:Lavish.InnerSpace.dll#Commands|Commands]]
+
**** [[NET:Lavish.InnerSpace.dll#LavishScript.Commands|Commands]]
**** [[NET:Lavish.InnerSpace.dll#Events|Events]]
+
**** [[NET:Lavish.InnerSpace.dll#LavishScript.Events|Events]]
 +
**** [[NET:Lavish.InnerSpace.dll#LavishScript.Objects|Objects]]
 
** [[NET:Lavish.InnerSpace.dll#LavishVMAPI_namespace|LavishVMAPI]]
 
** [[NET:Lavish.InnerSpace.dll#LavishVMAPI_namespace|LavishVMAPI]]
 
*** [[NET:Lavish.InnerSpace.dll#LavishVM|LavishVM]]
 
*** [[NET:Lavish.InnerSpace.dll#LavishVM|LavishVM]]
 
*** [[NET:Lavish.InnerSpace.dll#Frame|Frame]]
 
*** [[NET:Lavish.InnerSpace.dll#Frame|Frame]]
 
* [[NET:Lavish.LavishNav.dll|Lavish.LavishNav.dll]]
 
* [[NET:Lavish.LavishNav.dll|Lavish.LavishNav.dll]]
** [[NET:LavishNav|LavishNav]]
+
** [[NET:Lavish.LavishNav.dll#LavishNavAPI_namespace|LavishNavAPI]]
 +
*** [[NET:Lavish.LavishNav.dll#LavishNavAPI.Pathfinders|Pathfinders]]
 +
*** [[NET:Lavish.LavishNav.dll#LavishNavAPI.Regions|Regions]]
  
 
=== Tutorials ===
 
=== Tutorials ===

Revision as of 04:24, 17 December 2006

Overview

As of version 1.08 (released Nov 28, 2006), Inner Space supports loading .NET 2.0 assemblies in-process.

Executing an assembly

The DotNet command is used to launch assemblies, as well as list active application domains, and close them.

Application Domains

An application domain represents the logical separation of .NET "processes". Any number of assemblies can be loaded into a single application domain, and likewise into any number of additional application domains. Application domains are referenced by name, and there is no restriction on naming schemes. When loading an assembly, use an application domain name of your choice. If you want to load the application into the same domain as another, simply reuse the name. When the domain is unloaded, all assemblies in that domain are subsequently unloaded.

Assembly requirements

.NET assemblies must be signed and placed in the Global Assembly Cache to have permission to load. .NET assemblies do not have to be specially compiled for usage in Inner Space, unless the assembly needs to use Inner Space API.

Developing for Inner Space in .NET

Concepts

API Tree

Only namespaces and static classes are listed below

Tutorials

  1. Creating a simple Hello World app and placing it in the GAC
  2. Adding a LavishScript Command
  3. Attaching to LavishScript events
  4. Wrapping LavishScript objects in .NET

Samples

C#

Under construction...

C++

Under construction...

Visual Basic

Under construction...

Exposing API to .NET

Known Issues

  • System.Console.Write and friends do not yet filter through InnerSpace.Echo

See Also