services.AddScheduler(scheduler => { scheduler.Schedule( () => Console.WriteLine("Run at 1pm utc during week days.") ) .DailyAt(13, 00); .Weekday(); } );
IQueue _queue; public HomeController(IQueue queue) { this._queue = queue; } //... Further down ... public IActionResult QueueTask() { // Call .QueueTask() to add item to the queue! this._queue.QueueTask(() => Console.WriteLine("This was queued!")); return Ok(); }
I want to show you how easy it is to get a simple website up and running using Ooui that is powered by Xamarin.Forms