Tagged pages

Found 5 articles tagged with Task

Non blocking writing to console in C#
Write message to console without blocking current thread
The fast and most commonly used method to debug code is for sure using console applications. Since main operations are reading input and writing output, it does not take much to set it up and start debugging your code. One more reason for using console application is to test the performance... read more
.NET managed scheduled task runner
Scheduled managed code execution in .NET
Sometime ago I wrote an article about Windows Scheduled Task vs Windows Service where I compared and listed benefits and drawbacks of using scheduled tasks in Windows and Windows Services for executing certain operation which repeats in some time span. However idea of executing tasks in a single Windows Service is very useful if you need to execute task in a short time span plus you have a full control including logging and other fine grained customization in case you write the task in your code... read more
Parallel infinite loop in C#
Using Parallel for infinite loop in C#
In .NET framework 4.5 Task Parallel Library of TPL is introduced. It is the same thing as Threading but in additional layer of abstraction... read more
Fast image search in .NET using C#
Searching images on the file system with C#
Searching files on the file system is pretty easy using System.IO namespace classes. The problem is if you need to youery file system with some things which are related to a file, but not related to file system itself... read more
Windows Scheduled Task vs Windows Service
Points to consider whether to use scheduled task or windows service
From time to time you have a need to implement some maintainance opration for your application server. Whether it is just a simple temporary file deleting pr something more complicated. Two most common ways to do this are either using ... read more