During .NET Technologies course we developed a simple Blazor Application in which we learnd the basics, like NuGet Packages, how to create pages, fetch data from an API, or how to manage databases inside a .NET project.
You have to insert your API key into the App.config file found in the Blazor Application project, so your configuration file should look like this:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="BaseUrl" value="https://api.themoviedb.org/3" />
<add key="ApiKey" value="1d92fq35390e7f3e169b9b47420bftfs" /> <!-- Your API key here. -->
</appSettings>
</configuration>You can obtain this key by creating an account at The Movie Database and after that generate your API key.
- Icons used in the application
- For creating modal in the application Blazored modal was used.
- Database management was done by following Bekenty J. Baptiste's tutorial.
Packages needed for manageing the SQLite database:
Install-Package Microsoft.EntityFrameworkCore.Sqlite
Install-Package Microsoft.EntityFrameworkCore.Design
Install-Package Microsoft.EntityFrameworkCore.ToolsGenerating the SQLite database from a class:
Add-Migration InitialCreate
Update-Database