The Index ViewModel is the required default page for a web application and is the starting point for developers creating an MDriven web application.
What the Index ViewModel is
A ViewModel named Index is required in a web application. It is the application's default page.
For example, when you start a new application from the empty start model, the model contains an Index page together with the SysUser structure. You can use that page as the starting point for the application's first user-facing page.
Start a new model with an Index page
Use the empty start model when you want a minimal starting model that already includes the required page.
- Open Turnkey sample Empty start model.
- Download
File:DefaultEmptyModel.zip. - Use the model as the starting point for your project.
- Keep the ViewModel named
Indexin the web application. - Add the content appropriate for your application's starting page to that ViewModel.
Naming requirement
The default page is identified by the ViewModel name Index. Use that exact name for the required default-page ViewModel.
Do not confuse this page with the documentation index
This article describes the Index ViewModel in a web application. It is not the list of documentation concepts. For the documentation concept index and its Ring 1, Ring 2, Ring 2 Meta, and Ring 3 organization, see Education:TheIndex.
