Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

multithreading

What are some best practices for managing background threads in IIS?

August 31, 2022 by Magenaut

I have written an HttpModule that spawns a background thread. I’m using the thread like a Scheduled Task that runs in-process, which is really handy.

Categories ASP.NET, Q&A Tags asp.net, httpmodule, multithreading Leave a comment

How do you handle a thread that has a hung call?

August 30, 2022 by Magenaut

I have a thread that goes out and attempts to make a connection. In the thread, I make a call to a third party library. Sometimes, this call hangs, and never returns. On the UI thread, I want to be able to cancel the connection attempt by aborting the thread, which should abort the hung call to the third party library.

Categories ASP.NET, Q&A Tags .net, asp.net, c#, multithreading Leave a comment

Why Thread.Sleep() is so CPU intensive?

August 30, 2022 by Magenaut

I have an ASP.NET page with this pseduo code:

Categories ASP.NET, Q&A Tags asp.net, c#, multithreading, performance Leave a comment

Will a request in IIS run on a single thread?

August 30, 2022 by Magenaut

We have a system that runs in IIS.

Categories ASP.NET, Q&A Tags asp.net, c#, iis, multithreading Leave a comment

Thread was being aborted

August 30, 2022 by Magenaut

I am using Server.Transfer. Everything works fine, but exception log shows following exception.

Categories ASP.NET, Q&A Tags asp.net, multithreading, server.transfer Leave a comment

Does async and await increase performance of an ASP.Net application

August 30, 2022 by Magenaut

I recently read an article about c#-5 and new & nice asynchronous programming features . I see it works greate in windows application. The question came to me is if this feature can increase ASP.Net performance?

Categories ASP.NET, Q&A Tags asp.net, async-ctp, c#, c#-5.0, multithreading Leave a comment

REST WCF service locks thread when called using AJAX in an ASP.Net site

August 29, 2022 by Magenaut

I have a WCF REST service consumed in an ASP.Net site, from a page, using AJAX.

Categories ASP.NET, Q&A Tags ajax, asp.net, c#, multithreading, wcf Leave a comment

Why ASP.NET kills my background thread?

August 29, 2022 by Magenaut

I have the following code in my codebehind (aspx.cs):

Categories ASP.NET, Q&A Tags asp.net, c#, multithreading Leave a comment

How to properly make asynchronous / parallel database calls

August 29, 2022 by Magenaut

I’m looking for the proper way to handle multiple database calls that would likely benefit from running simultaneously. The queries are just to stored procedures that are either doing inserts or merges using data that is programmatically assembled into DataTables in my ASP.NET MVC app.

Categories ASP.NET, Q&A Tags asp.net, asynchronous, c#, multithreading Leave a comment

Best way to run a background task in ASP.Net web app and also get feedback?

August 29, 2022 by Magenaut

I am thinking on the following approach but not sure if its the best way out:

Categories ASP.NET, Q&A Tags asp.net, multithreading Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page16 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress