COM has some interesting features can they be done in .NET assembl

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All;
another simpleton question. i'm pretty sure i already know but...
what is a .Net Assembly?

In the C++ app i work on at work, we use a main app with COM "plugnis" and a
few COM servers. these COM servers are interesting in that they are self
contained programs that allow the main app to interface with some of the
server's functionality and only are active as long as the main program is.
How could you implement such a setup using C#? i understand when you create
a class library it's creating a .dll.
and if you create an executable how can you access it's functionality from
another app?
a window service sounds like it might be close but again how can you access
it's functionality from another app?

i've been using C# at home but not in the work environment and would like to
expand my knowledge.

Any help would be great. thanks
 
A explanation of an assembly

http://www.programmersheaven.com/2/FAQ-DOTNET-DOTNET-Assembly-Explained


For distributed systems you have 3 options available to you in the current
version of the framework:

Web Services (ASMX),
..Net Remoting,
Enterprise Services (COM+)

Web services
http://samples.gotdotnet.com/quickstart/aspplus/doc/webservicesintro.aspx
http://aspnet.4guysfromrolla.com/articles/062602-1.aspx

..Net Remoting
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp

Enterprise Services
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncomser/html/entsvcperf.asp

and you could of course always 'roll your own'

--
HTH

Ollie Riches
http://www.phoneanalyser.net


Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a programmer
helping programmers.
 
Back
Top