Hi all,
I have to make a choice for a site where people trade stuff. So hopefully there will be thousands of items bought and sold and thousands of users bidding and commenting daily.
I already made two methods when submitting a new trade and both work but I have to keep one:
1) a new aspx page is dynamically created from a template. It inherits its own partial class from the code-behind file and it mentions a base class. On the common code-behind file, I add a partial class statement for that page inheriting from the base class.
Finally the base class inheriting from Page contains all the common methods and functions used on all this pages.
Pros:
- when a new trade is created, the title, description, submitter and location are written on the page so they won't have to be called from SQL each time someone accesses the page;
- at the moment X, there will be a few users accessing each page to bid or comment on that trade
Cons: I w ...
Go to the complete details ...