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

  • Home
  • SEARCH
  • 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 120955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:53:36+00:00 2026-05-11T03:53:36+00:00

In the path: Format: http://mydomain.com/ {category}/{subcategory}/{pageNumber}/{pageSize} Example: http://mydomain.com/books/thriller/3/25 In the querystring: Format: http://mydomain.com/ {category}/{subcategory}?

  • 0

In the path:

Format: http://mydomain.com/{category}/{subcategory}/{pageNumber}/{pageSize}

Example: http://mydomain.com/books/thriller/3/25

In the querystring:

Format: http://mydomain.com/{category}/{subcategory}? pageNumber={pageNumber}&pageSize={pageSize}

Example: http://mydomain.com/books/thriller?pageNumber=3&pageSize=25

I like having everything on the path, but my problem with that is that while it is obvious (or at least somewhat obvious) what ‘books’ and ‘thriller’ are in first example, the ‘3’ and ’25’ seem pretty arbitrary by contrast.

Is there a canonical method for determining what goes where in MVC, or is it really just up to the dev?

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T03:53:36+00:00Added an answer on May 11, 2026 at 3:53 am

    I prefer things like pagenumbers to be in the querystring variables. I think there’s a difference in descriptiveness between

    http://mydomain.com/books/thriller?pagesize=50&page=4 

    and

    http://mydomain.com/books/thriller/50/4 

    The point (to me) of having clean url’s is for them to be more descriptive and readable, and I find the first example to be just that.

    One interesting point made byJohnRudolfLewis is:

    One rule of thumb that I follow is that if the argument is required, consider using the path, if the argument is optional, always use querystring arguments.

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

Sidebar

Ask A Question

Stats

  • Questions 65k
  • Answers 65k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Check out Smush.it! It will strip all un-necs info from… May 11, 2026 at 11:18 am
  • added an answer This isn't just an issue about generics. If you say:… May 11, 2026 at 11:18 am
  • added an answer The password is probably SHA1 encrypted. Basically what you have… May 11, 2026 at 11:18 am

Related Questions

In the path: Format: http://mydomain.com/ {category}/{subcategory}/{pageNumber}/{pageSize} Example: http://mydomain.com/books/thriller/3/25 In the querystring: Format: http://mydomain.com/ {category}/{subcategory}?
Is there a way to get the path for the assembly in which the
Delphi sometimes adds {$R *.res} in front of the unit path in the .dpr
In ruby the library path is provided in $: , in perl it's in
I can set the PHP include path in the php.ini : include_path = /path/to/site/includes/
How can I have a relative path in the web.config file. This value is
How do I get the path of the directory in which a Bash script
In a web-app I'm writing, the user is supposed to enter the path in
Where is the setting in Visual Studio 2003 to set the include path for
I am having trouble setting the path to jquery in an mvc app. In

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.