i am developing an asp .net web application i want to implement a backgroun process for whole website at a time i.e., i don't want to implement for every page i need to implement for whole website as globally.
suppose in any page of my website take long time to load i want to show this processing image. please help


Rajkiran SwainRank #165 · 14.4K reputationPosted Aug 24, 2017, 2:58 AM EDT
Kranthi Vardhan KolluruRank #3,416 · 423 reputationPosted Aug 24, 2017, 3:19 AM EDT
jahsir rahman86 reputationPosted Aug 24, 2017, 5:04 AM EDT
If your ASP.NET application just needs one background task to runs an a basic scheduled interval, than perhaps you just need the basics of WebBackgrounder.
usingSystem;usingSystem.Threading;usingSystem.Threading.Tasks;namespaceWebBackgrounder.DemoWeb{publicclassSampleJob : Job{publicSampleJob(TimeSpan interval, TimeSpan timeout):base("Sample Job", interval, timeout){}publicoverrideTask Execute(){returnnewTask(() => Thread.Sleep(3000));}}}Krishna Rajput SinghRank #605 · 4K reputationPosted Aug 24, 2017, 5:09 AM EDT