سؤال

As the title said, I want to use WebSync, from frozenmountain, with my ASP.NET MVC 4, but I haven't found any tutorial about it. Do you know how to do that, where to start? Or if you have any better way to implement comet with ASP.NET MVC 4, please let me know.

Thanks for your help.

هل كانت مفيدة؟

المحلول

Do you know how to do that, where to start?

The documentation is usually the first place you might start at when you need to apprehend some new tool or framework that you are not familiar with: http://docs.frozenmountain.com/websync4/

Or if you have any better way to implement comet with ASP.NET MVC 4, please let me know.

You might checkout SignalR.

نصائح أخرى

Just add a route in Global.asax (Application_Start):

protected void Application_Start()
{
    // Add this line.
    WebSyncServer.AddRoute("websync");

    // ...
}

You can test it by browsing to:

 http://yourserver/websync

http://docs.frozenmountain.com/websync4/index.html#class=websync-getting-started-creating-the-server-10_basic-setup

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top