• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

plugin based applications in C# projects


I know c++ and c# well.But never develop a big project that have so many components and will be extended for long time.

I want to make a program that can be develop by different users.Some of them prefare native app(com dlls, c++ dlls , etc) for components, some of them prefare managed components(.NET base components).

1-)Especially i think that i want to design my UI in c# and then other parts that my algorithms are working with c++ or c# codes.My UI or my application will able to interact between both .net dll or com dlls( i mean native).

I want to learn all your opinions and advices about such a program.I don't want to make mistake.

2-)I mean is this possible?C# host and native dlls.How can i do this?I mean i want to see my roadmap.İn which point must i be careful?
3-)Also if i design my programs UI or shell with .net code(like c#) , in future i can utilize .net plugins but if my shell code or UI in c++ i can not write any plugin with managed code.Is this right?

Also if there are any sample applications like that can you send their links.I really see how must i design my c# exe so it can be interact with both .net and com plugins that develop by differnet users.

Thanks.
I am looking for your answers.
0
sawer
Asked:
sawer
1 Solution
 
sawerAuthor Commented:
no answer?
0
 
codohertyCommented:
The NET framework allows for hosting of COM object by just adding a reference to the COM library VS will create a wrapper NET assembly for the Library. The threading model could be an issue so a little reading should be applied here. There are a number of plugin NET frameworks about that will allow for concurrent development of NET applications, here are 2 that come to mind.

1. Microsoft Enterprise Library (http://msdn.microsoft.com/practices/)
2. Carbon\Razor (http://thats-just-stupid.com)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now