1

i don't find the Ajax helper into asp.net vnext mvc 6. is it delete from project or replace by view component ?

I search in the github repository and i don't see the file. may be to install an nuget package.

I found the nuget package "Microsoft.jQuery.Unobtrusive.Ajax": "3.2.3-beta1", only require the jquery version 1.8.

Deduplicator
  • 44,692
  • 7
  • 66
  • 118
ced arm
  • 21
  • 4

2 Answers2

4

This request is tracked by the following item: https://github.com/aspnet/Mvc/issues/2015

AjaxHelpers are not being tracked for MVC 6.0 at the moment. We are planning to make unobtrusive ajax available on Bower.

We are debating how much of the AjaxHelpers if any we are going to bring back. But either way we will provide samples at some point showing exactly how to achieve the sample functionality.

Yishai Galatzer
  • 8,791
  • 2
  • 32
  • 41
  • Ok thanks. It's me that i posted the issue on aspnet repository. – ced arm Feb 17 '15 at 07:43
  • 1
    Thanks for opening the issue. Can you please add to the issue what specific APIs you are using from the Ajax helper. Our current plan is to make the javascript available on bower. https://github.com/aspnet/Mvc/issues/2021 and some of the items are as simple as adding an attribute on the tag. So if you can provide more information, I might be able to provide more specific feedback. – Yishai Galatzer Feb 17 '15 at 18:11
0

enter image description here

https://github.com/aspnet/jquery-ajax-unobtrusive

you can use the attribute to call server by ajax request

Ibrahim Alsurkhi
  • 113
  • 1
  • 13