finally{}
My interactions with .Net and Web development - What's most important is what happens finally{}
Blog Stats
Posts - 42
Articles - 0
Comments - 98
Trackbacks - 34
Home
Archives
Contact
Login
<< Starting a business - a thought
|
Home
|
XML datatype in SQL server 2005 - just be sure >>
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.
Share This Post:
Short Url:
http://wblo.gs/EeA
Print
posted @ Friday, October 07, 2005 2:18 PM
Feedback
No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
Enter the code shown above
Remember Me?
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
good article
by JITU
Thanks. I was really stuck on that one. Just put...
by Matthew Theroux
really helpful.
by iSat
thanks, it was very helpfull
by dolev
I use sonething like preparedStatement.setBytes(2,...
by John Wong
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