Part 6 Calling asp net web service from javascript using ajax

  Рет қаралды 154,360

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 85
@bookingsessential
@bookingsessential 8 жыл бұрын
You are my "go to" guy for all training video's. Great job as usual.
@saurabhpaul5485
@saurabhpaul5485 10 жыл бұрын
Dear Venkat. Thanks a ton for the video. Though you have tried to put together service and client in the same project for simplicity of explanation may be but actually I was trying the same by keeping both in different projects but I am getting server method failed error from the failed callback function. Could you please reply on how to go about it so that this part will be clear to us as I can see lot of other viewers are also having the same query. Thanks in advance. Best Regards, Paul
@shahzaibahmed2209
@shahzaibahmed2209 11 жыл бұрын
Good ..You Really do work hard to make us understand each point very clearly...
@gabhishek17
@gabhishek17 11 жыл бұрын
Thanks a lot very helpful please also cover web service security.
@supopppppo
@supopppppo 8 жыл бұрын
Thanks for the great videos
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 8 жыл бұрын
+Vivek Sandira Thank you for the feedback. I am very glad you found the videos useful. I have organised all the video tutorials in to playlists, which could be useful to you kzbin.infoplaylists?view=1&sort=dd If you need physical DVDs or you want to download all the videos for offline viewing please order them using the link below www.pragimtech.com/kudvenkat_dvd.aspx Slides and Text Version of the videos can be found on my blog csharp-video-tutorials.blogspot.com Tips to effectively use my youtube channel. kzbin.info/www/bejne/r2ibYYCtnb5qZtU If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. kzbin.info If you like these videos, please click the THUMBS UP button below the video. We like to see these free video tutorials helping others as well. Please share the link with your friends and family who you think would also benefit from them. Thanks Venkat
@siciidh
@siciidh 11 жыл бұрын
Thanks a lot, Our Best Teacher. Thank your Sir, Thank you Allah bless you
@gopinathbehera9543
@gopinathbehera9543 11 жыл бұрын
Thanks sir. We are waiting some WCF videos after this series.
@notta3d
@notta3d 9 жыл бұрын
Great video. Just a quick question, why would you do this when the same results can be achieved with straight C# code? Thanks.
@ruthyayele168
@ruthyayele168 11 жыл бұрын
Thanks Sir, How about if the WebService is not in the same project? How can we call web method in the javascript?
@sylassaint6820
@sylassaint6820 3 жыл бұрын
Dunno if anyone gives a shit but if you guys are stoned like me during the covid times you can watch pretty much all of the new movies on instaflixxer. Been binge watching with my gf these days :)
@tristencorey8279
@tristencorey8279 3 жыл бұрын
@Sylas Saint Definitely, been using Instaflixxer for since november myself =)
@yazzi6040
@yazzi6040 11 жыл бұрын
Thanks Kudvenkat. Quick question: what of if the webservice is external, how do one reference it and call the method?
@SonuTiwari-rg8jl
@SonuTiwari-rg8jl 9 жыл бұрын
Hi Venkat, This video is very useful. In this video Web Service and Client Application in the same solution. suppose Web service and Client application are at different system or in my system only but at different solution then how to call Web service from javascript using Ajax.
@MrUmamahesh25
@MrUmamahesh25 10 жыл бұрын
Excellent job...
@80amnesia
@80amnesia 10 жыл бұрын
is data transfered to client with Json or by XML (as a typical webservice)?
@manishmoon8
@manishmoon8 11 жыл бұрын
Awesome.. Thanks a lot Sir.. :)
@devontaig
@devontaig 10 жыл бұрын
That was truly superb! Thank you. I'm wondering if you might explain what the process is for the type of services created in Visual Studio 2012 (with the .svc extension).
@ssaurabhverma
@ssaurabhverma 10 жыл бұрын
Hi... really a very helpful tutorial. But I've a question, how to call web service in cross domain using AJAX ? Please help me asap.
@riccarrasquilla379
@riccarrasquilla379 10 ай бұрын
thanks for the video
@kapilpetkar1982
@kapilpetkar1982 5 жыл бұрын
Thank you sir for the wonderful video. Please tell us how to consume web service present in one project in to another project using asp.net ajax?
@Leng.sovandara
@Leng.sovandara 9 жыл бұрын
I am newbie for Web Services. I have some question about Web service. 1- Could you explain me Web Service Vs WCF Service Vs Web API ? Which Should I use and Why? 2- How can I use AngularJS to call Web Service in order to access database? Thanks in Advance...
@jeewanintube
@jeewanintube 10 жыл бұрын
Sir, Please encourage us to use entity framework instead of ado.net .It's Pretty boring to watch using connection string manually. Thank U.
@wilsonsebeniecher8462
@wilsonsebeniecher8462 10 жыл бұрын
Agree.
@lv1023
@lv1023 6 жыл бұрын
Nicely done! thanks
@abhinavkumar8271
@abhinavkumar8271 8 жыл бұрын
very good.. Thanks
@shandine9181
@shandine9181 6 жыл бұрын
Excellent!
@SaidAmanar2015
@SaidAmanar2015 9 жыл бұрын
Good Video with a nice explanation, Thanks
@hamid.a-amazigh7721
@hamid.a-amazigh7721 10 жыл бұрын
Excellent video, as all the previous ones, thank's. I'm trying to do the same thing with tow projects, web service project and client project witch is calling the web service via Ajax, but I have a error like The server method fails, please can you reply with an other example with tow projects. Best regards Thank you.
@sharadsingh2856
@sharadsingh2856 10 жыл бұрын
very helpful.thkx sir
10 жыл бұрын
thanks a lot sir. Please, add same example with Asp.Net Mvc,, I am interested in calling webservice from Ajax in Asp.Net Mvc
@dushyantgangatkar9724
@dushyantgangatkar9724 11 жыл бұрын
very helpfull thanks a lot sir :D
@joyarun8626
@joyarun8626 10 жыл бұрын
Venkat, thanks for the videos..Having one doubt, How to call webservice through Ajax script from different client..In current example, as everything has been done in same project..If you are keeping webservice and website which consuming webservice in different project, how we have to invoke the webservice method
@2011AccountMyutube
@2011AccountMyutube 10 жыл бұрын
great video
@zygopok1
@zygopok1 8 жыл бұрын
so we cant create the proxy class while using java script?
@BasiliskSupreme
@BasiliskSupreme 9 жыл бұрын
I could get the Webservice working, but not the Client application. I am not able to get the GetStudentsByID() to work. I have just placed an alert in this and function and when I click on the button, this alert() does not pop-up. Are there any settings that need to be carried out. Please advise..
@sahilchhabra956
@sahilchhabra956 8 жыл бұрын
Sir, How can I pass a Object (like Student) as a input parameter for the WebService Method call through AJAX? Thanks in Advance :)
@Anand-vd6df
@Anand-vd6df 10 жыл бұрын
How to call web service using AJAX if it is on different server ?? My service url : localhost:65311/Service1.asmx Project Url for page : localhost:16980/access_WS_using_ajax.aspx I set url in Script manager : but when i call in javascript it show error in debugger console : Failed to load resource: the server responded with a status of 500 (Internal Server Error) localhost:16980/Service1.asmx/get_cliet1 And line in Javascript which reference is WebService1.Service1.get_client1(id, put_data, no_data); namespace.class.method
@bojanasamardzioska3040
@bojanasamardzioska3040 3 ай бұрын
thank you
@arungmani3722
@arungmani3722 8 жыл бұрын
Uncaught TypeError: Cannot read property 'GetStudentByID' of undefined
@ivandrofly
@ivandrofly 8 жыл бұрын
I'm getting same error! :(
@abdelhafidsaou6815
@abdelhafidsaou6815 6 жыл бұрын
@Arun G Mani How did u solve this problem ? Can you help me please ?
@DevelopersTube
@DevelopersTube 4 жыл бұрын
Please make videos for sales force integration in .net applicaions
@SoftwareDeveloperAspNet
@SoftwareDeveloperAspNet 9 ай бұрын
I am getting error WebServiceDemo is not defined how to resolve this? I added refrence of WebServiceDemo project into another project but not working
@muralijagdev
@muralijagdev 9 жыл бұрын
hi venkat can we use the same approach with VB6?
@ipsitapani4760
@ipsitapani4760 11 жыл бұрын
Thank u sir.
@unlose88
@unlose88 9 жыл бұрын
How I call the service with different domain? I mean my web service is at another solution ( project). Tks!
@malikmohsan3029
@malikmohsan3029 7 жыл бұрын
hello, great video series, I have a question, please help me. How to call asp net web service that is in other asp.net web application from javascript using ajax. what will be path for other application and also how to access webmethod ?
@visuvasasimon666
@visuvasasimon666 2 жыл бұрын
if using 2 projects like web Applications and Web services in the same solution how to call the ASMX method in the web application pls help
@ajaybangar2664
@ajaybangar2664 10 жыл бұрын
GetStudentById function have only 1 parameter in StudentService.asmx file but you passed it more than 1 parameter to this function....it happens but how could this possible.
@ashishmishraakm
@ashishmishraakm 7 жыл бұрын
How call a WCF Service using jQuery via AJAX Call in a different Project (Cross Domain). This will not work If I call service from different project in same solution.
@shibugope2809
@shibugope2809 2 жыл бұрын
can you please tell me how to call a webservice method if i have webservice method in different project in that same solution.
@rahulchugh6694
@rahulchugh6694 6 жыл бұрын
my function is not called by ajax . pls help ? GetEmployeeByIdSucessCallBack
@MaTrIf17
@MaTrIf17 8 жыл бұрын
hello sir, how can i implement this functionallity with your example on Datatables? Tnx!
@krishnagoriparthi4570
@krishnagoriparthi4570 4 жыл бұрын
Hi sir i got this error cannot implicitly convert type webservicesapp.student to string how to solve it plz reply me
@gopinathbehera9543
@gopinathbehera9543 11 жыл бұрын
HI Sir, If we want to call 2 WebServices from a single webform then how and where to specify the path of the Webservices.
@Algo4Life_IN
@Algo4Life_IN 7 жыл бұрын
I am unable to call the webservice method from javascript and I have taken care of all prerequisites as well :(
@nagarajupesarlanka8051
@nagarajupesarlanka8051 10 жыл бұрын
How to consume the above studentservice.asmx to other projects.
@waiyanhein7205
@waiyanhein7205 10 жыл бұрын
Sir I follow video . My code is not working . Please onclick event is clicent side click or server side click please ??
@BasiliskSupreme
@BasiliskSupreme 9 жыл бұрын
Are you able to get your code working?
@crystaldata
@crystaldata 5 жыл бұрын
Need Help.. Can't create web services in the Namespance of the project..
@crystaldata
@crystaldata 5 жыл бұрын
namespace*
@vinodkus1
@vinodkus1 10 жыл бұрын
Its awesome, but I dont know why its video quality is degraded.
@pashkpashk18
@pashkpashk18 10 жыл бұрын
just because of slow internet connectivity, try with better speed
@ratnakumarpaleru
@ratnakumarpaleru 11 жыл бұрын
Can you explain how to send data to data base in a ASP.Net MVC web application by making use of Knock Out js and Json. Please give reply for my post.
@66raghu
@66raghu 10 жыл бұрын
how can we call the service using ajax javascript if it is different server????????
@vishwassl965
@vishwassl965 8 жыл бұрын
What is an endpoint? what is its purpose?
@ivandrofly
@ivandrofly 8 жыл бұрын
Getting error in: string cs = ConfigurationManager.ConnectionStrings["DBCS"].ConnectionString;
@ivandrofly
@ivandrofly 8 жыл бұрын
Shouldn't we specify an authentication from SQL Server?
@Jack_X075
@Jack_X075 7 жыл бұрын
Hey man, if this helps.... you can get the connection string by right clicking on the database and properties. The full connection string of any database would be there. Just copy the text and paste it in web.config file.
@naveenkumar-bz3rg
@naveenkumar-bz3rg 9 жыл бұрын
how to use,other domain webservice..????? please answer this question if anyone knows. thanks in advance
@tocarguitarra2806
@tocarguitarra2806 7 жыл бұрын
i guess you could try to point to that webservice URL when inport it to ServerReference, right-click on references to add one.
@lalitkumar6068
@lalitkumar6068 10 жыл бұрын
how to use,other domain webservice..?????
@Deathlupus
@Deathlupus 6 жыл бұрын
Why didn't you just use Entity Framework?
@imtiajahammad3586
@imtiajahammad3586 4 жыл бұрын
I am getting error("Uncaught ReferenceError: WebServicesDemo is not defined") on service call: WebServicesDemo.StudentService.GetStudentByID(id, GetStudentByIdSuccessCallback, GetStudentByIdFailedCallback); Can you/anyone tell me the reason? Did i miss anything?
@nathanjayyang2938
@nathanjayyang2938 3 жыл бұрын
You need to add attribute [System.Web.Script.Services.ScriptService] to your StudentService class . To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
@rachaelmoussaoui5728
@rachaelmoussaoui5728 3 жыл бұрын
how did you fix the problem?
@nigelthomas1465
@nigelthomas1465 3 жыл бұрын
I am having the same issue
@imtiajahammad3586
@imtiajahammad3586 3 жыл бұрын
@@rachaelmoussaoui5728 I actually tried web service but did not carry on. Sorry, i do not remember the solution and lost the code also.
@imtiajahammad3586
@imtiajahammad3586 3 жыл бұрын
@@nigelthomas1465 Sorry, I do not remember and lost that project also
@aradhanasingh836
@aradhanasingh836 6 жыл бұрын
can you please share configuration file code too
@sanaaboukhlal4867
@sanaaboukhlal4867 10 жыл бұрын
comment intégrer service web f une page web asp.net
@the-gray-haired-developer
@the-gray-haired-developer 7 жыл бұрын
Hi Venkat, Lets say your GetStudentById function returns a data table, then how will you make use of data table in java script function like you used with result parameter in java script function which is student object. You accessed the properties on result with this format --> result["name of the property"]. But what if I have a data table in hand. Can it be accessed like --> result.Rows["name_of_column"] ? It's not working tis way. ? Also, I have my web service in different project. How can I add the service reference path in script manager , if my web service is in different project? You can find the question details here : stackoverflow.com/questions/41880547/how-to-make-use-of-data-table-which-is-returned-by-an-asmx-webservice-in-java-sc Thanks, Ankit
@rohans5265
@rohans5265 4 жыл бұрын
I have a code example here: github.com/rsk2/jquery-ajax-vbdotnet
Save data using asp net web services and jquery ajax
12:57
kudvenkat
Рет қаралды 76 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 7 МЛН
Part 3   Creating a wcf service
28:15
kudvenkat
Рет қаралды 532 М.
Part 1   Introduction to asp net web services
15:15
kudvenkat
Рет қаралды 602 М.
Postgres just got even faster
26:42
Hussein Nasser
Рет қаралды 22 М.
Part 3   Using ASP NET Session State in a Web Service
15:41
kudvenkat
Рет қаралды 164 М.
jquery ajax call to web method in asp.net c# to save details
15:38
Calling aspx page method using jquery
11:12
kudvenkat
Рет қаралды 83 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 7 МЛН