title: Properly exposing C# methods to jQuery
body: <p>I would like to ask a question. </p>
  
  <p>Recently, I've learned how to make jQuery use C# methods via consuming from an ASP.NET Web service. I am thinking of exposing some database access methods such as retrieving a list of records from the database for rendering using a jQuery library.</p>
  
  <p>I have on top of my head is that I create a separate project in my solution, which is a Web service project to be able to expose the said data access methods (<em>located on a separate project also in the solution</em>). The web service will act as interaction between my jQuery and my data access methods. </p>
  
  <p>I am visualizing my idea like this:</p>
  
  <p><img src="https://i.stack.imgur.com/Cc3n4.png" alt="What I envision..."></p>
  
  <p>My question is that, is my idea a good thing to do, and if not, how do you properly expose C# data access objects for use with jQuery? </p>
  
  <p>Thanks!</p>
  
  <p>EDIT: The Web UI is an ASP.NET Web Forms, specifically version 2.0. I'm doing this in preparation to my next job. </p>