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 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 created a console application that calls a method on a webservice. I
All the generated webservice-stubs from our backend have an equals-method similar to this one:
I have some ASP.NET page and webservice WebMethod() methods that I'd like to add
I have a webservice that when called without specifying a callback will return a
I have a procedure (procA) which needs to call a webservice many times and
I have a problem about designing my application. I have a webservice with methods.
Like described in the title, is there some library in the Microsoft framework which
I have a web service which returns something of type MyData . public class
I have created a web service which has a couple of methods developed using
If I have a web service method, e.g. [WebMethod] [XmlInclude(typeof(SportsCar)), XmlInclude(typeof(FamilyCar))] public Car[] GetCars()

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.