NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Calls, Parameter Capture, Dispatch and Return

Key Points

NGWS Messages
  1. Capture support - RemotingPorxy
    • In EE Infrastructure
    • Generated at Execution Time from Type MetaData
    • Message wraps Stack Frame of parameter
    • Delayed parameter access until message serialized in channel
    • ProvidesType Safety from MetaData
    • MetaData can be in own PE (DLL) or external PE (DLL)
    • Build your own proxy - RealProxy extensibility
  1. Dispatch support
    • In EE Infrastructure
    • Transform Message into a Stack Frame and dispatch on Object (StackBuilder)
  1. Dispatch support
    • Stack, In EE
    • Transform Message into a Stack and dispatch on Object (StackBuilder)
    • Public Instance Method
    • Public Instance Property
    • Public Instance Field
  1. Messages
    • Access to parameters
    • Access to call details (method name, signature)
    • Can be used to base out of band info
    • Dictionary access to entries
    • Fast path property access to well known entries
  1. Interception – Message Sinks
    • Access to the request call message
    • Access to the response return message
    • Synchronous path
    • Asynchronous path
  1. Interception – Dynamic Properties
    • Add and remove at execution time
    • Between Proxy and Channel
    • Between Dispatch (StackBuilder) and Real Object
    • Outbound from AppDomain
    • Inbound into AppDomain
    • Outbound from Context
    • Inbound into Context