Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

152
Views
How to generate a dynamic URL/View on C#/JavaScript without creating many specific views?

I'm making some kind of music explorer, let's say this is my url:

https://localhost:44322/Music/ListOfArtists.aspx

And of course there are many artists and I'd want to be able to generate a view that works for every artist, instead of creating a view for each artist. I can create a general view and just modify the data displayed in the page, so the url would look like this:

https://localhost:44322/Music/ListOfArtists/Artist.aspx

But I want the URL to also show the name of the artist instead of Artist.aspx like:

https://localhost:44322/Music/ListOfArtists/Eagles.aspx
https://localhost:44322/Music/ListOfArtists/ABBA.aspx

It'd also mean that whenever I type the name of the artist on the URL I'd get redirected to such artist, I remember I ever did something like this many years ago using PHP and JavaScript but can't remember exactly neither know how to achieve this using C#, but I used something like this somewhere:

url/{menu_id}/{artist_id}

Do you know how can I do this?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!