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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:20:33+00:00 2026-05-22T20:20:33+00:00

I have a webservice method which takes an Id and then will kick off

  • 0

I have a webservice method which takes an Id and then will kick off a class library to process some infomration about the Id given.

The Processor uses the Trace.Write() stuff to report progress back. This works well on a console app, but I want to be able to send the same information back to the user via the web.

What would be the best way to capture these trace events (which happen very fast, many per second) and to send them to the browser.

I could store the entire trace and send back when the process is complete, but if it could be streamed to the browser as it was happening, then it would provide user feedback as well as information about the process to the user.

This is an ASP.NET service, ashx file.

What is the best way to achieve this?

Thanks in advance

here is my code to kick off the process:

function ProcessEmail(emailId) {
        var popupcontent = $("#EmailPopUp");
        $.ajax({
            type: "POST",
            async: false,
            url: "/MailboxPro/Methods/Emails.ashx?action=TestProgress",
            data: { EmailId: emailId },
            success: function (result) {
                alert("result");
            }
        });
    }
  • 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-22T20:20:33+00:00Added an answer on May 22, 2026 at 8:20 pm

    The problem was caused by the listener still being “attached” to the output.

    Calling Listeners.Remove(myListener) at the end of the process, meant it would work each subsequent times.

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

Sidebar

Related Questions

I have a wcf WebService with a method which takes LogLevel type (part of
I have a winforms, and it connecting wit webservice. Webservice has method which create
I have implemented a ToString() override method for my class in my Webservice and
I have a webservice with a method that takes a parameter of abstract base
I have created a webservice which takes a DTO as a parameter. And DTO
I have a webservice which receives requests to perform some data transfer operations within
I have a simple web service method which I'm trying to convert: <WebMethod()> _
I have a web service method in which I create a particular type of
When I call, the service's method, I have Web Service Exception happening which I
I have a method which requests external webservices and returns json here: public string

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.