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

  • Home
  • SEARCH
  • 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 8572453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:00:54+00:00 2026-06-11T19:00:54+00:00

I am creating a service REST type using WCF in C# Visual Studio 2010

  • 0

I am creating a service REST type using WCF in C# Visual Studio 2010 . The service receives a JSON file and then replies back with another JSON. I have built a Windows Forms Application and got to make the service work by creating a channel. I just send the JSON via POST, and get the contents. I want to bind the application as a Windows Services (Services in Control Panel). Thus, I created a WCF Service application, but when I debug it it opens the WCF Test Client Utility, however it fails because it asks for metadata. However, as I am using REST architecture I dont think I need to use metadata at all, since I don’t even want to expose the services, I just want the users who know the service, then consume them. So, my question is more like how do I debug a WCF service REST type, without having to use metadata? Seems to me, to create client own my own and then put the service on Windows Service is not very good idea, since it takes a long time to install/uninstall.

Regards

  • 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-11T19:00:55+00:00Added an answer on June 11, 2026 at 7:00 pm

    My preference is to put the WCF Service in a library, make a separate simple console application, and self-host the service within a console application. This makes debugging very simple.

    Later, when you want to make it a service (in Services), you can make a Windows Service project, and just reference the service library and host it within the windows service application.

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

Sidebar

Related Questions

When creating a new service in a WCF service project, Visual Studio will automatically
I'm creating REST service using ASP.NET Web API. How can I return 401 status
I am creating a REST Web Service using Java and Jersey API. The basic
I have a WCF REST Service which accepts a JSON string One of the
While creating a WCF Rest service, I've noticed that not all the parameters in
I am new to WCF Services. We are creating a REST WCF Service which
I’m having a WCF REST service hosted in IIS using .NET 4 RC. The
I'm creating a self-hosted REST service using service stack & AppHostHttpListenerBase. I'd like to
I am creating a web application and REST service Using ExpressJS + NodeJS +
I'm creating a REST web service using spring and I need to implement login/logout

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.