This is preliminary documentation and subject to change. To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Run Code in an App Domain
When a domain is created, the hosting environment must be able specify the initial code to run and be able to get back a reference to that code. The initial code must be either a type, a global function, or the assembly's entry point.