How to run Background Tasks in ASP.NET [closed] - c#

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I need to run some tasks in Asp.net MVC, after every 5 minutes. I've never worked on such functionality. So i googled it and got some options to implement this functionality. These are the options here, here and here
I've looked over the above links. These all just confuse the person to choose best process to run background process.
I'm new on such functionality, that's why I'm here to discuss/ask the several ways available to implement it.

You can use Hangfire It's a fantastic framework for background jobs in ASP.NET.You can find HangFie Tutorial Here.
The best feature from Hangfire is its built in /hangfire dashboard that shows you all your scheduled, processing, succeeded and failed jobs. It's really a nice polished addition.
All these libraries are excellent, are open source, and Available as Nuget Packages.
Some Other Options
QUARTZ.NET
FLUENTSCHEDULER
WEBBACKGROUNDER

Related

Which one is Cost Effective Azure webjob using cron or Logic app?.And Azure webjob Free or not? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I am using scheduler web jobs in azure.But I am bit confused with its price.Because some site says azure web jobs are free but by keeping it in 'Always On' may affect the price some other says.I want to know which one is cost effective with low price.
WebJobs don't cost anything beyond the cost of the WebApp they're part of.
The use of the Azure Scheduler is separate from WebJobs, and this does have an additional cost
As i look at it, if using a continuous job, which doesn't not need the scheduler at all.
WebJobs "always on" which is only for Standard Website, this will make sure your Website and WebJob are always up (won't be the case for free/shared websites), so you can experiment using free but for full usage you need standard plan.

What is the counter part of Task.Run(Sub() ) for .NET Framework 2.0 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Hi I'm currently working on a project and my target framework is .NET Framework 2.0 for windows 2000. I can't use the task.Run. Is there an other option?
Look at Async delegates and the thread pool for quick examples. The idea IAsyncResult pattern is described here with some good examples.
It's quite different from tasks as you do not have much of control over task scheduler, but will do the work in most of cases.

Automatically parallelize a .net application [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I would like to know if there is a way to automatically parallelize a .Net application in order to use multi core CPU.
I know if it's possible to do it with some coding, but, is there a tools or a "runtime?" that is able to run an application in parallel (multi threading) without do manually ?
Thanks a lot :)
No - there is no way to parallelize a .net application. The programmer must build for multi-threaded/parallel from the ground up, and certain application areas will not be suited to parallelization.

cronjob in asp c# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have a question:
I have to do a project, which has something to do with reading data from txt into MSSQL. This function I solved it with a click-event. Right now, the reading process has to read the whole data automatically every day on the server, even without open the website. Can I do it with a cronjob or there are also other better solutions?
Have a look at Quartz.Net - it's a decent job-scheduling system.
It's probably overkill if you only have a single job.
Quickstart documentation is here: http://www.quartz-scheduler.net/documentation/quartz-2.x/quick-start.html
In addition to Quartz.NET you can also look at http://hangfire.io/.

ASP.NET MVC Forum? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am repeating this question since i haven't found a good answer to it yet. The other threads about this topic is from 2008 and 2009. There are a few projects out there like OpenForum, NearForums and Telerik Forums. The openforum and nearforums i can't even get to run on my computer, just getting a lot of build errors. On the openforum it seems a bit dead on that end in the discussions thread. Telerik requires some components that i can't even find.
So i ask again, maybe there is some new projects in the loop, is there a forum like YAF for asp.net?
It must be MVC 2 or 3 and preferably also have some APIs like YAF so that it can easily be integrated into the webpage.
Also try our latest release
http://www.mvcforum.com
The full source/docs is on Github and you can download via nuget too
https://github.com/leen3o/mvcforum
Also, we have a support forum which is actually running the latest version of the forum.
http://support.mvcforum.com
Did you tried http://mesoboard.com/ ?
http://mvcforum.codeplex.com not quite ready for release yet, but we're getting there!

Categories

Resources