RavenDB 2.x  Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Time for action – creating a new database

To begin using the Management Studio, we need to create a new database and populate it with the sample data. In this section, you will learn to create a new database using the Management Studio wizard form.

  1. Launch the RavenDB server using the Start.cmd command file.
  2. In the Management Studio, click on the Databases link.
  3. Click on the New Database button to open the Create a New Database wizard form.
  4. Enter Orders for the Name of new database and click on the Next button to create the new database.

What just happened?

We just created a new database named Orders using the Create a New Database wizard of the Management Studio.

In steps 1 to 3, we launched the RavenDB server and opened the Create a New Database wizard to create the new database.

After clicking on the Next button, the Orders database is created. It will become the current database and will be added to the hosted databases list.

Note

If the server has no hosted database, yet the Create a New Database wizard form will open automatically, otherwise, you have to click on the New Database button in order to open the wizard.