Description
I am using Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.8.0 Preview 1.0
I have installed the latest .NET8 SDK Version="8.0.0-rc.1.23421.29"
I implemented PersistenceProvider": "SqlServer and the system built the database ok. I logged in and went to Administrator and created 1 blog and submitted ok. However returning to the dashboard an unhandled exception error was encountered. After each restart the same error.
Just to get things working I tracked down the problem to: LinkDotNet.Blog.Domain BlogPost.cs line 28:
public IReadOnlyCollection Tags { get; private set; }
I changed this to:
public IList Tags { get; private set; }
This created a build error in: LinkDotNet.Blog.Web.Controller RssFeedContoller.cs line 98:
s => new BlogPostRssInfo(s.Id, s.Title, s.ShortDescription, s.UpdatedDate, s.PreviewImageUrl, s.Tags),
I changed this to [add explicit cast]:
s => new BlogPostRssInfo(s.Id, s.Title, s.ShortDescription, s.UpdatedDate, s.PreviewImageUrl, (IReadOnlyCollection<string>)s.Tags),
Then all worked.