Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3804510
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:31:47+00:00 2026-05-19T14:31:47+00:00

Just starting with JQuery. I have a couple of questions When to use webmethods

  • 0

Just starting with JQuery. I have a couple of questions

  1. When to use webmethods ,webservices , page methods , ashx
    files in an ASP.NET 2.0 website ?

  2. If I were designing an application where I’d use the webmethods on
    multiple pages should I replace them
    with a webservice ?

  3. I suppose they all do the same thing but when to use which approach?

Thanks, Damien.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T14:31:48+00:00Added an answer on May 19, 2026 at 2:31 pm

    I don’t use PageMethods anymore, but WebServices as it gives you a clean way to work with the data that you request. It also gives you the ability to use the data in other ways and in other places.

    Have a look at http://api.jquery.com/jQuery.ajax/

    To be more specific to your questions.
    1. I might be bias, but since iv’e starting using asp.net mvc (I know you are using asp.net 2.0 WebForms), but it gives you a better feeling of separation of concerns and cleaner design.
    PageMethods feels ugly for some reason right now. So, I’d personally advise against it and go with WebServices

    1. If you are using a method in more than 1 page and it’s generally to get data from an external provider such as a database or another webservice, it’s best to extract this method into a webservice.

    2. The approach I take is to think ahead just a little bit and don’t over engineer. Keeps things simple and clean.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

OK I am just starting out with jQuery. I have a page with a
I’m just starting to explore asp mvc and jquery. I have a simple form
Just starting out with ASP.NET MVC and have come across a stumbling block already.
While I'm just starting with ASP.NET MVC and jQuery, I cannot even solve a
I am just starting working with jquery and have encountered the following problem <div
I've just starting learning jQuery and AJAX. I'm able to load a local page
I am just starting a jQuery tutorial and I have a basic question on
I have just downloaded jQuery 1.7 for a brand new project I'm starting. After
I have a JQuery modal popup form on a classic ASP page. It's set
I am just starting to learn jQuery and have gotten some of the basic

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.