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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:22:01+00:00 2026-05-28T17:22:01+00:00

I have a C# Windows Service and an ASP.NET 4.0 web application that are,

  • 0

I have a C# Windows Service and an ASP.NET 4.0 web application that are, at the moment, independent of each other and hosted in the same network.

The Windows Service reads from a database, and generates a text file each time it is invoked.

My intention is to

a) Call the Windows Service from the ASP.NET application.
After reading a bit, it seems this can be easily done using the Service Controller class.

b) To display live progress of the Windows Service at the client side (browser)

My initial thoughts were to have some kind of global variables inside the Service, that can then be accessed by the remote asp.net app, but I’d like to know what is the best way to do this.

  • 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-28T17:22:02+00:00Added an answer on May 28, 2026 at 5:22 pm

    Here’s an MSDN article on hosting a WCF service within a Windows Service:

    How to: Host WCF in a Windows Service Using TCP

    http://msdn.microsoft.com/en-us/library/cc949080.aspx

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

Sidebar

Related Questions

We have an ASP.NET web application that we offer as a Service (it's hosted
I have a windows forms client that consumes an ASP.net web service. It's my
I have an ASP.NET web service that I can access via a windows program
I have a Windows-Forms Application that I configured to use with an ASP.NET Service
I have an ASP.NET application and a Windows Service. My ASP.NET application allows for
I have an ASP.NET MVC website that works in tandem with a Windows Service
I have an asp.net mvc 2 web application that connects to a WCF web
Currently I'm trying to port a web application(ASP.NET MVC) to windows azure and have
I have built an ASP.NET MVC 3 web application (with exlusively Razor/cshtml pages) that
A have ASP.NET 2.0 web application that should allow sending emails. I have a

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.