Bob5421
Bob5421

Reputation: 9063

What is the difference between Microsoft jQuery Unobtrusive and Microsoft Ajax

I am working on an ASP.Net MVC Application (C# and razor). I am wondering what is the difference between those 2 nuget packages:

Thanks

Upvotes: 3

Views: 1380

Answers (1)

Jasen
Jasen

Reputation: 14250

Microsft jQuery Unobtrusive replaces the obsolete Microsoft Ajax.

After importing the package to your project, jquery.unobtrusive-ajax.js allows you to use the Ajax* AjaxHelpers in the Razor views.

However, many recommend against using the AjaxHelpers in favor coding these yourself with plain jQuery.

It seems in MVC6 they have removed the AjaxHelpers.

Which updates the question Is "jquery.unobtrusive-ajax.js" obsolete?

Upvotes: 2

Related Questions