Pros and cons of MS Ajax vs. jQuery in an ASP.NET MVC app?

前端 未结 5 1796
终归单人心
终归单人心 2020-12-05 08:23

Now that RC1 is out I need to decide once and for all whether to use MS Ajax libraries or just jQuery for AJAX requests. The application is a new application. Essentially th

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-05 08:57

    I also found the jQuery announcement about MS incorporating the library

    Apparently :

    Additionally Microsoft will be developing additional controls, or widgets, to run on top of jQuery that will be easily deployable within your .NET applications. jQuery helpers will also be included in the server-side portion of .NET development (in addition to the existing helpers) providing complementary functions to existing ASP.NET AJAX capabilities.

    So I'm thinking its quite probable that they'll end up having jQuery helpers that exactly mirror the AJAX helpers for the MS stuff.

    I guess solution I'll take is to use Html.BeginForm, and then intercept the submit button to use jQuery. I'm not especially worried about people without javascript losing functionality, but its not that much harder to do so I may as well.

提交回复
热议问题