finally{}
My interactions with .Net and Web development - What's most important is what happens finally{}
Blog Stats
Posts - 42
Articles - 0
Comments - 61
Trackbacks - 36
Home
Archives
Contact
Login
Friday, October 07, 2005
Learning COM+ components
Create a class inherited from ServicedComponent class by referencing System.EnterpriseServices.
Write the logic in it and declare methods.
Add class hierarchy as necessary.
Compile the project.
Go to command prompt and on to the bin\debug folder, and type in
sn -k CalculatorServiceComponent.snk
This is to strong-name and write the key pair to the .snk file.
Move the .snk file to the root of the project folder.
Have the following line in the AssemblyInfo.cs file of the project.
[assembly: AssemblyKeyFile("..\\..\\CalculatorServiceComponent.snk")]
Go to command prompt again and run,
regsvcs CalculatorServiceComponent.dll
You might get couple of warnings, which can be ignored depending on the severity.
Go to Component services from control panel and look up the created COM+ components and the methods that have been defined.
posted @
Friday, October 07, 2005 2:18 PM
|
Feedback (0)
News
I am currently working on....
C#
XML
XSLT
Javascript, DHTML
VSIP- Visual Studio Extensibility
Winforms
ASP.Net 2.0
Web Services
with Microsoft .Net 2.0
Recent Comments
This is a great illustration of webgarden. Thanks ...
by Microsoft
thanks for the anwsers it realy helps me.
by Peter
I want to get the path of a file from client compu...
by Imtiaz
It worked for me.Thanks
by Parminder
too waste
by muthukumar
Archives
May, 2006 (1)
March, 2006 (2)
February, 2006 (3)
January, 2006 (5)
November, 2005 (1)
October, 2005 (2)
September, 2005 (4)
August, 2005 (3)
July, 2005 (1)
June, 2005 (1)
December, 2004 (3)
November, 2004 (8)
October, 2004 (1)
September, 2004 (5)
August, 2004 (2)
Post Categories
XSLT
DBMS
.Net Framework
Web Services
C#
ASP.Net
Web
General
SQL Server/Database
Image Galleries
Vimage
Blogroll
Adam Bosworth
Aspects of AJAX
BradAdams
Chris Lyon
Craig Skibo
David Ing's blog
dotnetindia
Gaurav Khanna
IT Digest - TPatel
Joel on Software
Martin Fowler's bliki
Mehnaz Singh
Scobleizer
ScottGu's Blog
Sells Brothers
dotNet
.NetBookClub
XSLT
XSLT mailing list
Syndication:
RSS
ATOM
Hosted by
Copyright © Vinayak