Tutorial 1: Your first application (Legacy)

Prerequisites

Downloads

Vidyano Sample database

Installation

Extract and run the Sample database installer to deploy the database to your local SQL Server. This tutorial assumes that you keep the default name for the database "MyCRM".

Tutorial

Step 1: Creating a new Vidyano Project

Launch Visual Studio 2017 or higher. From the File menu, select New ▶ Project.

From the templates on the left, select Visual C# ▶ Vidyano.

Choose Vidyano Application,give your project a Name and click OK.

Step 2: Name and protect your new application

Give your App a Title and provide an administrative Password to secure the backend. Make sure to pick a secure password.

Click Next to continue.

Step 3: Select the target database

On this wizard step you need to select the database that holds your application data.

Click on the Browse (...) button next to the Connection String input field.

Select the MyCRM database that you installed in the prerequisites step of this tutorial.

Click OK.

Click Next to continue.

Step 4: Select the repository database

Vidyano will store some metadata in repository tables. Select the database where these tables will be created.

By default the connection string above will be the same as your target database, in this case MyCRM.

Optionally you may also select a separate database to store the repository data as to not make any changes to the target database that may be used by other applications.

Click Go ! to continue.

Step 5: Let Vidyano set up your application

At this point, Vidyano is setting up your project.

During set up you might get a message dialog asking if you want to search for TypeScript typings, you can select No.

Step 6: Launch your newly created application and sign in

Press ctrl+f5 or click the ► button on the toolbar to start your application.

Use admin as your user name and the password you entered in step 2.

Step 7: Add a menu item

Now that you are in, let's add a menu item to see the customers on the database.

On the menu, click Add menu item.

Select Customers and click OK.

Wait for the application to reload and click Customers.

Congratulations, you just created your first Vidyano application!

Last updated

Was this helpful?