0

I want to call a web method (job1) in an asp.net web service, then from within this webmethod call a procedure (job2) asyncronously. job 1 shouldnt have to wait for job2 to complete.

whats the best way to do this? (.net 4.5)

1
  • Can you provide some more context to this? Your question is rather vague. Do you have some code you've tried that doesn't work to share in your question? Commented Dec 5, 2012 at 14:11

1 Answer 1

1

Use jquery ajax function to call method of web service.

    $.ajax({ 
             url: "test.html",
             context: document.body,
             async: true
         });

by default async is true and this will call method asynchronously.

For calling store procedure asynchronously check the below link:

ADO.NET Asynchronous SQL Calls

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.