-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: GauravK_MS
Message 2 in Discussion


Hi!
 
There is a very fundamental difference between the 
two.
 
When you create a class library project, you end up 
creating a DLL assembly that contains CLR types [i.e. classes] for consumption 
by other classes and/or applications. And classes created using this way are, 
incorrectly, referred to as components!
 
Component, in .NET terminology, is a CLR type that 
implements IComponent interface and is also MarshalByRef, i.e. can be used in 
remoting. A typical class that you write and which doesnt adhere to this 
specification, will not qualify to be referred to as the component. There is 
also a component that can be marshalled by value and is MarshalByValueComponent 
type. Component class has these characteristics.
 
Thats why there are two terms - class libraries and 
components. Dont use them interchangeably.
 
Regards,
Gaurav Khanna
 
Developer 
Evangelist
Microsoft Corporation India Pvt. 
Ltd.
Cell: 91-98861-88022
http://www.wintoolzone.com/
http://geekswithblogs.net/khanna/
 


  
  
  From: BDOTNET [mailto:[EMAIL PROTECTED] 
  
Sent: Thursday, July 08, 2004 11:39 AM
To: 
  BDOTNET
Subject: Component


  
  
    
      
      New Message on BDOTNET
    
      

  Component


    
      
      
        Reply

        
          
            
            
               
              Recommend 
              Message 1 in 
                Discussion 
      
        
          
            
            
              From: ShareNCares 
            
              

                Hi
we can create a component by selecting class library 
                project
                and also by inheriting component class also we can create a 
                component.  Then what is the diffrence between 
              them?
View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to