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

Krishna Rajput SinghPosted Aug 24, 2017, 9:09 AM
jahsir rahmanPosted Aug 24, 2017, 9:04 AM
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));}}}Kranthi Vardhan KolluruPosted Aug 24, 2017, 7:19 AM
Rajkiran SwainPosted Aug 24, 2017, 6:58 AM