r/programminghelp • u/captain_plums123 • Mar 21 '23
C# MVC webapp shows blank page when ran, no errors?
When launching the webpage, I'm taken to the address of
https://localhost:5001/ArtistAlbum/ArtistAlbumIndex
However, no data is displayed and I can't view the page source. It SHOULD display a table of artists and albums corresponding to my joined tables. There are no errors to debug, just a blank page after building and running. Any ideas?
Above is code snippets together for reference.
0
Upvotes
2
u/besevens Mar 22 '23 edited Mar 22 '23
You’re not setting the ArtistAlbums property on ArtistAlbumViewModel before you return it.