asp.net C# working with webservices

K

khawar

ok i created a file called foo.asmx (web service) which
has a class called foo, in that class there is a public
function called bar() which doesn't have [webmethod] in
front of it, so that only local applications can use it.
now i have another file called lala.cs which contains the
code behind for an aspx page. Now i need to create an
instance of foo class in that lala.cs file as well as
exceute the bar() function of that instance of foo. I am
using "using foo;" directive on the top of the page but it
says namespace not found, can some one help
Please help
thanks
bye
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top