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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:57:25+00:00 2026-05-12T17:57:25+00:00

I have a windows service and I’d like my application to be able to

  • 0

I have a windows service and I’d like my application to be able to call some methods on that service.

I’ve read that this is possible via exposing the required methods with WCF.

Can someone give me a pointer on how to achieve this? I understand web services and calling them, but WCF and windows services are less my forte.

  • 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-12T17:57:25+00:00Added an answer on May 12, 2026 at 5:57 pm

    Check out the MSDN developer center on WCF – it gives you a great intro and lots of reference material for WCF.

    Basically, what you need to do is create a service contract – an interface that defines your service and its methods. Unless you only work with strings and ints, you will most likely also have to define a data contract – structured classes that will hold your objects going back and forth.

    You then need a service implementation in a class that implements that service interface. This class will then be hosted inside your NT Service by means of a ServiceHost (a class from the WCF runtime).

    Typically you will define the “endpoints” (the URL’s to call into and the protocols to use to do so) in configuration for your service – in this case, in your NT service’s app.config.

    Once that’s all up and running, your outside clients should be able to call into your WCF service running inside a NT Service.

    Marc

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

Sidebar

Related Questions

I have windows service that's select some records. And it works like this: using
I have a Windows Service that overrides the OnStart and OnStop methods to call
I have a windows service that is making a call out to an IIS
i have a windows service that runs every 10 seconds to execute the read
I have have running windows service that is using it's app.config for getting some
I have an windows service application where I have an object that is processed
I have a windows Service that start some tasks based on a configuration. Each
I have a Windows Service packaged to MSI that I would like to deploy
I have a Windows Service that I install and upgrade with WiX, and this
I have a Windows service(C#), that sprawns few child native processes (C++). I'd like

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.