Adding a web reference in code (without VS.Net) ?

C

Chris Ashley

I want to just quickly knock up a simple aspx page that calls a web
service without bothering to create a project or anything. Is it
possible for me to add and call a web reference in code without using
VS.Net at all?
 
M

Martin Kulov

Chris Ashley said:
I want to just quickly knock up a simple aspx page that calls a web
service without bothering to create a project or anything. Is it
possible for me to add and call a web reference in code without using
VS.Net at all?

Hi Chris,
you can use @ Assembly directive to set the reference to your web service
assembly or file and use a <script runat="server"></script> tag to write
inline code for calling the web service.

HTH,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MCAD Charter Member
MCSD.NET Early Achiever
MCSD
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top