Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

146
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda