• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

Can a web service offer ASP pages?

I have never architected my own web service, and wonder if it's possible for one to offer up an ASP page?  Can a web service have a GUI?, is the question.

If so, how would that work both codewise and program logic wise.  What's an example of this kind of functionality?

thanks,
newbieweb
0
newbieweb
Asked:
newbieweb
  • 2
  • 2
1 Solution
 
newbiewebAuthor Commented:
also...

and if it's possible to offer ASP pages, can it then have links to HTML pages on the same machine?
0
 
anyoneisCommented:
I think of web services as remote propcedure calls. So, I could develop a web service call that returned whatever data I wanted - including a bunch of HTML. But, why would you do this? Who is going to consume (display) the page?)

A web service can't have a gui, since it is just a remote procedure call. But, you certainly can use it to feed a gui.

David
0
 
newbiewebAuthor Commented:
Can I have an ASP application and a web service running on the same website?  Is that what you mean by feeding a gui?

0
 
anyoneisCommented:
Yes, they can run on the same site. Typically on your IIS server, you might have one site, say, "Default Web Site" and on that site have several ASP and/or ASP.net applications - which I tend to call (perhaps inaccurately) "virtual directories."

So you would have a virtual directory for your web service. And you would have a virtual directory for your web pages, and, for that matter, you might very well have a virtual directory dedicated to publishing your windows forms applications (if they are to be deployed and maintained as clickonce applications).

David
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now