🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Index page
This page was created by Lars.olofsson on 2019-06-10. Last edited by Wikiadmin on 2026-07-29.

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.

  1. Open Turnkey sample Empty start model.
  2. Download File:DefaultEmptyModel.zip.
  3. Use the model as the starting point for your project.
  4. Keep the ViewModel named Index in the web application.
  5. 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.

Related topics

See also