Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with using DLL with web service using ASP.NET

Status
Not open for further replies.

ITWORKER2010

IS-IT--Management
Aug 18, 2010
5
US
Hello,

I would like to use a ASP.NET application in the web, created a DLL for the application and trying to include it as part of a web service to view the application in the web. I added to DLL as a reference in the webservice but don't know what to do from there, please help.

I am using Visual Studio 2008 (ASP.NET) to create the DLL and webservice.

Thanks,

Victor
 
once the assembly is referenced you can instantiate the object or call static methods. here are 2 simple examples.
Code:
var foo = new The.Name.Space.Foo();
Code:
var foo = FooFactory.Create();

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top