I have a web service that looks like this:
public class TheService : System.Web.Services.WebService { [WebMethod(EnableSession = true)] public string GetData(string Param1, string Param2) { ... } }
In other words, it is contained in one class and there, I have one public method, and there is another private method that reads in the database.
The problem I'm facing is scalability. I am creating a web application that should work for 1000 daily users, and each user will make about 300-500 calls per day to the web service and, therefore, from 300,000 to 500,000 requests per day. I need to add 9 more calls to the web service. Some of these calls will be associated with a database record.
My question is this: I better create 9 separate web services or continue working with one service that I have and add other methods. Or maybe something else and better. I plan to deploy the application to Azure, so I'm not really worried about the hardware, but just part of the application.
source share