Solved

plugin based applications in C# projects

Posted on 2006-06-30
4
324 Views
Last Modified: 2013-11-18

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
Comment
Question by:sawer
4 Comments
 

Author Comment

by:sawer
ID: 17024219
no answer?
0
 
LVL 2

Accepted Solution

by:
codoherty earned 250 total points
ID: 17030104
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now