hello its me again thanks its a very helpful video, but i have a question, how i pass the parameters required for the service response if "data" property in ajax call is used with auth params?
@DotNetRevanth8 жыл бұрын
Thanks + Joshué Santibáñez. Its a pleasure, for keeping your interest in watching and commenting. Let me understand your question, In video I have used the "User: user" for passing the parameters so you want to use "auth" instead of that?
8 жыл бұрын
hi, thanks for reply, but my question focuses on how to send additional parameters because the only parameters that are sent are: "User: user" and those are just the authentication parameters, but if my service needs to receive parameters to run the function within the service (public string helloWorld (int year) {}), for example. "User: user", "date: 2016", how do additional parameters added to send authentication parameters ?, hope my question is clearer, thanks!
@DotNetRevanth8 жыл бұрын
I got it +Joshué Santibáñez. Watch the video in the next series. 1. Sending multiple parameters to Web service using JS Ajax 2. Getting the response back from web service as class with parameters(earlier I have used only string). ********* Stay tuned SHARE, LIKE and SUBSCRIBE*********
8 жыл бұрын
thanks!!!
@DotNetRevanth8 жыл бұрын
Hi +Joshué Santibáñez. I thinks you are waiting for the video. Actually I have tight schedule with my office work. I will soon upload a video. Stay tuned. Thank you :)
@josefidalgo787 жыл бұрын
When clicking the "brnGetResponse" button does nothing, the ajax function probably gives error. If you click the url: "http: //localhost/AuthenticationInWebservice/Authentication.asmx/HelloWorld" Give an errorServer error in application '/ AuthenticationInWebservice'. -------------------------------------------------- ------------------------------ The request format is not recognized for the URL terminated unexpectedly in '/ HelloWorld'. Description: Unhandled exception while executing the current Web request. See the stack trace for more information about the error and its source point in the code. Exception Details: System.InvalidOperationException: The request format is not recognized for the URL terminated unexpectedly in '/ HelloWorld'. "NetworkError: 500 Internal Server Error - localhost/AuthenticationInWebservice/Authentication.asmx/HelloWorld" Can you help me
@DotNetRevanth7 жыл бұрын
Hi +Jose Fidalgo.. This is all about "Cross Origin Request/Resource Sharing (CORs)". Did you enabled it I have shown two different ways to enable it. If you still need any help let me know I will help you..
@josefidalgo787 жыл бұрын
Yes, I need your help. I tried to implement CORS, but I can't do it.
@DotNetRevanth7 жыл бұрын
Received your mail that the issue got fixed right. SUBSCRIBE to my channel stay tuned. Thank you