Project

Getting Started

In this tutorial, we will create a new project using the ASP.NET Zero & JQuery. We will create a simple phone book application that allows users to manage their contacts. We will create the project, run it, and log in to the application.

Creating & Running the Project

We're creating and downloading the solution named "Acme.PhoneBookDemo" as described in Getting Started document. After opening solution in Visual Studio, we see an NLayered solution that consists of eight projects:

Solution Overall

Also, run database migrations, create the database and login to the application as described in Getting Started document. After all completed and logged in to the application, we see a dashboard as shown below:

Dashboard

Logout from the application for now. We will make our application single-tenant (we will convert it to multi-tenant later). So, we open PhoneBookDemoConsts class in the Acme.PhoneBookDemo.Core project and disable multi-tenancy as shown below:

public class PhoneBookDemoConsts
{
    public const string LocalizationSourceName = "PhoneBookDemo";

    public const string ConnectionStringName = "Default";

    public const bool MultiTenancyEnabled = false;

    public const int PaymentCacheDurationInMinutes = 30;
}

Next

Contributors


Last updated: September 11, 2024 Edit this page on GitHub
In this document