| Chapter: 6
Implementing interoperability, reflection, and mailing functionality in a .NET Framework application |
|---|
| Component Services tool
The Component Services tool creates, configures, and maintains a COM+ application. This tool can be used to view the system events, manage the system services and the distributed transactions. This tool performs the four tasks. |
| COM+ transaction attributes
The COM+ transaction attributes are as follows:
|
| Platform Invocation and COM Interop Service
Use the Platform Invocation Service and COM Interop Service to provide interoperability with the unmanaged code. |
| SingleCall object
In a SingleCall object, a new object is created whenever a message arrives. The new object then processes the message and returns an optional reply. Finally, the object created is discarded. |
| Regasm.exe
Assembly Registration (Regasm.exe) tool is used to read the metadata within an assembly. It also adds the necessary entries to the registry allowing a COM client to create .NET Framework classes. Once a class is registered using Regasm.exe, a COM client can use it as a COM component. |
| COM components
COM components can be used in applications by adding a reference to a type library. |
| Strong name
Strong name is a name consisting of an assembly’s identity, public key, and digital signature. It includes the assembly’s name, version number, and other related information (if any). |
| Tlbimp.exe tool
Use the Visual Studio 2005 IDE and Tlbimp.exe tool to import a COM type library to the Microsoft .NET Framework. |
| Assembly Registration Tool
Deploying an assembly on COM application to a client computer using the Assembly Registration Tool (Regasm.exe) and register the file on the client computer. |
| COM Type Libraries
Deploy a Client and a component to a single folder on multiple client computer by using COM Type Libraries. |
| Satellite assemblies
The assemblies that contain culture-neutral resources are referred to as satellite assemblies. These assemblies are used to deploy language-specific resources for an application. |
| Caspol.exe
Caspol.exe can be used to examine and modify Machine-level, User-level, and Enterprise-level code access security policies. |
| MarshalByRefObject
The MarshalByRefObject class allows access to objects across application domain boundaries in applications that support remoting. |
| Dumpbin.exe
The dumpbin.exe utility is a command-line tool used for viewing imports and exports. It allows users to view various details for a given unmanaged code. |
| Type Library Importer
The Type Library Importer (Tlbimp.exe) tool is used to convert the type definitions from a COM type library into equivalent definitions in a common language runtime assembly. |
| IsCallerInRole
The IsCallerInRole method of the ContextUtil class determines whether the client is having the specific role or not. |
| Web references
Web references refer to XML Web services that are published on either a local intranet or the Internet. |
| Regsvr32.exe
The Regsvr32.exe tool is used to register or un-register dynamic-link libraries (DLLs) and ActiveX controls (OCX) in the Windows Registry. |
| Sn.exe
The Strong Name (Sn.exe) tool is used to sign assemblies with strong names. It also provides signature generation, signature verification, and key management. |
| Codebase
The Common Language Runtime finds the assembly through the codebase setting. If no match is found in the location as specified in the codebase element in the application configuration file, the binding request fails. Then the CLR finds the assembly through probing. |
| Assembly manifest
The following are the different approaches on how the correct version of an assembly is specified in the assembly manifest:
|
| Sn.exe
The Sn.exe tool is used to sign a portable executable file for a component or an assembly with an Authenticode digital signature. |
| Assembly class
Use a method in an application code and the method of the Assembly class to load and examine many assemblies having the same identity but located in different paths. |
| Email
Use the following classes to construct email messages:
|
| WebResponse
The WebResponse class derived from the System.Net namespace is used to provide a response from a Uniform Resource Identifier (URI). |
| WebRequest
The WebRequest class derived from the System.Net namespace is used to make a request to a Uniform Resource Identifier (URI). |
| MailAddress
The MailAddress class specifies the source and destination email address in two different objects. |
Nice post. I was checking continuously this blog and I’m impressed! Very helpful information particularly the last part
I care for such information much. I was seeking this particular information for a very long time. Thank you and good luck.
Hey very nice website!! Man .. Excellent .. Amazing .. I’ll bookmark your site and take the feeds also…I’m happy to find so many useful info here in the post, we need develop more techniques in this regard, thanks for sharing. . . . . .
I like the helpful information you provide in your articles. I will bookmark your blog and check again here regularly. I’m quite sure I’ll learn many new stuff right here! Best of luck for the next!
Attractive section of content. I just stumbled upon your site and in accession capital to assert that I get in fact enjoyed account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently rapidly.
you are really a good webmaster. The website loading speed is amazing. It seems that you’re doing any unique trick. In addition, The contents are masterpiece. you’ve done a wonderful job on this topic!
Thank you for another great article. Where else could anyone get that kind of info in such a perfect way of writing? I have a presentation next week, and I’m on the look for such info.
Thanks for another informative web site. Where else could I get that type of information written in such a perfect way? I have a project that I am just now working on, and I’ve been on the look out for such info.
I think this is one of the most significant info for me. And i’m glad reading your article. But want to remark on few general things, The site style is wonderful, the articles is really nice : D. Good job, cheers
I would like to say “wow” what a inspiring post. This is really great. Keep doing what you’re doing!!
Thanks for posting. Good to see that not everyone is using RSS feeds to build their blogs
Hello, this is my first time i visit here. I found so many interesting in your blog especially on how to determine the topic. keep up the good work.
Of course, what a great site and informative posts, I will add backlink – bookmark this site? Regards, Reader
I REALLY liked your post and blog! It took me a minute bit to find your site…but I bookmarked it. Would you mind if I posted a link back to your post?
I was just having a conversation over this I am glad I came across this it cleared some of the questions I had.
Good! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog?
Great read. Thanks for the info!
Webmaster, I am the admin at SEOPlugins.org. We profile SEO Plugins for WordPress blogs for on-site and off-site SEO. I’d like to invite you to check out our recent profile for a pretty amazing plugin which can double or triple traffic for a Worpdress blog. You can delete this comment, I didn’t want to comment on your blog, just wanted to drop you a personal message. Thanks, Rich
I was just having a conversation over this I am glad I came across this it cleared some of the questions I had.