Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8599803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:28:29+00:00 2026-06-12T01:28:29+00:00

I have created a web service using C# and I have installed IIS Server

  • 0

I have created a web service using C# and I have installed IIS Server 6.0. When I am running web service directly in project its working well.
Now I want to deploy this service on my system’s IIS Server so that my LAN partners can use it. How should I do that? And I want to change default port number of IIS too, how can I do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:28:30+00:00Added an answer on June 12, 2026 at 1:28 am

    To run your web service under IIS, setting up a virtual directory is pretty straightforward.

    If you’re looking to test publish a build, the web deployment project is the best option, you can do it from the command line and in VS.Net, it enables a "Publish" right-click option.

    Your web service endpoint is your .asmx file (no .cs file required in your deployment), and the DLL in the bin folder contains the code that you wrote for your webservice.

    SOAP, WSDL, Namespace are all handled by IIS and ASP.NET.

    In simple words:

    1. create a project of type "ASP.NET Web service".
    2. Select "HTTP" from location dropdownlist (indicates that the file should be placed on a web server)
    3. After Develop your web service, Add web references, select "browse UDDI Servers on the local network" option if you want to share the web service among different computer. Enter the source .asmx file URL and click "Go".
    4. Select "Add References" to add your reference name for web service, by default is "localhost", you can give it a name.
    5. Declare a reference for your web service in your .aspx file.
    6. You can try run your application in other PC.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a simple web-service using Java. i want to load jars related
I have created a RESTful PHP web service using Lithium which contains comments, each
What I have created a very simple asp.net web service using .NET framework 3.5,
I have created Web-Service in asp.net with c# . Now i want to pass
I have created one web service that will may called from web using jQuery
Could someone help me on this, I have created simple web services using axis2
I want to create tree structure using web service. I have used bottom up
I'm using spring ws 2.0.2.RELEASE I have a web service that creates a sales
I'm using SQL Server 2005 with Reporting Services. I have many reports installed, some
I have a c# app that calls a web service method that authenticates using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.