NUB Threading Question

G

Guest

Hi there,

I have to do report generation application which works similar MS SQL Server
Reporting Services. A user add to subscribed scheduling (Daywise, Monthly,
Yearly). I must be able to generate a report for the specific timing.

I think I should do this application as a windows service in .net?!
What are thread classes I should take care of when doing such kind of
applications? Please point some good examples and links.

It would be helpful if you elobrate me with proper steps instead of just
replying.

TIA,
Holy
 
P

Peter Duniho

Holysmoke said:
[...]
I think I should do this application as a windows service in .net?!
What are thread classes I should take care of when doing such kind of
applications? Please point some good examples and links.

Whether you are implementing a service or some other kind of
application, for simple background processing of a task on a different
thread, the BackgroundWorker class is often an excellent choice.

As far as examples and links go, you should be familiar with both
Microsoft's MSDN web site, and Google Groups:

http://msdn.microsoft.com/
http://groups.google.com/

The former has complete documentation of the .NET Framework (among other
things), where you can find the details on the definition and use of the
BackgroundWorker class, including code examples.

The latter is useful for looking up answers that have already been
provided in this and other newsgroups on the same topic. There are a
number of examples of using the BackgroundWorker class in this
newsgroup, the microsoft.public.dotnet.languages.csharp newsgroup, and
others.
It would be helpful if you elobrate me with proper steps instead of just
replying.

You should be able to easily implement your solution using the above
information. Once you have read the provided references and made an
attempt to do so on your own, if you have specific questions please feel
free to post them here for additional help. There are already too many
basic examples of using the BackgroundWorker class available for there
to be any point in duplicating that effort here right now.

Pete
 
G

Guest

Thank you very much.

Peter Duniho said:
Holysmoke said:
[...]
I think I should do this application as a windows service in .net?!
What are thread classes I should take care of when doing such kind of
applications? Please point some good examples and links.

Whether you are implementing a service or some other kind of
application, for simple background processing of a task on a different
thread, the BackgroundWorker class is often an excellent choice.

As far as examples and links go, you should be familiar with both
Microsoft's MSDN web site, and Google Groups:

http://msdn.microsoft.com/
http://groups.google.com/

The former has complete documentation of the .NET Framework (among other
things), where you can find the details on the definition and use of the
BackgroundWorker class, including code examples.

The latter is useful for looking up answers that have already been
provided in this and other newsgroups on the same topic. There are a
number of examples of using the BackgroundWorker class in this
newsgroup, the microsoft.public.dotnet.languages.csharp newsgroup, and
others.
It would be helpful if you elobrate me with proper steps instead of just
replying.

You should be able to easily implement your solution using the above
information. Once you have read the provided references and made an
attempt to do so on your own, if you have specific questions please feel
free to post them here for additional help. There are already too many
basic examples of using the BackgroundWorker class available for there
to be any point in duplicating that effort here right now.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top