Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Late binding to C# DLL at runtime.
Message
From
13/05/2005 15:38:22
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Late binding to C# DLL at runtime.
Miscellaneous
Thread ID:
01014053
Message ID:
01014053
Views:
59
Hi All,

As a newbie to .Net this question may be a little strange.

The company I am working currently has asked me to develop a C# application that will run automated regression tests against their applications core components. The application’s framework component is spread over several layers of the n-tier architecture.

The problem I am having is I would like to be able to create the test harness without involving the precompiled C# components that make up the application framework. In other words, I would like to maintain a list of tests that instantiate the C# components in a late-binding fashion. I am attempting to design a system where the harness is kept separate from the components it is testing.

1. Is late-binding to a C# DLL possible at runtime?

2. Is it possible that after instantiating the namespace that I can gain access to the type library to determine what classes are there, and their In and Out data types?

If anyone has some examples or links to good articles or whitepapers, please reply.

Thanks in advance
Greg Reichert
Next
Reply
Map
View

Click here to load this message in the networking platform