NullReferenceException: Object reference not set to an instance of an object. MVC C#

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

I am trying to call assets in Razor View Page from localdb from path Pages/Catalog/Index.cshtml.

Getting nullreference.

Can someone please solve. See attached code.

To see error message. Start with IIS Express and go to link https://localhost:44308/Catalog

NullReferenceException: Object reference not set to an instance of an object.

[login to view URL]() in [login to view URL], line 20

20. @foreach (var asset in @[login to view URL])

.NET ASP.NET C# Programming Microsoft SQL Server MVC

Project ID: #18426545

About the project

2 proposals Remote project Active 5 years ago

Awarded to:

rinabuoy13

Hello, I am experienced c# expert. I can help with this task with quick turnaorund. Looking to hearing from you. Kind regards

$25 USD in 1 day
(41 Reviews)
5.7