Routing comes out with / at the end of the asp.net URL WEB FORM

1

When I route my url, it comes out in the following way (locally)

  

localhost: 7876 / Camino

But when I upload it, it looks like this: (server)

  

pagina.web.com.pe/Camino /

I would like the last "/" not to come out, could someone tell me if I fail or have to see? I appreciate your help. I searched in some forums they told me to put it in a folder but not why, or such because the server does not have https?

namespace LVehicular
{


 public class Global : HttpApplication
    {
        void Application_Start(object sender, EventArgs e)
        {
            // Código que se ejecuta al iniciarse la aplicación
           // BundleConfig.RegisterBundles(BundleTable.Bundles);
           // AuthConfig.RegisterOpenAuth();
            RegisterRoutes(RouteTable.Routes);
        }

    protected void RegisterRoutes(RouteCollection routes)
    {
        routes.MapPageRoute("Camino",
            "Camino",
            "~/Default.aspx");
    }
    
asked by Franco Vargas Perez 27.12.2018 в 15:16
source

0 answers