Calling asp net web services using jquery ajax

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 35

  • @ssrafael
    @ssrafael 9 лет назад +9

    Many praises to you my friend! This is the first video that I've seen that clearly explains how to make an ajax call using ASP.NET. It is very easy to understand and explained in such a clear, friendly way. I like that you did it with straight ADO and POCO objects instead of going Entity Framework. Keep up the awsome work!

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  9 лет назад +1

      +ssrafael Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      Dot Net & SQL Server training videos for web developers
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      You can order DVDs for offline viewing using the link below
      www.pragimtech.com/Order.aspx
      Code Samples & Slides are on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use our channel
      ruclips.net/video/y780MwhY70s/видео.html
      To receive email alerts, when new videos are uploaded, please subscribe to our channel
      ruclips.net/user/kudvenkat
      Please click that THUMBS UP button below the video, if you like the videos
      Thanks a million for sharing these resources with your friends
      Best
      Venkat

  • @sandeepraul7261
    @sandeepraul7261 5 лет назад

    I wonder, how can people dislike such wonderful, crystal clear explanation which can be used even till date...., if there was option, i would have given thousands of likes. Keep up the good work Sir!!!!

  • @devve7
    @devve7 9 лет назад +1

    Thank You Very Much !!!
    After lost many hours, you solved my problem in 15 minutes !!!
    Excelent work !! - Thanks Again !!!

  • @armandocamacho8086
    @armandocamacho8086 5 лет назад

    Thank you, I was looking on how to do this for 6 hours straight, you saved my semester

  • @squashtomato
    @squashtomato 6 лет назад

    Thank you buddy! Was really stuck. Completely forgot to read the commented out scriptservice. Solved it instantly!

  • @dipankarghosh7005
    @dipankarghosh7005 8 лет назад

    Very good tutorial for beginners. Thanks. It helped me a lot. It explains very clearly and simply. Thanks for your effort.

  • @IlhamIsrafilov
    @IlhamIsrafilov 9 лет назад +1

    Thanks. Great tutorial as always. Love your style of tutoring. Waiting for the next tutorial

  • @HistoryIR647
    @HistoryIR647 9 лет назад +1

    You are great venkat!!! Waiting for more on this.

  • @somakroy6079
    @somakroy6079 9 лет назад +1

    Looking forward to your next tutorial. Great tutoring!!

  • @fazalabbas7407
    @fazalabbas7407 4 года назад

    Thanks Sir You save me...God Bless you

  • @developernader
    @developernader 9 лет назад +2

    Thank you very much, helped me a lot this lesson.

  • @saqlainraza5892
    @saqlainraza5892 7 лет назад

    Your tutorials are the best and easy to understand as well (Y)

  • @mahethekiller1
    @mahethekiller1 9 лет назад +1

    great tutorial ,helped a lot , i have a question :
    i have a webservice on a server what should i do to acces it online using jquery ?

  • @MohammedDawoodAnsari
    @MohammedDawoodAnsari 9 лет назад +1

    Simply the great video, thank you

  • @kaarthickr1810
    @kaarthickr1810 8 лет назад +1

    Simply awesome!

  • @fahadaslamtanoli
    @fahadaslamtanoli 9 лет назад +2

    very good you are my hero

  • @riccarrasquilla379
    @riccarrasquilla379 Год назад

    thanks for the video

  • @MrKary2
    @MrKary2 8 лет назад

    Hi, thank you for the informative tutorial,
    what if you need to send more data to the webservice and the webservice is not int he same project. so employee would not be recongized

  • @Mitchel3091
    @Mitchel3091 8 лет назад

    Thanks a lot for this tutorial! :)

  • @kukkyou4647
    @kukkyou4647 2 года назад

    Thnq sir bhut bhut

  • @venkatramana331
    @venkatramana331 4 года назад

    can i use the same for mvc?

  • @braScene
    @braScene 8 лет назад

    Hello sir, thank you for this very clear and easy to follow explanation. I have one question about contentType/dataType parameter of ajax. My intellisense shows me contentType parameter, and when I set it to "xml", app doesn't work, error get caught and alert is shown. If I go to concole to see the error, this is shown: Request format is unrecognized for URL unexpectedly ending in '/GetEmployeeById'.
    But if I put dataType:"xml" then everything work, but intellisense is not offering "dataType" parameter. Why is this?

  • @sidduteli9892
    @sidduteli9892 6 лет назад

    thank you so much sir

  • @ManeSalinasR
    @ManeSalinasR 4 года назад

    thanks you... but this work excelent on localhost but didn't on the server... can you help me please?

  • @johndsa5622
    @johndsa5622 5 лет назад

    Hey,I tried doing the same but it throws exception while parsing the Json, The reason for that is the response that I get is a Mix of Json and some Junk , and when I try to destringify it throws an error. The response returned is as below-----> [{"category_name":"Motors","cat_area_name":"Bizzarrini","add_description":"Well maintained car"},{"category_name":"Motors","cat_area_name":"MakesAcuraAlfa","add_description":"No Accidents"}]
     

    Server cannot clear headers after HTTP headers have been sent.


    body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
    p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
    b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
    H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
    H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
    pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
    .marker {font-weight: bold; color: black;text-decoration: none;}
    .version {color: gray;}
    .error {margin-bottom: 10px;}
    .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
    @media screen and (max-width: 639px) {
    pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
    }
    @media screen and (max-width: 479px) {
    pre { width: 280px; }
    }


    Can you help provide me a resolution? Alternately how do we contact you?

  • @itspreethisworld848
    @itspreethisworld848 7 лет назад

    guys, shouldnt the "method" be GET here as its get request from the server? please someone explain it why it was POST instead of GET?

  • @trancongduong6966
    @trancongduong6966 7 лет назад

    Thank you very much ! when i test in localhost this code run : (url: 'EmployeeService.asmx/GetEmployeeById') but when im using iis which ip public example :( 113.176.237.50/EmployeeService.asmx/GetEmployeeById ) is error "Internal Server Error [500]." , what wrong ? can you help me ?

  • @mutyalakiran9839
    @mutyalakiran9839 8 лет назад

    i am getting did error wen i press invoke button
    System.NullReferenceException: Object reference not set to an instance of an object.
    at WebApplication1.EmployeeService.GetEmployeeById(Int32 employeeId) in C:\Users\yashwanth\Desktop\Task practice\calling asp web services using jquery ajax\WebApplication1\EmployeeService.asmx.cs:line 17

  • @shibugope2809
    @shibugope2809 3 года назад

    how to call a webservice method if there is two project in a solution ,webservice is in different project and form is in different.

  • @SaySaySee
    @SaySaySee 7 лет назад

    webservice 3:58
    js 10:49 15:27

  • @jaswanthsingh5227
    @jaswanthsingh5227 4 года назад

    Why don't we bind data to gridview?? Why this

  • @keshavmahajan1811
    @keshavmahajan1811 7 лет назад

    please don't mix JQuery with asp.net........