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 3678402
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:20:13+00:00 2026-05-19T03:20:13+00:00

I am learning .net and building a site that uses url routing. I have

  • 0

I am learning .net and building a site that uses url routing.

I have it working although when attempting to get data from a database i am having to pass a ID parameter such as:

services/{id}/{category}/{subcategory}

portfolio/{id}/{category}/{title}

blog/{date}/{id}/{title}

I have seen websites that do the same thing but they don’t appear to be passing an ID parameter, how do they acheive this?

if they wanted the information on a particular service as per the link above would you just run an SQL query looking for a match on the subcategory name or for a blog post you look for a match on the blog title and date?

It just seems a bit strange to me and if you have people adding blog posts etc there is always the slim possibility of more than one match.

Thanks for any help,

J.

  • 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-19T03:20:14+00:00Added an answer on May 19, 2026 at 3:20 am

    You can always check the name of your blog post url before you release it. If it exists, just add a “_1” or something. In addition they mostly include the date.

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

Sidebar

Related Questions

I am building a site in ASP.NET 4 and MVC2 that will have premium
I am learning ASP.NET MVC now a days and I have found that most
I am learning ASP.Net. I have a dynamically created ImageButton that I would like
I'm learning ASP.NET MVC Framework, From some articles like this , it seems that
As a learning exercise I'm building a basic scientific computation environment based on .NET.
I am learning ASP.NET and would like to know what are the must have
I'm learning asp.net mvc and found something interesting: It seems that I can't explicitly
I've recently been learning vb.net, coming from a background in java and c. I'm
I've just started learning ASP.net and I can't seem to get the GridView to
I'm building a simple site that allows users to post text content and I

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.