ASP.NET MVC服务器端计时器

I am creating an online quiz application and need server side timer. For example if the user opens another browser or refresh the page or leave and back time shoud be proper.

Now i am using jquery timer and in every 5 minutes send ajax request to store proper information into the database. Also when the user answers the question i immediately send again ajax requst for the same purpose.

Should i use signalr instead? What would be more proper way to handle server side timer in asp.net mvc?

查看全部
weixin_33729196
weixin_33729196
2016/01/28 21:16
  • c#
  • signalr
  • ajax
  • 点赞
  • 收藏
  • 回答
    私信

1个回复