Results 1 to 3 of 3

Thread: Dynamic objects?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    Dynamic objects?

    Not sure if "Dynamic Objects" is the correct title for this, but here is what I'm trying to accomplish.

    I'm trying to build something similar to how .NET can create a strongly typed object reference to a remote web service.

    On the client, the user will use my custom object. That object will somehow need to query a remote server via some transport (www, tcp, etc), and get the latest schema in order to build it's strongly type reference to a particular object.

    Any help and/or pointers in getting started with something like this would be appreciated.

    Visual Studio 2010

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: Dynamic objects?

    It has been a little while since I have dealt with this, but WCF services allow you to publish types. This would not be at runtime, though. When you discover the service, all the datatypes in the contract are then available to use.
    My usual boring signature: Nothing

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    Re: Dynamic objects?

    I'm staying as far away from WCF as possible. I really want to do this with pre 3.0 technologies.

    Maybe I should be more clear. I'm essentially trying to create my own .NET Remoting mechanism without using .NET remoting. I'm trying to more understand how to update the data contract on the client to match that of some remote schema at design time. Is this really that hard?

    Visual Studio 2010

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width