I usually create my sites in MVC
using the default template that comes in Visual Studio
.
Today I created a new project without using a template, and when I tested it, I got an error:
A default document is not configured for the requested URL, and directory searching is not enabled on the server.
I want to know how to set up the home page for my site.
Note: I only have HomeController
and Index.cshtml