You never access the View file directly.
Correct is to access the Action of each Controller . For example, if I have a Controller named ProdutosController
and an Action named Index
, the route will be:
http://localhost:53710/Produtos/Index
There are also standard routes. They are usually defined in the RouteConfig.cs
file, App_Start
directory.
A zero-configured project is set to HomeController
as Controller and Index
as Action . You can change it if you like.
EDIT
Since you only have one Controller created, you can access it using:
http://localhost:53710/Categorias
Or
http://localhost:53710/Categorias/Index