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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:37:30+00:00 2026-06-02T21:37:30+00:00

I have a test WCF project. In the same solution I have a C#

  • 0

I have a test WCF project. In the same solution I have a C# application that uses that WCF project by simply adding it as a resource and it works well. But how do I upload it (-WCF) to a website?

I tried Build -> Publish. But it didn’t give me any dialog; it just said “Publish succeeded”. So I converted it to a web application (right click in solution explorer…)
and then published it. Since I wanted to try it – I published it to the file system. But when I now try to add a service reference to it in a C# app – I get the error that “No services were found in the solution”. Why is that?

But the question is mainly: when I try to publish it to a website – I don’t know what to put as “Service URL” and what as “Site/application”.

Here’s what I have:

Iservice1:

 [ServiceContract]
public interface IService1
{
    [OperationContract]
    string DoWork();
}

Service1:

public class Service1 : IService1
{
    public string DoWork()
    {
        return "Hello, world";
    }
}

And in the C# app:

Service1Client s = new Service1Client();
Text = s.DoWork();
  • 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-02T21:37:32+00:00Added an answer on June 2, 2026 at 9:37 pm

    So finally I simply built a web application and added a WCF service to it.

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

Sidebar

Related Questions

I have a WCF Web application that uses a WCF Class Library. My project
I have a WCF Service that return a json. I want to test it
The problem: I have a WCF service that I'm trying to performance test with
I currently have a wcf service library project that includes my service contract &
I have a WCF project in Visual Studio that I need to deploy to
I have put together a HTTP driven API using the WCF WebAPI that uses
I have a WCF service that uses LINQ to SQL for its data layer.
I have been developing a WCF project that will expose web services (HTTP-based) that
I have created a Silverlight 2 appliction, that uses a WCF service. The service
I have a VS 2010 solution containing a WCF service project and a unit

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.