60 likes | 214 Vues
As a Senior Software Engineer at United Health Group with 5 years of experience, I specialize in .NET technologies including C#, ASP.NET, and WPF. My work involves improving application responsiveness through the use of background threads. Background workers from System.ComponentModel enable developers to perform long-running tasks without freezing the UI. They provide event-driven updates and ensure that callbacks are executed correctly. This abstraction is essential for creating smooth user experiences. Visit my blog for more insights: http://Msarangam.wordpress.com.
E N D
Background Thread Mahender Senior Software Engineer United Health Group
Mahender Sarangam • Having 5 years of experience on .NET Technologies. Working as a Senior Software Engineer in United Health Group (UHG India Information Service Ltd.). Worked with Big Firms like Deloitte Consulting & Wipro Technology. • Got Technical Acquaintance on Technologies like C#, ASP.NET,AJAX, LINQ, Silverlight, WPF,WCF ,SQL Server, Team Foundation Server(TFS) and SharePoint Technology. • MCTS Certified in Web Technologies. • Blog : http://Msarangam.wordpress.com
Why Background Thread • Background Thread are useful, whenever your performing long running task , which makes your Application responsive. • Background worker thread obtained from System.ComponentModel • Background Worked thread provide some level abstraction and also provide • Makes UI Responsive • This class gives us the ability to do some work on a background thread, provides progress and completed events “out of the box” and also ensures that these callbacks execute on the correct
Implement Events • DoWork • RunWorkerCompleted • ProgressChanged • RunWorkerAsync • Properties like • RunWorkerCompletedEventArgs • ProgressChangedEventArgs • DoWorkEventArgs