mercredi 29 juillet 2015

How do you hide a filename in the url with ASP.NET MVC?

I have a file called "index.html" that I don't want to convert to a View in my project. When I browse to this file, I see:

"http://ift.tt/OLCuVP"

in the browser's address window, but I would instead just like to see:

"mydomain.com"

How can I accomplish this in an ASP.NET MVC project?

Aucun commentaire:

Enregistrer un commentaire