I always love your approach and simplicity. My friends are tired of me because of how I advocate for your contents 😂
"You are awesome. I am highly grateful to you. I am a developer because of you. Thank you so much for your tremendous work."
Appreciate you explaining every detail and piece of code you write even if its out of the main video's topic, that helps us learn more than what we are here to learn! In most videos they just keep focusing on the main topic and don't realize that we can get confused by parts of the code included that we might not understand and/or lose concentration.
Thanks a lot Tim for the clear and detailed sample and explanation.
Your english accent makes your content 10x more understandable. Love you bro 😍
Most excellent simple and concise tutorial. Thanks
That's super handy to have built right into ASP.
Thank you, Tim! It's what i've been looking for
I like ingesting these skills in small bites like this.
Tim, I have a video idea. I'm training a new hire, and they asked me a good question I think other could benefit from. The long and short of it is F12. How to look into a class to see the available methods, and how to look at what the returns look like i.e. node<int>, and the overload options without doing the hover and up down arrows when you hover over a method. And I've always wondered why there is a .ToString(), but there isn't a .ToInt32(). Why do I have to use Convert.ToInt32... go
Great, what is the extension are you using to implement suggestions please?
Is there a particular design pattern or api/mechanism in .NET for triggering a long task as opposed to a continuous service like in this video? In other words, we want the web api endpoint to return before the task is complete but the lengthy task can continue running until it is complete. But, unlike the example in this video, it's not a continuous service that runs on any sort of continuous schedule, but is randomly initiated by the user.
Excellent video as always, thanks Tim! Question: What is the best way, in your opinion, to trigger a user initiated background task, for e.g. from a web page?
The issue I faced was the app pool will be stopped if there were no incomming requests for some time. The background tasks will also stop in this case. I tried to fix it on a app pool settings level but gave up and hosted my background workers under win service. Is there a good way to keep the app always on?
Thank you so much for knowledge sharing and God bless you and your family
the best never rest thank you Corey <3
I know this is just for training purposes, however there was no need to dispose the timer in a dispose method, you could just dispose it in the stop method as you create a new instance in the start method. Great material though, thanks.
Dear Tim, I have a question regarding hosted services. What if I need the service run indefinetely in the background (i.e. receiving some data via TCP) but I need to be able to change some fields in the data saved like add timestamp or some additional info? Should I use hosted service for TCP reader as well?
I assume with any background job technology Hangfire, Quartz, Hosted Service etc. if the IIS process isnt running then neither is your job. I used Quartz fairly recently and the job just wasnt running until i visited a page to trigger the process. Ultimate ly I abandoned it and refactored everything into a Windows Service.
@ayarasimeon5592