Adding README

This commit is contained in:
Kira 2023-09-05 12:01:44 -07:00
parent 478ec77729
commit 02d8cc4097
3 changed files with 21 additions and 3 deletions

View File

@ -0,0 +1,7 @@
namespace Blazor_DotNet8_MovieApp.Data
{
public class MovieReviewDbContext
{
}
}

View File

@ -8,8 +8,8 @@
}
else
{
<div class="row">
<h1>@MovieItem?.Title</h1>
<div class="row">
<div class="col-6">
<img style="width: 100%" src="@MovieItem?.ImageUrl" alt="@MovieItem?.Title"/>
</div>
@ -31,9 +31,10 @@ else
{
await Task.Delay(1000);
if (!string.IsNullOrEmpty(Id))
if (Id != null)
{
MovieItem = MovieReviewService?.GetMovieById(Int32.Parse(Id));
int? id = int.Parse(Id);
MovieItem = MovieReviewService?.GetMovieById(id.Value);
}
}

View File

@ -0,0 +1,10 @@
Author: Kira Lynn Jiroux
Date: September 5, 2023
QUICK NOTE:
When running in VS, there is an issue with the browser certification,
which causes security complications with the actual runtime. This is
likely an issue with the Preview state of this DotNet version. However,
to get around this issue and to be able to run the application, change
the run to be from https -> http