Hello.

I right-clicked on a a view (Views/input/index.vbhtml) and chose "set as start page".
But it always gave me an error on the browser (The resource cannot be found.)

I have to manually enter the url localhost:xxxxx/input/index for it to work.

I've already checked routeconfig.vb and it's ok

routes.MapRoute(
            name:="Default",
            url:="{controller}/{action}/{id}",
            defaults:=New With {.controller = "input", .action = "index", .id = UrlParameter.Optional}

Where can I correct this once and for all?

thanks

found it.

project -> properties -> web
[has to be current page, this way routeconfig is respected]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.