CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2007
    Posts
    11

    Question How do I build a web service for non-local host?

    I know this is a newb question, but I don't get it! I want to build a simple web service that I can deploy/install on my choice of web host. I started up VS2008, and selected File - New - Web Site. I select the ASP.NET Web Service template, and am using Visual C# for language. What do put for Location? HTTP seems to be the only choice in the dropdown that makes sense. At build time, I don't know what server(s) this is going to be running on, so what do I put for the URL? If I don't put anything in the box, the 'OK' button is disabled, and I can't continue.

    If you can give me some background, along with your answer, I would really appreciate it. What is VS doing with these values?

    Thanks.
    Last edited by JNygren; October 29th, 2009 at 08:53 PM. Reason: Typos

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: How do I build a web service for non-local host?

    When you create the new project, enter a local url (or file path).

    After you build the service, you can deploy it to a different host.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured