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 4042556
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:01:14+00:00 2026-05-20T13:01:14+00:00

When I create a new WCF Service Application in Visual Studio and right-click Service1.svc,

  • 0

When I create a new “WCF Service Application” in Visual Studio and right-click Service1.svc, I can choose “View in Browser”. A web browser appears showing http://localhost:50311/Service1.svc, which says

Service1 Service

You have created a service.

To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:

svcutil.exe http://localhost:50311/Service1.svc?wsdl
...

The service somehow seems tied to Visual Studio itself, since the web page becomes inaccessible if I close the solution. What’s going on? I don’t have a web server installed, and I didn’t (knowingly) start the service. What is the source of the displayed web page, and why is it on port 50311? Can the page be customized?

  • 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-05-20T13:01:15+00:00Added an answer on May 20, 2026 at 1:01 pm

    What you’re seeing is the development web server that starts when you run a debugger instance of a project that requires a web server. (WCF, ASP.NET).

    The port 50311 is determined by your project settings (most likely random, but you can specify).

    The page for a .svc file is not meant to be customized. Since the service is waiting for a caller, that default page simply tells you that it’s running properly.

    Keep in mind that WCF offers several binding options that use various protocols (HTTP, TCP). Depending on the protocol that you choose, you will have to host in either IIS, a Windows Service or elsewhere. By default, new services will adopt a binding that works in IIS.

    Check out Introduction to Building Windows Communication Foundation Services

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Visual Studio 2010 I created a new Ajax enabled WCF Service [ServiceContract(Namespace =
I'm using the WCF Rest service application project template in visual studio. I'm just
Using Visual Studio 2010, I developed a WCF service hosted on a web application
Simple problem. I start up VS2008 and create a new WCF Service application. This
I want to create a new net.tcp://localhost:x/Service endpoint for a WCF service call, with
I can't create New Project on my Visual Web Developer 2008 Express with SP1.
I have created an OData/WCF service using Visual Studio 2010 on Windows XP SP3
Suppose we start from scratch in Visual Studio 2010 and add a 'WCF Service
I've got an error while updating WCF service reference in Visual Studio 2010: There
I have created WCF Data service and I hosted in visual studio ASP.net development

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.