The following table details the ASP.NET Core code generators` parameters:
| Parameter | Description|
| ----------------- | ------------ |
| -m | The name of the model. |
| -dc | The data context. |
| -udl | Use the default layout. |
| -outDir | The relative output folder path to create the views. |
| --referenceScriptLibraries | Adds `_ValidationScriptsPartial` to Edit and Create pages |
Use the `h` switch to get help on the `aspnet-codegenerator razorpage` command:
```console
dotnet aspnet-codegenerator razorpage -h
```
### Test the app
* Run the app and append `/Movies` to the URL in the browser (`http://localhost:port/movies`).
* Test the **Create** link.
![Create page](../../tutorials/razor-pages/model/_static/conan.png)
* Test the **Edit**, **Details**, and **Delete** links.
If you get the following error, verify you have run migrations and updated the database:
```
An unhandled exception occurred while processing the request.
SqliteException: SQLite Error 1: 'no such table: Movie'.
Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(int rc, sqlite3 db)
```