Multimobile Development: Building Applications for any Smartphone
Multiple Thread Techniques for a C# Windows Service
Details Related Types
Site:  C#Today
Original URL:  http://www.csharptoday.com/content/articles/20010926.asp
Summary:
Visual Studio .NET allows us to get a basic Windows service up and running quickly. The next step is to give our service the high-performance features and configurability required for real world applications. In this article, Scott Allen demonstrates how to use multithreaded techniques in .NET to achieve higher throughput and scalability in a sample Windows service. In addition, we cover configuration of the service via an XML file. In order to demonstrate the techniques discussed in the article we develop a "stock alerts" Windows service, which retrieves stock quotes from a web service and emails interested parties when a stock price moves past a specific threshold. The topics covered inside the article are also applicable to other .NET application types.
System.Collections.DictionaryEntry
System.Collections.Hashtable
System.Data.DataRelation
System.Data.DataSet
System.Data.DataTable
System.DateTime
System.Threading.AutoResetEvent
System.Threading.ManualResetEvent
System.Threading.ThreadPool
System.Threading.Timer
System.Threading.TimerCallback
System.Threading.WaitCallback
System.Timers.Timer
System.TimeSpan
System.Web.Mail.MailMessage
System.Windows.Forms.Timer
Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734