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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:24:32+00:00 2026-06-05T11:24:32+00:00

Architeture Overview: Language : C# Windows Form Project using Class Libraries to execute the

  • 0

Architeture Overview:

Language : C# Windows Form Project using Class Libraries to execute the crawler tasks

I am currently writing a interface (UI) that will be used to “debug” a crawler (or a set of crawlers) i wrote. Each crawler is a .dll

From the interface, i am going to invoke the .dlls and i don’t want to have to wait for them to end their tasks (Crawling, parsing and building the lists of elements internally) to display the results on the interface.

Question:

Is there any way i can, somehow, send a feedback from the .dll to the interface ?

Maybe a progress bar, or after reading the elements, display them on the interface, before crawling the next element ?

What i want is something like that to be displayed on the interface (gridview or something), in real time.

Finished Crawling College X
Finished Crawling College Y
Problem Crawling College Z - ABORTING
Finished Crawling College K

and so on.

Whats a good way for doing it ?

I thought about sending the reference of the Visual Component to the .dll (or to a secundary .dll) so that it can update the visual component itself, in the middle of the execution. Is there any downside of doing it ? Do i break any good pratice by doing so ?

Thanks in advance,

Marcello.

  • 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-05T11:24:35+00:00Added an answer on June 5, 2026 at 11:24 am

    Basically, you could do something like this:

     public interface ICrawler
     {
         void StartCrawling(Action<SomeCrawlingMessageType> callback);
     }
    

    And have some class in your DLL that implements this. You then pass in a callback that your crawler class can invoke to send messages back to the invoker.

    In your callback, you can then take the data passed to you and update the UI by invoking the UI updates asychronously, even from multiple crawlers.

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

Sidebar

Related Questions

Overview I am doing an iOS project using the MVC architecture. Pardon my ignorance,
MFC doc/view architecture, sdi (more precisely multiple top-level windows). In my view class, I
I recently had to program C++ under Windows for an University project, and I'm
Using Sharp Architecture 1.9 I have a base class that inherits from the Sharp
I am currently in the process of writing a compiler and I seem to
I am using MVVM architecture. I have a usercontrol UC as a View Model
Does using Service Oriented Architecture (SOA) in a system mean it is a distributed
Which is a good architecture for a Web Application using OSGI and GWT as
Where can I find an overview (website) of best practices for implementing an Microsoft
I have to develop a plugin based software in ruby. What's the best architeture

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.