I\'m developing a .NET 4 application that requires a backend worker thread to be running. This thread consists mostly of the following code:
while (true) {
I would strongly opt for the Windows Service if possible. Background threading in ASP.NET comes with a lot of baggage.
And plenty more.
Consider something simple like Hangfire and then think about the design points in this related answer.