News for hackers. Stuff that matters.
Re:Java Developers by ivanlubenko on Tuesday July 22, 2014 @06:32AM (#8068212)
I like your comment. Do you have any examples of C# libraries that use the ideas you're talking about? Or even better - do you know of a tutorial or something where I can clearly see the two approaches compared and contrasted?
Re:Java Developers by skrebbel on Tuesday July 22, 2014 @10:06AM (#8069023)
Nancy: http://nancyfx.org

Contrast that with Microsoft's WCF: http://www.codeproject.com/Articles/105273/Create-RESTful-WC...

Quartz: http://www.quartz-scheduler.net (hint: it's gigantic)

Contrast with

        private void ScheduleRepeated(Action task, TimeSpan interval)
        {
            Task.Run(async () =>
            {
                while (true)
                {
                    await Task.Delay(timeSpan);
                    task();
                }
            });
        }