Doubts with the ASP.NET MVC view system (C #)

1

I'm developing an image bank with Microsoft ASP MVC ASP.NET, and I have a question, studying the competition, I realized that when you click on an image within the search result, or they pass a parameter to the view so : Sofarsogood,Icandoit,butIdonotthinktheurlgetsugly,andIdonotknowifthisisthedevelopmentstandard.

Orinothercaseswhichinmyviewisthemostcorrect,theysimplydothis,whichIdonotknowhowtodescribehowitworks In ASP.NET MVC it is possible to pass a parameter as if it were a view type like this last image? because then I think it gets cleaner, I would like to know the name of this resource, because I could not find any key word that touched on the subject. Thanks in advance.

    
asked by anonymous 24.05.2017 / 22:11

2 answers

1

Search for MVC routes and how to hide the ID.

This link can help you with this:

link

link

    
24.05.2017 / 22:55
-1

Take a look at the Method documentation File .Encrypt

    
24.05.2017 / 22:36